Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Reverse Mapping on command.
Reverse Mapping on command.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Falgor
(36 posts) Bio
|
Date
| Sun 03 May 2020 08:22 PM (UTC) |
Message
| Is there a way to access the stored Reverse Route in the automapper?
Or a way to run it without having to open the Mapper function and clicking "Take reverse route"?
Thanks,
Falg | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Mon 04 May 2020 05:06 AM (UTC) |
Message
| What is the stored reverse route?
How about this:
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Falgor
(36 posts) Bio
|
Date
| Reply #2 on Mon 04 May 2020 08:41 AM (UTC) |
Message
| Yeah trying to reduce some lines of code so wondered if I could get it fresh from the client.
So in Game > Mapper
You are shown two boxes:
Current route.
Reverse route.
The above based on the steps taken since last clearing the Mapper queue. I can click "Take Reverse Route" to action the reverse speedwalk.
I wondered if there was a command to do this, rather than having to go into the Mapper window and physically clicking it.
I'm building it into my ports script, so once you reach a port it resets the Mapper so you can manually walk around an area - then return to the port at a command. Ultimately the goal is to be able to walk to any registered port from anywhere in the world.
Of course I could achieve this with the graphical mapper, but this plugin is far less work and caters for the amount of areas/special rooms in my world. | Top |
|
Posted by
| Falgor
(36 posts) Bio
|
Date
| Reply #3 on Mon 04 May 2020 09:12 AM (UTC) |
Message
| Oh, sorted.
Didn't realise there was a GetMappingString() function.
I'm just going to reverse that! Thanks. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
12,087 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top