Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved java.lang.ArrayIndexOutOfBoundsException: -1351

Author of MaxiBots
Joined
Dec 3, 2013
Messages
6,770
Code:
java.lang.ArrayIndexOutOfBoundsException: -1351
 at java.util.ArrayList.elementData(ArrayList.java:418)
 at java.util.ArrayList.get(ArrayList.java:431)
 at app.kP.catch(ndc:24)
 at app.kP.catch(ndc:268)
 at app.kP.move(ndc:133)
 at com.runemate.game.api.hybrid.input.Mouse.move(bg:98)
 at app.Zn.interact(jtb:12)
 at app.Zn.interact(jtb:195)
 at app.Zn.interact(jtb:252)
 at com.runemate.maxiscripts.looping.cooker.MaxiCooker.bank(MaxiCooker.java:160)
 at com.runemate.maxiscripts.looping.cooker.MaxiCooker.onLoop(MaxiCooker.java:135)
 at com.runemate.game.api.script.framework.LoopingScript.run(htb:239)
 at com.runemate.game.api.script.framework.AbstractScript.start(jnb:156)
 at app.bj.run(ukb:214)
This was 13 days ago so i'm not sure how useful it is but it occured at this line: booth.interact("Bank"); where booth has been null checked andbooth is defined as follow
final Npc booth = Npcs.newQuery().names(gui.getPlace().getBankerName()).visible().actions("Bank").results().nearest();
@Cloud
 
Engineer
Joined
Jul 28, 2013
Messages
2,776
Code:
java.lang.ArrayIndexOutOfBoundsException: -1351
 at java.util.ArrayList.elementData(ArrayList.java:418)
 at java.util.ArrayList.get(ArrayList.java:431)
 at app.kP.catch(ndc:24)
 at app.kP.catch(ndc:268)
 at app.kP.move(ndc:133)
 at com.runemate.game.api.hybrid.input.Mouse.move(bg:98)
 at app.Zn.interact(jtb:12)
 at app.Zn.interact(jtb:195)
 at app.Zn.interact(jtb:252)
 at com.runemate.maxiscripts.looping.cooker.MaxiCooker.bank(MaxiCooker.java:160)
 at com.runemate.maxiscripts.looping.cooker.MaxiCooker.onLoop(MaxiCooker.java:135)
 at com.runemate.game.api.script.framework.LoopingScript.run(htb:239)
 at com.runemate.game.api.script.framework.AbstractScript.start(jnb:156)
 at app.bj.run(ukb:214)
This was 13 days ago so i'm not sure how useful it is but it occured at this line: booth.interact("Bank"); where booth has been null checked andbooth is defined as follow
final Npc booth = Npcs.newQuery().names(gui.getPlace().getBankerName()).visible().actions("Bank").results().nearest();
@Cloud
I believe it's already been fixed in the next build.
 
Top