Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Something wrong with plane?


    Kristoffer

    Recommended Posts

    For some reason 

    else if (player.getTile().distance(new Tile(2532, 3546, 1)) < 2) {
    

    returns true even after I climb down the ladder, is it not detecting the plane change or should I do this differently?

    Link to comment
    Share on other sites

    For some reason 

    else if (player.getTile().distance(new Tile(2532, 3546, 1)) < 2) {
    

    returns true even after I climb down the ladder, is it not detected the plane change or should I do this differently?

     

    I'm not sure if planes are accounted for in the distance calculation, I doubt it actually.

    Just  add a plane check :)

    Link to comment
    Share on other sites

    I'm not sure if planes are accounted for in the distance calculation, I doubt it actually.

    Just  add a plane check :)

    Botre is right, we don't account for plane in distance checks. :x

    I'll put it on my list of things to look at though. :)

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.