Open Djongov opened 4 years ago
i get that when my pc lags / when i do too much stuff behind it. try to avoid overperformance of your computer
I think that's what the error suggested too which is weird because my PC is not overloaded at all.
Did you find a fix for this? started having the same issue. clean install didnt fix.
I got the same error message too. When it happened to me, it was when going from act 5 to act 1 (other directions seem to be fine), and the waypoint usually took longer than normal to load (my computer wasn't under load at all).
I didn't debug, but I suspect it is this while loop ended too fast and hit me.cancel()
(at line# 1001).
while (getTickCount() - tick < Math.max(Math.round((i + 1) * 1000 / (i / 5 + 1)), me.ping * 2)) {
if (me.area === targetArea) {
delay(100);
return true;
}
delay(10);
}
I don't quite understand the logic for the while loop, but I updated i + 1
to i + 3
seems to fix the issue. I assume this would allow longer time to load and have no side effects.
while (getTickCount() - tick < Math.max(Math.round((i + 3) * 1000 / (i / 5 + 1)), me.ping * 2))
Let me know if this makes sense.
Hey there,
The bot has been running fine without any changes for a long time. All of a sudden i started getting this Warnings (kolbot\libs\common\pather.js:1001) - Game not ready and worst of all is that this makes the character just stay there and do nothing.
I redownloaded the kolbot files and started from scratch but it still does it.