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
➜ Suggestions
➜ negative plugin sequences that run before main world triggers
|
negative plugin sequences that run before main world triggers
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Sun 08 Mar 2015 05:35 PM (UTC) |
| Message
| | Currently the plugin sequence range goes from 0 to 10000, and all happen after the main world. Can we extend that to [-10000, 10000] and have negative sequences run before main world triggers? In the Aardwolf package a number of lines get omitted->StopProcessingTriggers(true)->simulated so the player never actually sees the original formatting, which can make writing world triggers difficult for those lines (a pattern that catches repeated info will fire twice instead of once) unless they get to catch only the reformatted ones. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sun 08 Mar 2015 10:26 PM (UTC) |
| Message
| StopProcessingTriggers
StopEvaluatingTriggers |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Sun 08 Mar 2015 11:00 PM (UTC) |
| Message
| |
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Sun 08 Mar 2015 11:40 PM (UTC) |
| Message
| I'm not sure about this line:
if (m_iStopTriggerEvaluation == eKeepEvaluatingTriggers)
Maybe it should be:
if (m_iStopTriggerEvaluation != eStopEvaluatingTriggersInAllPlugins)
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Fiendish
USA (2,558 posts) Bio
Global Moderator |
| Date
| Reply #4 on Tue 10 Mar 2015 10:25 PM (UTC) Amended on Tue 10 Mar 2015 10:27 PM (UTC) by Fiendish
|
| Message
| I agree that that line should be changed.
If the last negative plugin sets eStopEvaluatingTriggers but not eStopEvaluatingTriggersInAllPlugins then main will get skipped. |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #5 on Wed 11 Mar 2015 12:06 AM (UTC) |
| Message
| | OK, fixed that. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
20,590 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top