I'm wondering how to properly remove fields from Player.java and making it reflect onto the player character's file correctly. I'll give the example of what I did.
In Player.java there is
Code:
public void setPrestigeLevel(int level) {
this.prestigeLevel = level;
}
public int getPrestigeLevel() {
return prestigeLevel;
}
public Prestige getPrestige() {
return prestige;
}
I removed that out of Player.java because I want to re-do prestiging my way and I don't need those fields there. (I know I could just leave them but that's not what I'm going for)
Whenever I restart and try to log in I get the "Invalid loginserver requested. Please try using a different world." along with this in the console:
Code:
ERROR! THREAD NAME: New I/O worker #1
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field com.rs.game.player.Player.prestigeLevel
---- Debugging information ----
field : prestigeLevel
class : com.rs.game.player.Player
required-type : com.rs.game.player.Player
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path : /player/prestigeLevel
line number : 327
version : 1.4.8
-------------------------------
[XMLFileManager] Recovering account: josh
(All the recovering account statement does is just try to copy the old player file from backups, not fix it in this issue)
Any help will be appreciated. Thank you.