extend the array?^though would also modify ur code.. dont think u want it to be lots of unused spots, and then start from 62.Code:modIcons
|
|

Hello so i was trying to load mu mod icons form the sprite cachetool so i added this
Code:for(int i = 62; i <= 71; i++){ modIcons[i] = cacheSprite[i]; }
But when i run the client i get this error
Code:java.lang.ArrayIndexOutOfBoundsException: 62 at client.loadExtraSprites(client.java:13101) at client.startUp(client.java:9939) at RSApplet.run(RSApplet.java:120) at client.run(client.java:6783) at java.lang.Thread.run(Unknown Source)
This is what it looks like inside the sprite packing
![]()

extend the array?^though would also modify ur code.. dont think u want it to be lots of unused spots, and then start from 62.Code:modIcons


Code:for(int i = 0; i < 10; i++) { modIcons[i] = cacheSprite[62 + i]; }
| « osrs control flow help | how to read/convert rs model in .dat » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |