Active Member
WoW Travel bot(for now...)
I'm working on my travel bot, and was wondering how you can make this code work once again, after I stop recording waypoints.
Code:
private void Run()
{
while (running)
{
if (om.DistanceTo(m_parent.wm.lastWaypoint()) >= 10f || m_parent.wm.waypoints.Count == 0)
{
m_parent.wm.waypoints.Add(new Location(om.X, om.Y, om.Z));
}
Thread.Sleep(0x10);
}
}
I have it running in a thread on it's own while I'm alt-tabbed into wow. I'm not sure how to do this, it throws the exception object reference not set to instance or w/e.
These ads disappear when you log in.