kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
345 stars 332 forks source link

useWaypoint: Failed to use waypoint #735

Open SirYac opened 5 years ago

SirYac commented 5 years ago
18:12:04 (Yac-Hammer)  Error in Countess (pather.js #992) useWaypoint: Failed to use waypoint (Area: 1, Ping:110, Game: Hammerrun218)
18:12:07 (Yac-Hammer)  Error in Andariel (pather.js #992) useWaypoint: Failed to use waypoint (Area: 1, Ping:62, Game: Hammerrun218)
18:12:11 (Yac-Hammer)  Error in Travincal (pather.js #992) useWaypoint: Failed to use waypoint (Area: 1, Ping:109, Game: Hammerrun218)
18:12:15 (Yac-Hammer)  Error in Mephisto (pather.js #992) useWaypoint: Failed to use waypoint (Area: 1, Ping:109, Game: Hammerrun218)
18:12:19 (Yac-Hammer)  Error in Diablo (pather.js #992) useWaypoint: Failed to use waypoint (Area: 1, Ping:110, Game: Hammerrun218)
18:12:22 (Yac-Hammer)  Error in Pindleskin (town.js #2180) Town.goToTown: Failed use WP (Area: 1, Ping:78, Game: Hammerrun218)
18:12:26 (Yac-Hammer)  Error in Eldritch (pather.js #992) useWaypoint: Failed to use waypoint (Area: 1, Ping:78, Game: Hammerrun218)
18:12:29 (Yac-Hammer)  Error in Worldstone (pather.js #992) useWaypoint: Failed to use waypoint (Area: 1, Ping:78, Game: Hammerrun218)

Those problems started lately. Everything started around week ago, without any edit of pather.js file. As it started it happens very often: at around 30% of all runs. As you can see my ping isn't high at all when this happens.

When i open game window and pause bot everything goes back to normal (character is "teleported" to its original - server location) and bot continues to run. I am sure this issue is somehow due to bad-sync between kolbot and battle.net, but is there any way to fix this? Thank you very much :)

edit: I've switched to Internet connection and problem seems to be solved. I truly have no idea what was going on since both connections have almost no latency and are very high speed.

edit2: Problem is not solved. Still happens but not as often as before. It happens at around 10% of all runs now. Happens very ofter after Life Chicken. (kolbot joins new game and then gets stuck with this error) Code of after-life-checken error below:

06:32:23 (Yac-Lightning) Life Chicken (479/2700) to Spine Spawn the Mad in Chaos Sanctuary. Ping: 78
06:33:22 (Yac-Lightning)  Error in Pit (pather.js #992) useWaypoint: Failed to use waypoint (Area: 103, Ping:63, Game: Itsyacnow296)
06:33:58 (Yac-Lightning)  Error in Countess (pather.js #992) useWaypoint: Failed to use waypoint (Area: 103, Ping:78, Game: Itsyacnow296)
mrandros commented 5 years ago

I used a fix from limedrop, but about four-five days ago, mine started to get a lot of this again. Maybe it have something to do with the recent server maintaince

sunace commented 5 years ago

same here very annoying started about a week ago also I though it was network issues but other profiles will still be running with no issues while others are stuck with this error

Chrup commented 5 years ago

Same problem. It was started about 2/3 days ago. Min. is few issues per hour, sometimes 10-15 per hour which means for me almost 0 runs. What happens bros? :/

DarkHorseDre commented 5 years ago

I saw mine do the same as I was muling - bot was standing near drognan and i got the waypoint errors. I moved bot manually (without pausing) and he walked to wp but still didn't take it. then rollback.

it did the same with the errors, then rollback - about 3 times. then it continued. looks like its down to whatever is causing rollbacks?

sunace commented 5 years ago

have tried different networks myself some that I know are for sure no issues and high speed but I still come up with the issues just as in the op my error in the console pings are all under 100

DarkHorseDre commented 5 years ago

Yes, my pings are under 40. We haven't all suddenly experienced local network/internet issues. What I am saying is that it must be a server side issue/blizz change.

wbeston commented 5 years ago

def a desynch issue.. if you take manual control over the bot and path it in a4 for example towards outer steppes it'll fix the issue..

Seems like more randomness or more exaggerated paths need to be taken by the bot instead of the shortest path maybe? Making the bot 'go wider' to get to certain objects in town might fix this

I had seen a snippet of code online for Pather.js that seemed to program some sort of randomness when getting to waypoints, but it looked like it was for a completely different version of code

DarkHorseDre commented 5 years ago

Hey @wbeston - I've not studied it but the few times I've intervened I have forced the correction. When I pause and operate solo I don't get the issue.

I also notice the bot crashes after pausing a lot now, and also fails to pause mid-script more too but not sure if related...

jbost1 commented 5 years ago

Any way to increase the movement distance once a failed move to the WP has been made? Usually when I manually move off a distance, and let the bot go back to it, everything is fine.