Why in the world is this happening to me? LOL
[Only registered and activated users can see links. Click Here To Register...]
How do I fix this?
Or will I need to backtrack on a lot of work I've done?
Printable View
Why in the world is this happening to me? LOL
[Only registered and activated users can see links. Click Here To Register...]
How do I fix this?
Or will I need to backtrack on a lot of work I've done?
Dont use ruse
make sure you got all the imports at the top
Code:package com.morytania.world.entity.impl.player;
import java.io.File;
import java.io.FileWriter;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.logging.Level;
import java.io.FileOutputStream;
import java.io.ObjectOutputStream;
import com.morytania.GameServer;
import com.morytania.util.Misc;
import com.morytania.world.content.ClueScrolls;
import com.morytania.world.content.skill.impl.construction.ConstructionSave;
import com.google.common.collect.Multiset.Entry;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
public class PlayerSaving {
Quote:
Originally Posted by Dildo 2h [Only registered and activated users can see links. Click Here To Register...]
I have all of them bro
[Only registered and activated users can see links. Click Here To Register...]
This is what the errors look like in eclipse...
I'm so confused...
[Only registered and activated users can see links. Click Here To Register...]
Those are not errors, just warnings.
If you put @Deprecated above a method it lets developers know not to use this method anymore because there is a better alternative or the method is declared unsafe (or for whatever other reason).
In your case to fix this you can use this:
EDIT:Code:Integer integer = Integer.valueOf(i);
replace:
with this:Code:new Integer(player.getAppearance().getBountyHunterSkull());
Code:Integer.valueOf(player.getAppearance().getBountyHunterSkull());
So I can continue my work and have no issues??Quote:
Originally Posted by excl150 [Only registered and activated users can see links. Click Here To Register...]
I would assume so but I'm not sure, I have never looked into Ruse. (and I don't know how well you can write code :p)
Quote:
Originally Posted by excl150 [Only registered and activated users can see links. Click Here To Register...]
Yes, yellow means warning and it will run fine regardless.Quote:
Originally Posted by OmegaX [Only registered and activated users can see links. Click Here To Register...]
The warning here is that there is no need to convert values because they already have the correct type.