1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved IllegalArgumentException caused by hover()

Discussion in 'Developer Support' started by SlashnHax, Feb 14, 2016.

  1. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,216
    Likes Received:
    1,043
    Code (Text):
    1. java.lang.IllegalArgumentException: The plane must be greater than or equal to 0 (-1 is not within those bounds)
    2.         at com.runemate.game.api.hybrid.location.Coordinate.<init>(xic:201)
    3.         at nul.iiiiiIiiiiIi.getPosition(fqb:100)
    4.         at nul.iiiiiIiiiiIi.getPosition(fqb:210)
    5.         at nul.IiIIIIiIiiii.toString(ymb:228)
    6.         at java.lang.String.valueOf(String.java:2994)
    7.         at java.lang.StringBuilder.append(StringBuilder.java:131)
    8.         at nul.iIIIiIiIiiIi.move(dtb:156)
    9.         at com.runemate.game.api.hybrid.input.Mouse.move(rnb:159)
    10.         at nul.iiiiiIiiiiIi.hover(fqb:17)
    11.         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()
    --- Double Post Merged, Feb 14, 2016, Original Post Date: Feb 14, 2016 ---
    @Cloud
     
  2. Best Answer:
    Post #2 by Cloud, Feb 15, 2016
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Fixed for the next release.
     

Share This Page

Loading...