Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
xtian
Novice


Joined: 16 Oct 2009
Posts: 37
Location: Germany

PostPosted: Sat Oct 17, 2009 9:53 am   

[3.10a] help: what is wrong with these MXP tags? not sending correct text
 
Hello again. I have also stumbled upon an issue where some MXP tags are properly displayed but clicking on the links does only send Linefeeds to the MUD, not the intendet text. Most of the tags work, some do not. This is an example of one that doesn't.
Please note that these tags _do_ work in other MXP clients, but also do _not_ in zMUD. I really don't know where the incompatibilities lie.

These are the Tags sent:

Ausgaenge: <exit exitdir='!Westen' exithint='Rundgang|Rundgang (!Westen)'>Westen</exit>: Rundgang,
<exit exitdir='!Osten' exithint='Osten|Gehen (!Osten)'>Osten</exit> und <exit exitdir='!Sueden' exithint='Sueden|Gehen (!Sueden)'>Sueden</exit>.


With the definition of <exit> being:

<exit '<send &exitdir; hint=&exithint;>' (exitdir=&text; exithint=&text;)>


This is the raw input:

0.0000 | Ausgaenge: <ESC>[1z<exit exitdir='!Westen' exithint='Rundgang|Rundgang (!Westen)'><ESC>[7zWesten<ESC>[1z</exit><ESC>[7z: Rundgang,<CR><LF>
0.0000 | <ESC>[1z<exit exitdir='!Osten' exithint='Osten|Gehen (!Osten)'><ESC>[7zOsten<ESC>[1z</exit><ESC>[7z und <ESC>[1z<exit exitdir='!Sueden' exithint='Sueden|Gehen (!Sueden)'><ESC>[7zSueden<ESC>[1z</exit><ESC>[7z.<CR><LF>
0.0001 | <ESC>[1m> <ESC>[0m<IAC><EOR>

now clicking on "Westen" yields:

7.1779 |
0.0008 | c avalon | [1] avalon Comline : start :
0.0395 | a avalon |
0.0028 | i avalon ><CR><LF>
0.0022 | d avalon | [1] avalon Comline : stopped

Please note the use of MXP_OPEN_SECURE_LINE and MXP_LOCK_LOCKED_MODE to enclose every tag.
At first I thought it would be a packet boundary issue, but it doesn't seem to look that way.

Also the ! Bangs are there, so that when the Clients sends the clicked-text back, the server will escape its more-paging. This is a standard with LDMuds, maybe also LPMuds.

Thanks for your help,
xtian

ps: Some quick translations:
westen = west
osten = east
sueden = south
ausgaenge = exits
gehen = to walk
rundgang = (round) tour
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Sat Oct 17, 2009 5:11 pm   
 
I'll try to look into this when I'm debugging CMUD later next week. Your example seems like something that should work. I can't do anything about the problem with zMUD, but I should be able to get it working in CMUD.

Have you tried changing the "History Character" in the CMUD Special Character preferences? I wonder if CMUD is taking the "!Osten" command and interpreting this as a local !history command instead of sending it to the MUD directly.
Reply with quote
xtian
Novice


Joined: 16 Oct 2009
Posts: 37
Location: Germany

PostPosted: Sun Oct 18, 2009 12:16 pm   
 
Ah, changing or disabling (+ opening the world tab anew) the history special character does resolve this issue. I didnt know about that.

I can probably work around that on the mudlib-level by not sending the ! to your clients. The question is if cmud should be parsing MXP commands that way? Naively I would say no. Hm.
Reply with quote
xtian
Novice


Joined: 16 Oct 2009
Posts: 37
Location: Germany

PostPosted: Sun Oct 18, 2009 3:04 pm   
 
Yes, when I suppress the ! from the mudlib side, everything works as expected in cmud and zmud. Except that there are no ! anymore, of course ;)
So this is deffinately it.
I will have to activate this suppression for old zmud clients and will leave it on for cmud clients until the time there is a fix for this, if you deem it worthy of really being a bug.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Oct 19, 2009 4:00 pm   
 
I'll add this to the list of MXP issues I'm working on today. I completely agree that sending the ! character via MXP should *not* be executing a history command.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net