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
  • getWalking.walk(area) is false?


    dominospizza

    Recommended Posts

    I'm getting into scripting and have come across one small problem. Basically the bot I'm writing works great until it doesn't.

    private Area area = new Area(x1, y1, x2, y2, 0);
    
    if (getWalking().walk(area.getCenter())) {
        log("We are walking");
    }

    Sometimes this works, and other times it doesn't can someone explain to me the conditions that have to be met for the player to walk to a certain area, and what to do when the player decides to sit there for 30 minutes because it doesn't want to walk?

     

    Usually it gets stuck in Lumbridge Bank.

    Link to comment
    Share on other sites

    I'm getting into scripting and have come across one small problem. Basically the bot I'm writing works great until it doesn't.

    private Area area = new Area(x1, y1, x2, y2, 0);
    
    if (getWalking().walk(area.getCenter())) {
        log("We are walking");
    }

    Sometimes this works, and other times it doesn't can someone explain to me the conditions that have to be met for the player to walk to a certain area, and what to do when the player decides to sit there for 30 minutes because it doesn't want to walk?

     

    Usually it gets stuck in Lumbridge Bank.

    Sometimes, when it gets stuck it means that there are no web nodes which you can fix by adding more (most likely a bit of a pain also in Lumbridge its most likely not a problem) also it sometimes has difficulties going up or down stairs for some areas which you could fix by adding in a simple interaction for climbing up or down the stairs.

    Link to comment
    Share on other sites

    To clarify, the lumbridge bank is kind of buggy with webwalking. You'll probably have to handle each case separate for the different floors and it should work.

    Link to comment
    Share on other sites

    To clarify, the lumbridge bank is kind of buggy with webwalking. You'll probably have to handle each case separate for the different floors and it should work.

    seem to have been fixed recently, tested it multiple times with my Wcer  :doge:

    Link to comment
    Share on other sites

    Thanks for the replies everyone

     

     

    seem to have been fixed recently, tested it multiple times with my Wcer  :doge:

     

    Do you know how recently it was patched? As I was having the issue last night.

    Link to comment
    Share on other sites

    Thanks for the replies everyone

     

     

     

    Do you know how recently it was patched? As I was having the issue last night.

    idk worked fine for me about 48h ago

    Link to comment
    Share on other sites

    I'm getting into scripting and have come across one small problem. Basically the bot I'm writing works great until it doesn't.

    private Area area = new Area(x1, y1, x2, y2, 0);
    
    if (getWalking().walk(area.getCenter())) {
        log("We are walking");
    }

    Sometimes this works, and other times it doesn't can someone explain to me the conditions that have to be met for the player to walk to a certain area, and what to do when the player decides to sit there for 30 minutes because it doesn't want to walk?

     

    Usually it gets stuck in Lumbridge Bank.

    Keep in mind that if the statement is true (which is true in case you are walking to the area) you will be flooded with log messages.

    Link to comment
    Share on other sites

    Keep in mind that if the statement is true (which is true in case you are walking to the area) you will be flooded with log messages.

     

    Yeah I use it for debugging purposes. It's a really weird bug in Lumbridge Bank sometimes the statement is true a lot of times though it's false.

    Link to comment
    Share on other sites

    • 2 weeks later...

    Yeah I use it for debugging purposes. It's a really weird bug in Lumbridge Bank sometimes the statement is true a lot of times though it's false.

    The Lumbridge Bank isn't defined by the Z-axis I guess, which makes it think you are "in" or "near" the bank even when you are on the ground floor. That's why someone here suggested you should handle the Lumbridge Banking by yourself :P

    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.