[317 RUSE] Error when adding new objects
Hey guys, so I've created some new objects in metaseq and I'm having trouble getting the object to spawn in game.
I've added the standard to both CustomObjects.java (client & server, as well as what I need in ObjectDef.java which I don't see the need in adding here).
When I get in game, the floor tile is set to unwalkable as if the object is there but it is invisible and upon relogging a random crate spawns where it should instead.
This is the error I receive;
Code:
java.lang.ArrayIndexOutOfBoundsException: 65534
at com.arlania.ObjectDef.forID(ObjectDef.java:181)
at com.arlania.ObjectManager.isObjectModelCached(ObjectManager.java:992)
at com.arlania.Client.updateSpawnedObjects(Client.java:14611)
at com.arlania.Client.mainGameProcessor(Client.java:6514)
at com.arlania.Client.processGameLoop(Client.java:5476)
at com.arlania.RSApplet.run(RSApplet.java:244)
at com.arlania.Client.run(Client.java:8940)
at java.lang.Thread.run(Unknown Source)
65534 is obviously the object ID, before telling me that it's too high I've also repacked it as 150 and I still get the same error but 150 > 65534.
ANY help would be greatly appreciated,
Cheers.