change ur model header?
|
|
i just added a custom item but my client freezes when i spawn it its the first time im trying to add custom items
this is the error that popsup in the client Console
Pi source if u need to know
Code:Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 22494 at ItemDef.forID(ItemDef.java:31) at ItemDef.getSprite(ItemDef.java:984) at client.drawInterface(client.java:9073) at client.drawTabArea(client.java:2450) at client.drawGameScreen(client.java:8857) at client.processDrawing(client.java:9806) at RSApplet.run(RSApplet.java:117) at client.run(client.java:5297) at java.lang.Thread.run(Unknown Source)

change ur model header?


the item id is too high
1.) Item id "22494" is too high for your server so change it too any other id number low than 20,000.
2.) If you want to change it but don't want to change the id number to an item useful for the game go to your item.java file in the source/server side.
3.) press ctrl+f and search up "null". Use any null item ids that you want for your item.
4.) Save,compile,run.
[Today 05:35 AM] Verisimilitude: My new siggy
[Today 05:34 AM] Verisimilitude: Ikr
[Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'
| « Jar maker don't work | Help models wont load.. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |