Originally Posted by
Darklight RSPS
Issue with banking:
Object found to be non-existent: id: 6943 at x:3095 y:3491 z:0
Nothing to do with it in code? anybody know?
Originally Posted by
Stanniebeer
I'm having the same issue. Doors and banks (not sure of other objects) are wiped, and the items just show up null.
I did as instructed:
- Edited the config files in the cache with Tom's Cache Suite
- GZipped the index1 & index2 (Did this a lot of times already, so i'm sure this is not the issue)
- Replaced the itemDefinitions.xml with yours
Any idea what's wrong?
Found the fix.
In PlayerConstants.java, search for:
Code:
public static boolean isOverrideObjectExistance(Player p, int objectId, int x, int y, int z) {
this method is used to override the object being non-existent to the server and tells it that it's an actual thing and not just a blank object.
in there you will see a line looking something like this:
Code:
if ((objectId == 2072)
return true;
}
what you need to do is make that line say this:
Code:
if ((objectId == 2072) || (objectId == 6943) || (objectId == 6084) || (objectId == 10517) || (objectId == 11758)) {
return true;
}
now you want to navigate to WalkToActions.java and search up:
Code:
public static void clickObject
then add this with the other else if statements:
Code:
} else if ((id == 6084) || (id == 10517) || (id == 11758) || (id == 6943)) {
player.getBank().openBank();
return;
and, it's fixed.
You're welcome.
EDIT: You may not need to add the else if statement to clickobject. Server may already recognize the object and say OH HEY! ITS A BANK BOOTH!