Resuming Slow_Speedwalk with Previous Direction instead of Next Direction

Posted by Alaedrus on Tue 12 May 2020 04:28 AM — 3 posts, 13,799 views.

#0
I've had an issue come up recently where the speedwalk would be paused as normal, but then at the point after it resumes but before it moves to the next room an aggro mob walks in and proceeds to attack. The speedwalk still pauses, but then is no longer on the correct path (being one room behind where the speedwalk thinks you are).

A textual example would be something as follows:

[HP: 500/500]
Visible Exits:
>mobcheck
North
West
A corpse of a ghoul is here.
A corpse of a dullahan is here.

[HP: 500/500]
>No mobs!
>Leave
A Dullahan has arrived.
A Dullahan attacks you!
[*15*]

[HP: 485/500]
{Speedwalk resumed}
west
You can't do that while fighting.


The mobcheck fully evaluates before the dullahan arrives, and then proceeds to try to leave. However, because I get into combat before the speedwalk resumes, I end up losing my place in the speedwalk and the entire pathing crumbles.


My question then is there a way to put west into a variable and store that, and then activate a trigger to try and go that direction once again?
Australia Forum Administrator #1
Are you talking about the speedwalk plugin? If so, which variant? Link please.

Quote:

My question then is there a way to put west into a variable and store that, and then activate a trigger to try and go that direction once again?


Yes, virtually anything is possible.

It's a little hard to automate what you describe, because most of the time it works. You could just manually type "west" in this case, by reviewing where you would normally have gone.

If this is to make a bot that does its stuff while you are watching TV, well it is possible, but I'll leave it to you to make it work. I don't want to sound judgemental, but having bots running around automatically killing stuff and making in-game money 24/7 isn't really fair on players who are playing as real people. Some server operators frown on them.
#2
The one from 2008 from this thread: https://www.gammon.com.au/forum/?id=6008

And no worries. I understand many people's reservations for aiding others botting. While on this server it is allowed, I get it. Knowing it's possible to store and then call something like this gives me something to look for. Thanks!