Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, 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.
Entire forum
➜ MUSHclient
➜ Bug reports
➜ The ansi Code Isn't Working!
The ansi Code Isn't Working!
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ariel Schnee
(9 posts) Bio
|
Date
| Wed 23 Nov 2022 01:23 PM (UTC) |
Message
| This.
@@@
&VIEW-SIGN here=%r[ansi(c,[repeat(-,78)])]%r%r[center([ansi(fhg,OOC NEXUS)],78)]%r%r[center([ansi(fhg,LEVEL 2)],78)]%r%r[center([ansi(fhg,VENDING)],78)]%r%r[center([ansi(fhg,MACHINE)],78)]%r%r[center([ansi(fhg,STORE)],78)]%r%r[ansi(c,[repeat(-,78)])]%r
@@@
It's supposed to be flashing. It's not flashing. The bottom line of the room desc is this: "On the wall is a very colorful\, flashing\, neon [ansi(w,sign)]."
It's not flashing any though.
Please tell me how to fix this. | Top |
|
Posted by
| AdInfinitum
(74 posts) Bio
|
Date
| Reply #1 on Wed 23 Nov 2022 01:43 PM (UTC) |
Message
| This looks like it's custom code with custom functions. Unless we see what the custom functions do, it may be difficult to even attempt to resolve the issue.
Can you provide these custom definitions, and how you are attempting to display it? | Top |
|
Posted by
| Ariel Schnee
(9 posts) Bio
|
Date
| Reply #2 on Wed 23 Nov 2022 02:16 PM (UTC) |
Message
|
AdInfinitum said:
This looks like it's custom code with custom functions. Unless we see what the custom functions do, it may be difficult to even attempt to resolve the issue.
Can you provide these custom definitions, and how you are attempting to display it?
This isn't custom code. It's standard PennMUSH softcode. All of this is listed in the PennMUSH hardcoded help files.
@@@
@emit %r[ansi(c,[repeat(-,78)])]%r%r[center([ansi(fhg,OOC NEXUS)],78)]%r%r[center([ansi(fhg,LEVEL 2)],78)]%r%r[center([ansi(fhg,VENDING)],78)]%r%r[center([ansi(fhg,MACHINE)],78)]%r%r[center([ansi(fhg,STORE)],78)]%r%r[ansi(c,[repeat(-,78)])]%r
The above code produces this:
------------------------------------------------------------
OOC NEXUS
LEVEL 2
VENDING
MACHINE
STORE
------------------------------------------------------------
It centers it like it's supposed to. It shows the text as highlighted green as it's supposed to. It DOES NOT flash/blink the text like it's supposed to. It DOES flash/blink it on other clients. It DOES NOT flash/blink it on MUSHclient.
@@@
help repeat
@@@
help center
@@@
help ansi
@@@
help ansi() | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #3 on Wed 23 Nov 2022 05:29 PM (UTC) |
Message
| AFAIK, MUSHclient doesn't support flashing text. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Ariel Schnee
(9 posts) Bio
|
Date
| Reply #4 on Wed 23 Nov 2022 07:21 PM (UTC) |
Message
|
Fiendish said:
AFAIK, MUSHclient doesn't support flashing text.
WHAT?!
It really doesn't?
...
.....
Even old clients like MuckClient support flashing text ansi.
Honestly...
You really need to fix that now. | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #5 on Wed 23 Nov 2022 09:29 PM (UTC) Amended on Wed 23 Nov 2022 09:31 PM (UTC) by Fiendish
|
Message
| |
Posted by
| Nick Gammon
Australia (23,070 posts) Bio
Forum Administrator |
Date
| Reply #6 on Sun 27 Nov 2022 09:58 AM (UTC) |
Message
|
Ariel Schnee said:
Even old clients like MuckClient support flashing text ansi.
Honestly...
You really need to fix that now.
Personally I find flashing text quite annoying. Plus, it may trigger people with epilepsy problems.
It's also not easy to implement. You have potentially thousands of characters of text in the output window some of which you want to flash. That means that every half second or so certain ones of those (maybe hundreds) have to be replaced with spaces, and then put back, time and time again.
Meanwhile the text is most likely scrolling, so the exact location of the characters that have to be flashed will be continually changing.
The client does not support flashing text, by design. As I recall, it replaces it with italics to give a hint that this text may be more important than surrounding text.
Since the client's release in 1995, I think there have been the occasional complaint about the flashing not working. Hardly enough to get excited about.
Remember, the client is designed to deliver a good experience for MUD game players, not be a terminal emulator. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Nick Gammon
Australia (23,070 posts) Bio
Forum Administrator |
Date
| Reply #7 on Sun 27 Nov 2022 10:01 AM (UTC) Amended on Sun 27 Nov 2022 10:05 AM (UTC) by Nick Gammon
|
Message
| There are some good terminal emulators around, if that is what you want. Putty for example. They may not be great to play a MUD on, but they probably support flashing text.
https://www.putty.org/ |
- 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.
9,894 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top