- Joined
- Dec 18, 2014
- Messages
- 398
- Thread Author
- #1
@Cloud possibly a client bug.
(09:18:19) java.lang.ArrayIndexOutOfBoundsException
(09:18:19) at java.lang.reflect.Array.get(Native Method)
(09:18:19) at a.al.byte(ywb:131)
(09:18:19) at a.Gl.getComponent(whb:64)
(09:18:19) at com.runemate.game.api.hybrid.local.hud.interfaces.Interfaces.getAt(dwb:52)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.interfaceNext(RaysNatRunner.java:364)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.repairNPC(RaysNatRunner.java:343)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.repairNPC(RaysNatRunner.java:328)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.repairNPC(RaysNatRunner.java:328)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.repairNPC(RaysNatRunner.java:313)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.checkPouches(RaysNatRunner.java:197)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.onLoop(RaysNatRunner.java:124)
(09:18:19) at com.runemate.game.api.script.framework.LoopingScript.run(yhb:89)
(09:18:19) at com.runemate.game.api.script.framework.AbstractScript.start(plb:197)
(09:18:19) at a.sJ.run(clb:102)
Lines 362 - 373 of my code:
Line 343, which calls the method above:
I double-checked. The Development Toolkit indeed lists the Dark Mage InterfaceComponent from the lunar spell Contact NPC as [88, 6, 14].
edit: I also tried [88, 5, 14], which came out with the same error.
(09:18:19) java.lang.ArrayIndexOutOfBoundsException
(09:18:19) at java.lang.reflect.Array.get(Native Method)
(09:18:19) at a.al.byte(ywb:131)
(09:18:19) at a.Gl.getComponent(whb:64)
(09:18:19) at com.runemate.game.api.hybrid.local.hud.interfaces.Interfaces.getAt(dwb:52)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.interfaceNext(RaysNatRunner.java:364)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.repairNPC(RaysNatRunner.java:343)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.repairNPC(RaysNatRunner.java:328)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.repairNPC(RaysNatRunner.java:328)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.repairNPC(RaysNatRunner.java:313)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.checkPouches(RaysNatRunner.java:197)
(09:18:19) at com.raymondbl.runemate.natRunner.RaysNatRunner.onLoop(RaysNatRunner.java:124)
(09:18:19) at com.runemate.game.api.script.framework.LoopingScript.run(yhb:89)
(09:18:19) at com.runemate.game.api.script.framework.AbstractScript.start(plb:197)
(09:18:19) at a.sJ.run(clb:102)
Lines 362 - 373 of my code:
Code:
public boolean interfaceNext(int i, int k, int m)
{
if(Interfaces.getAt(i, k, m) != null) //error occuring here
{
if(Interfaces.getAt(i, k, m) != null)
{
return Interfaces.getAt(i, k, m).click();
}
else return true;
}
else return false;
}
Line 343, which calls the method above:
Code:
interfaceNext(88, 6, 14);
I double-checked. The Development Toolkit indeed lists the Dark Mage InterfaceComponent from the lunar spell Contact NPC as [88, 6, 14].
edit: I also tried [88, 5, 14], which came out with the same error.
Last edited: