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
➜ Bug reports
➜ ColourNote issue with OmitFromOutput
|
ColourNote issue with OmitFromOutput
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Larkin
(278 posts) Bio
|
| Date
| Sun 29 Aug 2010 11:33 AM (UTC) |
| Message
| I'm using 4.58, and I noticed that some of my ColourNote calls got jumbled up. I created a brand new world with one trigger and was able to reproduce the behavior successfully.
What seems to do it is a combination of "omit from output," ColourNote, and send to script (not after omit). Here's my test trigger:
<triggers>
<trigger
enabled="y"
match="test 123"
omit_from_output="y"
send_to="12"
sequence="100"
>
<send>ColourNote("blue", "silver", "One", "yellow", "", "Two", "red", "", "Three")</send>
</trigger>
</triggers>
And, the printed output is "reeoThOneTw" with the colors placed as you would expect, so it's just the letters that are jumbled.
Hope this helps! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,166 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sun 29 Aug 2010 08:59 PM (UTC) |
| Message
| Fixed in version 4.59 [Commit 99c6eea].
It was going backwards through the style runs, but adding up the temporary column count (to grab the text) forwards. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Larkin
(278 posts) Bio
|
| Date
| Reply #2 on Sun 29 Aug 2010 09:00 PM (UTC) |
| Message
| |
| Posted by
| Twisol
USA (2,257 posts) Bio
|
| Date
| Reply #3 on Sun 29 Aug 2010 09:00 PM (UTC) |
| Message
| | Crazy. ColourNote has been around since 3.23 and nobody noticed this? |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | | Top |
|
| Posted by
| Nick Gammon
Australia (23,166 posts) Bio
Forum Administrator |
| Date
| Reply #4 on Sun 29 Aug 2010 09:13 PM (UTC) Amended on Sun 29 Aug 2010 09:15 PM (UTC) by Nick Gammon
|
| Message
| | It's the new stuff about keeping the ColourNote during omit from output. It pushes the style runs into a list before omitting, and then gets them back. That part is recent (version 4.54). |
- 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.
19,199 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top