Hi!
After last update grind plugin LazyGrinder stopped working for me. The combat plugin does its job just fine as long as targeted mob is in range of attacking skills. But if mob is too far away to reach it from current position, bot wouldn't come to the mob.
Apparently ComeTo() returns fail setting LastError.MoveUnknownError. How do I debug/fix/walkaround the problem?
Any help would be appreciated.
My code is:
It works properly after last update. Pls close the thread.
After last update grind plugin LazyGrinder stopped working for me. The combat plugin does its job just fine as long as targeted mob is in range of attacking skills. But if mob is too far away to reach it from current position, bot wouldn't come to the mob.
Apparently ComeTo() returns fail setting LastError.MoveUnknownError. How do I debug/fix/walkaround the problem?
Any help would be appreciated.
My code is:
Code:
double distance = dist(me.target);
if (distance >= 20)
{
bool result = ComeTo(me.target, 3, 20);
if (!result)
{
Log("Distance was " + distance + ">= 20. ComeTo(me.target, 3, 20) returned " + result);
Log("LastError: " + GetLastError());
}
Thread.Sleep(1000);
}
It works properly after last update. Pls close the thread.
Last edited: