Register forum user name Search FAQ

Gammon Forum

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 ➜ How to have trigger occur before next speedwalk?

How to have trigger occur before next speedwalk?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Kahenraz   (75 posts)  Bio
Date Sun 18 Mar 2018 10:11 AM (UTC)
Message
I'm using GMCP mapper for speedwalking. How can I set a custom tripper to prioritize before the next step?

For example, sometimes there is something on the ground as I walk by like a pile of gold. I made a trigger to pickup this gold but the trigger activates after I've already left the room. I'm assuming that this is because the speedwalk prioritized sending the next direction before the pickup action was sent.

How can I prioritize triggers so that my custom triggers occur before the next speedwalk?

Thank you.
Top

Posted by Fiendish   USA  (2,534 posts)  Bio   Global Moderator
Date Reply #1 on Sun 18 Mar 2018 01:08 PM (UTC)
Message
Quote:
I'm using GMCP mapper

You need to be a lot more specific than that. Give a link to the one you're using.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Kahenraz   (75 posts)  Bio
Date Reply #2 on Sun 18 Mar 2018 05:19 PM (UTC)
Message
https://github.com/nickgammon/plugins/blob/master/Materia_Magica_Mapper.xml
Top

Posted by Fiendish   USA  (2,534 posts)  Bio   Global Moderator
Date Reply #3 on Sun 18 Mar 2018 10:51 PM (UTC)

Amended on Sun 18 Mar 2018 10:58 PM (UTC) by Fiendish

Message
Great, thanks. My next question is: Are you making a world trigger or a plugin trigger? Because they fire at different times, and the ordering mechanism is different for them.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #4 on Mon 19 Mar 2018 03:33 AM (UTC)
Message
Kahenraz said:

How can I prioritize triggers so that my custom triggers occur before the next speedwalk?


I think the problem might be the order in which things are happening. For example if you have:


Room name
Description
Exits
Contents of room


And if the mapper is called to redraw the map on the Exits line, then if you are speedwalking it will start moving to the next room, before you see the contents, which might be the pile of gold.

What you might need to do is (somehow) defer telling the mapper you have changed rooms until you have seen its contents.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Kahenraz   (75 posts)  Bio
Date Reply #5 on Mon 19 Mar 2018 09:01 AM (UTC)
Message
Ahh, yes. That makes sense. Thank you. :)
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.


17,152 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.