 |
deathkitty Apprentice
Joined: 14 Apr 2008 Posts: 105
|
Posted: Sun Jun 15, 2008 1:16 pm
`* code in circleMUD/lexiMUD makes a beep for other MUD clients but not CMud? |
The `* code when put in chat in circleMUD/lexiMUD makes a beep for other MUD clients, but not CMud for some reason - is there any way to turn it on in CMud?
it's invisible when it's typed so there's nothing to trigger it, I am not sure how other peoples' mud clients detect it as a beep
Quote: |
ANSI COLOR COLORS COLOUR COLOURS
Usage: color [off | on]
If you have a color-capable terminal and wish to see useful color-coding
of information, use the COLOR command to turn coloring on or off.
> color off
> color on
You can use the following codes to produce colors:
`k = black `b = blue `g = green
`c = cyan `r = red `m = magenta
`y = yellow `w = white/gray `K = dark gray
`B = light blue `G = light green `C = light cyan
`R = light red `M = hot pink `Y = yellow
`W = white `^k = black bg `^b = blue bg
`^g = green bg `^c = cyan bg `^r = red bg
`^m = magenta bg `^y = yellow bg `^w = gray bg
`f = flash `` = `
`n = normalize `* = beep sound |
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sun Jun 15, 2008 1:41 pm |
I've never heard of this, and it sounds hugely annoying. I, for one, am glad it's off.
If you simply must have it, though, open the script debugger and turn on i messages. Copy the i message that's sent when this character's used so that we can see how the MUD is trying to get the client to beep and we'll see what can be done. |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Sun Jun 15, 2008 2:05 pm |
I am going to guess it done with the BELL control character. There is no way that I know of to trigger off of it. You should follow Fang's instructions so we check if my guess is right. Zugg could probably add an option for it, I just don't think anyone has ever asked.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Sun Jun 15, 2008 2:49 pm |
This is a little odd, I have yet to test it on a MUD but, in the command line at least %char(7) does beep.
Are you sure that you are reading this correctly?
The above is telling you that if you wish to send text to someone on the mud using ANSI colors that you would place
the appropriate code before your text. With the added option of making their speakers beep if you use the `*.
Have you requested that someone send you a beep on your MUD?
The debugger seems to be seeing the beep as <ESC>[31m which ends up being in dark red.
So are you receiving red lines from folks who are trying to send you a beep? |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
 |
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Sun Jun 15, 2008 2:54 pm |
Let me rephrase that.
I created an ANSI trigger with the pattern of %e with the value of.
line=%trigger
#show Fired
Then I went back and had a look at the value of the variable. It contained the <ESC>[31m
As Vijilante said the debugger itself does not appear to know anything has happened when the beep char is sent. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
 |
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Sun Jun 15, 2008 5:31 pm |
CMUD most certainly does respond to the ANSI Beep. I have it coded into my MUD and it works just fine. As does a MUD I play where if an immortal uses the "page" command it shows you this:
*Luna*
Where Luna is the Imm's name...
And it also initiates a BEEP.
So, your MUD's code isn't sending the proper ANSI sequence for BEEP, which, as Arminas pointed out, is because it is sending the ANSI sequence for dark red instead.
This was tested using CMUD 2.13, so I will allow for the possibility it was broken in new versions. However, the beep ability should only be allowed for immortals anyways. It can get very annoying if any ol' player can insert it into any line sent to the MUD. |
|
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
 |
|
|