dominospizza 4 Share Posted December 5, 2017 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 More sharing options...
Koschei 147 Share Posted December 5, 2017 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 More sharing options...
Xephy 237 Share Posted December 5, 2017 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 More sharing options...
Nex 2542 Share Posted December 5, 2017 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 Link to comment Share on other sites More sharing options...
dominospizza 4 Author Share Posted December 5, 2017 Thanks for the replies everyone seem to have been fixed recently, tested it multiple times with my Wcer Do you know how recently it was patched? As I was having the issue last night. Link to comment Share on other sites More sharing options...
Nex 2542 Share Posted December 5, 2017 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 More sharing options...
Xephy 237 Share Posted December 5, 2017 Oh forreal? @Nuclear Nezz, I thought you just ignored me you sly dog. Thanks for fixing it Link to comment Share on other sites More sharing options...
Cardozz 46 Share Posted December 5, 2017 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 More sharing options...
dominospizza 4 Author Share Posted December 5, 2017 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 More sharing options...
Cardozz 46 Share Posted December 14, 2017 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.