Using notepad++, i saw that on logs some characters that my MUD sends are considered as nil.
If I do catch them with triggers, how do I see which ascii codes match those characters?
Ascii codes of unknown characters
Re: Ascii codes of unknown characters
http://forums.mudlet.org/viewtopic.php? ... ell#p11623
actually the problem is that specific one.
actually the problem is that specific one.
Re: Ascii codes of unknown characters
You can use perl regex pattern triggers in conjunction with selectCaptureGroup() to replace (or analyse the char using ascii = string:byte()) any non printable character except the 0 character. I wonder why your MUDs sends the 0 character especially because I wasn't able to reproduce it using the example in the other thread, but I'll make the main parser drop all 0 chars as of the next update so this will no longer be a problem.
Re: Ascii codes of unknown characters
The specific character must be something that produce a "spinning" effect on timers.
changing the following symbols =+**+=--= and so on.
In the telenet version, the one symbol is substituted with its following. Thus the spinning.
That character must be the one that mudlet doesn't recognise and place it as nil
changing the following symbols =+**+=--= and so on.
In the telenet version, the one symbol is substituted with its following. Thus the spinning.
That character must be the one that mudlet doesn't recognise and place it as nil
Re: Ascii codes of unknown characters
Necroing:
After I checked a similar topin on CMUD, it seems that the character the mud uses between the symbols is a CR character.
After I checked a similar topin on CMUD, it seems that the character the mud uses between the symbols is a CR character.
Re: Ascii codes of unknown characters
So to be more specific: This is from my notebook++
start of the timer is here<-
NUL NULNUL
NUL-
NUL=NUL+
NUL*
NUL
*Eviscerator* sends Hackett sprawling with a powerful bash!
NUL*
NUL+
*Gauner* tickles Jaggar's body with his pierce.
A Dha'vol trolloc barely cleaves Aang's body.
*Eviscerator* slashes Hackett's body hard.
*Graye* pounds Hackett's body hard.
NUL=NUL-
Aang sends *Eviscerator* sprawling with a powerful bash!
You dodge a bash from *Dimst* who loses his balance and falls!
NUL
NUL-NUL=
Your bash at *Dimst* sends him sprawling!<- the timer finishes.
I try to catch the trigger by typing
start of the timer is here<-
NUL NULNUL
NUL-
NUL=NUL+
NUL*
NUL
*Eviscerator* sends Hackett sprawling with a powerful bash!
NUL*
NUL+
*Gauner* tickles Jaggar's body with his pierce.
A Dha'vol trolloc barely cleaves Aang's body.
*Eviscerator* slashes Hackett's body hard.
*Graye* pounds Hackett's body hard.
NUL=NUL-
Aang sends *Eviscerator* sprawling with a powerful bash!
You dodge a bash from *Dimst* who loses his balance and falls!
NUL
NUL-NUL=
Your bash at *Dimst* sends him sprawling!<- the timer finishes.
I try to catch the trigger by typing
or
but nothing happens,
Re: Ascii codes of unknown characters
Latest git strips all null characters automatically. CR is also being stripped because the game cannot control the screen cursor (conceptually impossible). However, you could script fading effects like this yourself if necessary.
Re: Ascii codes of unknown characters
As I am not good at compiling stuff (I failed to do it when I tried before), is there any way to delete the NUL characters via scripting?
Re: Ascii codes of unknown characters
I'll make a new windows release in a couple of days anyways.