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 ➜ Nick, Question about output window & scrollback buffer...

Nick, Question about output window & scrollback buffer...

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


Pages: 1  2 

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #15 on Tue 09 Sep 2003 08:00 AM (UTC)
Message
Nick, I don't think your suggestion will work. Colouring triggers suffer from the same 'lag' that gag triggers do. There have been plenty of times I've seen certain lines in their original colour before the line is completely received, after which the trigger kicks in and changes the colour.

Using the same foreground and background colours by default, and then using colour triggers to "white-list" all approved lines... that sounds insanely complex, and would be error prone due to text with no 'newline', which would be "invisible" forever.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #16 on Wed 10 Sep 2003 10:31 PM (UTC)
Message
It doesn't matter if there is a lag, the line will be invisible until it is recoloured correctly (ie. black on black will be the default, *before* a trigger gets to it). Then the trigger changes it back to "normal" colours.

As for the initial prompts, the trigger could be disabled until you got past them - or you could have something that detects the "welcome" screen - after your name/password, and then changes the foreground/background colour to black on black. Depends on how much the spam is annoying you. :)

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #17 on Sat 11 Dec 2004 10:20 PM (UTC)
Message
Quote:

Is there no way to inhibit redraw of the window between the time new text arrives and the time triggers get done processing?


You can use the new behaviour for OnPluginPacketReceived to pre-process packets before they hit the main MUSHclient incoming text handler. There it would be possible to totally omit certain types of lines, as if they had never arrived.

- 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.


67,630 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

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.