Try doing what this tutorial says: https://www.rune-server.ee/runescape...ile-limit.html
|
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;
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.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)
ANY help would be greatly appreciated,
Cheers.
Try doing what this tutorial says: https://www.rune-server.ee/runescape...ile-limit.html
Unfortunately my cache is already set up like this, so this wasn't it.
Any other ideas though? :O
Try debugging it, for example:
Go to ObjectManager.java and find isObjectModelCached(int i, int j) method
At the beginning put
So it should look like this:Code:if(i > 65533) { return false; }
Code:public static boolean isObjectModelCached(int i, int j) { if(i > 65533) { return false; } ObjectDef class46 = ObjectDef.forID(i); if(j == 11) j = 10; if(j >= 5 && j <= 8) j = 4; return class46.allModelsFetched(j); }
i had this issue before but packing the model with displees model editor seemed to do the trick
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |