What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

ComeTo() doesn't work - LastError.MoveUnknownError

Kenopief

New Member
Joined
Sep 27, 2015
Messages
2
Reaction score
0
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:
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:
Back
Top