[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUDs
. -> [Folder]  General
. . -> [Subject]  Blinking Characters!

Blinking Characters!

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


Posted by Marco   (36 posts)  [Biography] bio
Date Mon 24 Apr 2017 05:00 AM (UTC)
Message
Hi Nick & Fiendish,
Incredible you are so active after so many years!

Short story: i used Zmud but i fall in love with regular expressions and lua (even though i have to learn a lot about the latter) so i decide to use MUSH.

You've done a so GREAT work guys...

PROBLEM: I'm playing a Diku MUD (Tempora Sanguinis II) that use special codes for colours and ""effects"" on characters (like underlined, inverted [background colour became the character colour], BLINKING, ..)

It is enough you put the string "" $cxyzz "" before the string and you'll get something different.

"zz" is the ANSI colour (from 00-15)
"y" is the background colour
"x" tell the MUD if you want something special

FOR EXAMPLE: $c0015 is bright withe character on black background
Sc5009 is BLINKING bright red character on black background.
BUT ... instead of a blinking character on MUSH i get an ITALIC character

Please Guys you've done a Majestic work here, i'm sure for you is a matter of a snap and few seconds to solve this matter.

PLEEEEEEAAAAASSSEEEEEEE!
[Go to top] top

Posted by Fiendish   USA  (2,514 posts)  [Biography] bio   Global Moderator
Date Reply #1 on Mon 24 Apr 2017 07:19 AM (UTC)

Amended on Mon 24 Apr 2017 07:20 AM (UTC) by Fiendish

Message
Quote:
i'm sure for you is a matter of a snap and few seconds to solve this matter

It isn't. Also that kind of statement belittles someone else's hard work. I can't speak for Nick, but I'd prefer that you not say things like that.


With that out of the way...

Blinking text is an abomination.

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Mon 24 Apr 2017 10:44 AM (UTC)
Message
Marco said:

Please Guys you've done a Majestic work here, i'm sure for you is a matter of a snap and few seconds to solve this matter.


Putting aside that I hate blinking text, it isn't a snap to solve. Normally text is drawn to a device context (ie. output window) and that can sit there for hours without changing. To make it blink you have to set up a timer, and remember the exact parts of the window that should blink, and then redraw them every second or so.

With a lot of text coming in from a MUD, and with timers having a low priority, the blinking might be intermittent at best. Maybe making it work properly would slow down everything else, to other people's annoyance.

Quote:

... you've done a Majestic work here...


One of the reasons it works so well is because of design decisions. Like, omitting blinking text. ;)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Marco   (36 posts)  [Biography] bio
Date Reply #3 on Mon 24 Apr 2017 02:10 PM (UTC)

Amended on Mon 24 Apr 2017 02:14 PM (UTC) by Marco

Message
Fiendish said:

It isn't. Also that kind of statement belittles someone else's hard work. I can't speak for Nick, but I'd prefer that you not say things like that.


With that out of the way...

Blinking text is an abomination.


Hahahaha... thank you Fiendish!
I have to say... i read the forum a lot, and i like very much your direct way! No joke here!
So,yeah, i apoligize: don't mean disrespect Nick works (and your also!).

Nick Gammon said:


Putting aside that I hate blinking text


:) Honesty is the fuel of the best relationship.

Nick Gammon said:

....it isn't a snap to solve.....

One of the reasons it works so well is because of design decisions. Like, omitting blinking text. ;)


Dear Nick, i'm so pleased you both answer so quickly!
Not a problem. I admit i suspect it was not that easy.
But, for a reason i cannot fully understand, i thought it was something you can recall from some API like Direct 2D or some sort of similar things.

So don't worry, i have a lot to do with complex branched regular expressions and Lua.

But, if you let me add something completely optional and, really, not so important, i would like also to ask about the "Buttons".

In the past i used this possibility only for marginal things and i remember those take away some part of the available screen, so there are also drawbacks.

But,... for what i remember it shouldn't be so difficult to introduce because Visual Basic and other operative system resources should put them on a silver plate.

Am i wrong?

P.S. love you guys!
[Go to top] top

Posted by Fiendish   USA  (2,514 posts)  [Biography] bio   Global Moderator
Date Reply #4 on Mon 24 Apr 2017 03:47 PM (UTC)
Message
What buttons are you asking about?

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Marco   (36 posts)  [Biography] bio
Date Reply #5 on Mon 24 Apr 2017 03:59 PM (UTC)

Amended on Mon 24 Apr 2017 04:49 PM (UTC) by Marco

Message
Fiendish said:

What buttons are you asking about?


The likes you can find in applications like Excel (you create and manage those with VBA).

Are graphical rectangle you can "left-press" with your mouse pointer and you get the instructions required like in an alias.

The only difference is instead of remembering the alias and write it, you simply click on the "button".

Usually you create few of such a "buttons" because you then have to place those on the left (or right) side of the screen, or locked those up in the command bar.

But, if you create too many, you'll run out of available screen very quickly.
[Go to top] top

Posted by Fiendish   USA  (2,514 posts)  [Biography] bio   Global Moderator
Date Reply #6 on Mon 24 Apr 2017 10:31 PM (UTC)

Amended on Mon 24 Apr 2017 10:33 PM (UTC) by Fiendish

Message
Oh. You used a definite article, so I thought you had specific buttons in mind, but I guess not.

Template:post=9359 Please see the forum thread: http://gammon.com.au/forum/?id=9359.

https://github.com/fiendish/aardwolfclientpackage
[Go to top] top

Posted by Marco   (36 posts)  [Biography] bio
Date Reply #7 on Tue 25 Apr 2017 06:00 AM (UTC)
Message
Fiendish said:

Oh. You used a definite article, so I thought you had specific buttons in mind, but I guess not.

(post=9359)


HUGE! More than expected.
Thank you.
[Go to top] 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.


21,418 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]