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 The planes of the start and destination coordinates must match

Joined
Nov 5, 2014
Messages
505
@Cloud

Code:
java.lang.IllegalArgumentException: The planes of the start and destination coordinates must match! (0 != 1)
 at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.(ytb:19)
 at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.build(ytb:171)
 at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.buildTo(ytb:233)
 at rm.CoN.execute(g:20)
 at com.runemate.game.api.script.framework.task.TaskScript.onLoop(ttb:19)
 at com.runemate.game.api.script.framework.LoopingScript.run(zpb:138)
 at com.runemate.game.api.script.framework.AbstractScript.start(ftb:160)
 at a.aI.run(hlb:7)
 
The Pip Collector
Joined
Sep 14, 2014
Messages
445
@Cloud

Code:
java.lang.IllegalArgumentException: The planes of the start and destination coordinates must match! (0 != 1)
 at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.(ytb:19)
 at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.build(ytb:171)
 at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.buildTo(ytb:233)
 at rm.CoN.execute(g:20)
 at com.runemate.game.api.script.framework.task.TaskScript.onLoop(ttb:19)
 at com.runemate.game.api.script.framework.LoopingScript.run(zpb:138)
 at com.runemate.game.api.script.framework.AbstractScript.start(ftb:160)
 at a.aI.run(hlb:7)
I get that in my Gilded Altar script as well even though the planes are the same. I think Bresenham Path has a problem
 
Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
@Cloud

Code:
java.lang.IllegalArgumentException: The planes of the start and destination coordinates must match! (0 != 1)
 at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.(ytb:19)
 at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.build(ytb:171)
 at com.runemate.game.api.hybrid.location.navigation.basic.BresenhamPath.buildTo(ytb:233)
 at rm.CoN.execute(g:20)
 at com.runemate.game.api.script.framework.task.TaskScript.onLoop(ttb:19)
 at com.runemate.game.api.script.framework.LoopingScript.run(zpb:138)
 at com.runemate.game.api.script.framework.AbstractScript.start(ftb:160)
 at a.aI.run(hlb:7)
Yeah unfortunately that's on us scripters. I've never encountered it myself but i'm guessing it's when a user starts the script while on a different plane to the coordinate the script is trying to walk to. The only real solution i can think of is checking the plane values of the player and the destination and if they're not the same don't try to walk and instead tell the user they need to be on the runescape surface for example
 
Joined
Nov 5, 2014
Messages
505
Yeah unfortunately that's on us scripters. I've never encountered it myself but i'm guessing it's when a user starts the script while on a different plane to the coordinate the script is trying to walk to. The only real solution i can think of is checking the plane values of the player and the destination and if they're not the same don't try to walk and instead tell the user they need to be on the runescape surface for example

Ah ok that makes sense
 
Top