It runs to reset point if it is under attack. Because worldhopper has a longer timer than usual logout timer for switching worlds, it's hard to tell whether a crab will spawn half way through the routine and stall the worldhopping system. For this reason, as a failsafe, it will run to a safe distance before hopping. If you don't like this, you can always either raise the player limit or disable worldhopping but because worldhopping shouldn't happen too often, this shouldn't scrape the exp rate all that much. But if the player is not in combat and has not been for the past 10 sec, it will hop from where it is currently standing.
apa