High Revision Items Crash Client
I cache packed 667 items but when I try to spawn any item above 20100 or so my client crashes
Code:
Map Amount: 1226
Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 22554
at ItemDef.forID(ItemDef.java:391)
at ItemDef.getSprite(ItemDef.java:623)
at client.drawInterface(client.java:11374)
at client.drawTabArea(client.java:3144)
at client.drawGameScreen(client.java:11066)
at client.processDrawing(client.java:11939)
at RSApplet.run(RSApplet.java:194)
at client.run(client.java:6691)
at java.lang.Thread.run(Unknown Source)
Is there a way to increase the item limit? I went to Config and ItemHandler and increased the item limits there to 24000 but it still happens which makes me think it's client sided.
Went through itemdef and found this
Code:
//public static int ITEMAMOUNT = 18635; //18634 - 602
it was commented out so the itemamount would be handled elsewhere?