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 IllegalArgumentException caused by hover()

Joined
Dec 10, 2014
Messages
3,332
Code:
java.lang.IllegalArgumentException: The plane must be greater than or equal to 0 (-1 is not within those bounds)
        at com.runemate.game.api.hybrid.location.Coordinate.<init>(xic:201)
        at nul.iiiiiIiiiiIi.getPosition(fqb:100)
        at nul.iiiiiIiiiiIi.getPosition(fqb:210)
        at nul.IiIIIIiIiiii.toString(ymb:228)
        at java.lang.String.valueOf(String.java:2994)
        at java.lang.StringBuilder.append(StringBuilder.java:131)
        at nul.iIIIiIiIiiIi.move(dtb:156)
        at com.runemate.game.api.hybrid.input.Mouse.move(rnb:159)
        at nul.iiiiiIiiiiIi.hover(fqb:17)
        at com.slashnhax.bots.alpha.alpha_fighter_rewrite.tasks.combat.NpcAttacker.execute(NpcAttacker.java:54

The Npc I'm trying to hover is checked to be both not null and valid.

I get the same/similar error sometimes when sorting by distance, so I guess that it's caused by getPosition()
 
@Cloud
 
Top