Page 1 of 1

waypoints and enter/exit house

Posted: Thu Dec 01, 2011 11:13 am
by botique
I made a little route passing by a housemaid. On the waypoint close to the housemaid I have

Code: Select all

player:sleep()
If I just hit the delete key, the rest of the route gets completed normally. However, If I manually enter and exit the house, going back to the point where the bot went to sleep, and then hit delete, the bot enters immediately in a stuck loop, never finds the next waypoint and the route never gets completed. What do I miss here?
I tried also

Code: Select all

player:sleep()
player:update()
with the same results.

Re: waypoints and enter/exit house

Posted: Thu Dec 01, 2011 12:16 pm
by rock5
The problem may have something to do with the fact that when player:sleep() is used, it doesn't completely stop. It's still checking for aggro and updating player. Try pressing "END" to pause the script before entering the house. Then, when you leave, press DELETE twice.

Re: waypoints and enter/exit house

Posted: Thu Dec 01, 2011 8:54 pm
by lisa
You could always just have entering house part of the WP.