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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Dyarrig
Newbie


Joined: 04 Jun 2002
Posts: 4
Location: USA

PostPosted: Wed Jun 05, 2002 5:44 pm   

Problems with '%e'
 
I play on Rivers of MUD.

Currently I have my prompt customized in the following manner:

prompt %h HP %v MV %m M %a (%g G/%s S) (%X TNL) %c%r %c
Resulting in :
34 HP 118 MV 106 M cold-hearted (27 G/1454 S) (17617 TNL)
By the Temple Altar


However, What I have in the button (i actually have a brief version of the prompt toggled) is the following;
prompt %h HP %v MV %m M %a (%g G/%s S) (%X TNL) %c%r @exitz %e %c

I also have a - #variable exitz %e - set.
Here are the conversions for each of the above.

%h : Display your current hits
%H : Display your maximum hits
%m : Display your current mana
%M : Display your maximum mana
%v : Display your current moves
%V : Display your maximum moves
%x : Display your current experience
%X : Display experience to level
%g : Display your gold held
%s : Display silver carried
%a : Display your alignment
%r : Display the room name you are in
%e : Display the exits from the room in NESWDU style

The problem is, the Exits are not being displayed because my system is somehow converting the %e to blank space prior to sending the command to the MUD.

Any suggestions on how to debug this? I would prefer to have the exits displayed as part of my prompt rather than as a stack of exits.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jun 05, 2002 7:01 pm   
 
You may be able to solve this by preceding the %e with a ~.
prompt %h HP %v MV %m M %a (%g G/%s S) (%X TNL) %c%r ~%e %c

LightBulb
Vague questions get vague answers
Reply with quote
Dyarrig
Newbie


Joined: 04 Jun 2002
Posts: 4
Location: USA

PostPosted: Wed Jun 05, 2002 8:53 pm   
 
Thanks Lightbulb,

That worked. However, I notice a secondary problem now due to that fix.

I use alot of triggers for emotes and combat. For example:
34 HP 118 MV 106 M nefarious (27 G/1902 S) (18920 TNL)
A Gnome Shop E
You are hungry.
em 's stomach groans loudly.

34 HP 118 MV 106 M nefarious (27 G/1902 S) (18920 TNL)
A Gnome Shop E Dyarrig's stomach groans loudly.

Prior to the fix, all MUD text, triggered emotes and the like would have a CR between the prompt and the text. Mow, all triggered responses do not have the CR and wrap into the prompt. This includes combat related text from the Mud as noted below;

34 HP 99 MV 106 M nefarious (27 G/1873 S) (19107 TNL)
A Gnome Shop E Your kicked dirt misses a gnome scientist.


Any suggestions?

Dyarrig.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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