Dab in a Lab Posted July 11, 2018 Share Posted July 11, 2018 [INFO][Bot #2][07/10 07:58:45 PM]: WebWalkingEvent; Fatal error! Cycles threshold reached on Walk => [x=3112, y=3260, z=0] Not sure what it means by cycles threshold reached, but the position it gives is a valid tile... my character can walk to it with no problems. Its only been happening last night and today. https://gyazo.com/8662d73739e16163068affd2f42e84bc Quote Link to comment Share on other sites More sharing options...
Alek Posted July 11, 2018 Share Posted July 11, 2018 Show code Quote Link to comment Share on other sites More sharing options...
Dab in a Lab Posted July 11, 2018 Author Share Posted July 11, 2018 (edited) 20 minutes ago, Alek said: Show code All of it, or just the part that gets called? This is what gets called though public void walkBackToD() { if (!getInventory().contains("Pot")) log("Walking back to Draynor bank"); getWalking().webWalk(draynorBank); new ConditionalSleep(250000,7500) { @Override public boolean condition() throws InterruptedException { return draynorBank.contains(myPlayer()); } }.sleep(); } It only happens every now and then, so its not a regular occurrence. Edited July 11, 2018 by Dab in a Lab Quote Link to comment Share on other sites More sharing options...
FrostBug Posted July 11, 2018 Share Posted July 11, 2018 (edited) 4 hours ago, Dab in a Lab said: All of it, or just the part that gets called? This is what gets called though public void walkBackToD() { if (!getInventory().contains("Pot")) log("Walking back to Draynor bank"); getWalking().webWalk(draynorBank); new ConditionalSleep(250000,7500) { @Override public boolean condition() throws InterruptedException { return draynorBank.contains(myPlayer()); } }.sleep(); } It only happens every now and then, so its not a regular occurrence. You're walking regardless of whether or not you have a Pot, but only write to logger if you don't have a pot.. I have a hard time understanding the logic behind this; but okay. The conditional sleep waits from the moment you've finished walking, up to 4 minutes.. Why? Nothing is gonna change once it's finished walking. This is not an async event. Edited July 11, 2018 by FrostBug 2 Quote Link to comment Share on other sites More sharing options...
Dab in a Lab Posted July 11, 2018 Author Share Posted July 11, 2018 (edited) 57 minutes ago, FrostBug said: You're walking regardless of whether or not you have a Pot, but only write to logger if you don't have a pot.. I have a hard time understanding the logic behind this; but okay. The conditional sleep waits from the moment you've finished walking, up to 4 minutes.. Why? Nothing is gonna change once it's finished walking. This is not an async event. Ya I noticed that I didn't have a bracket to include the webWalking when I submitted my reply, I fixed it in my script. I have a check in my onLoop for if I don't have a pot and my player is in draynorBank, and it calls another method I have called withdrawBank that deals with it. It might not be the most efficient or cleanest way to do it, but I haven't ran into trouble with the banking process. Just the weird tile thing that doesn't really make sense to me. Edited July 11, 2018 by Dab in a Lab Quote Link to comment Share on other sites More sharing options...
Ragboys is back Posted July 13, 2018 Share Posted July 13, 2018 This happened to me before when I was walking to an area (room) and it gets to the "border" of the area, but it's uncommon. Sometimes my script completely stops, sometimes my bot just stands at the "border" of the area for a few seconds (20, 30) and then re-start doing the stuff again Quote Link to comment Share on other sites More sharing options...
Dab in a Lab Posted July 13, 2018 Author Share Posted July 13, 2018 Still happening [INFO][Bot #1][07/13 01:13:31 PM]: WebWalkingEvent; Fatal error! Cycles threshold reached on Walk => [x=3112, y=3255, z=0] https://gyazo.com/ecd0ae4b6578b5021ad6964570145c2d Quote Link to comment Share on other sites More sharing options...