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
zeiuszeppo
Novice


Joined: 22 Nov 2001
Posts: 48
Location: Italy

PostPosted: Thu Nov 22, 2001 8:18 pm   

problem automapping
 
I cant automap correctly a room if it has
a blank line in. As this one:

Castle Entrance
The deathly chilling fog slowly parts to show you tower spires and a
crumbling castle. The iron gates before you are slick with slime and rust.
The gates creaks in the wind ...

Visible exits: North

The blank line makes the automapper not
lo log correctly the room.
How can I do?
Reply with quote
Castaway
GURU


Joined: 10 Oct 2000
Posts: 793
Location: Swindon, England

PostPosted: Fri Nov 23, 2001 9:05 am   
 
Hmm, what exactly does it not do? Anything at all? Are there also rooms without black lines? did you try a trigger "^$" -> #NOMAP?

Lady C.
Reply with quote
zeiuszeppo
Novice


Joined: 22 Nov 2001
Posts: 48
Location: Italy

PostPosted: Fri Nov 23, 2001 1:00 pm   
 
I made it, thanks!
but now I have another problem.
Sometimes the mud sends me lines after the prompt. How can I force zmud to split that line (containing prompt and the line) into 2 lines?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Fri Nov 23, 2001 1:05 pm   
 
The easiest solution is not not send more than one command to the MUD at once (command1;command2;command3) because I noticed that this is when what you described happens.

A little more elaborate solution would be:
#TRIGGER {~<(%d)/(%d)hp (%d)/(%d)m (%d)/(%d)mv~>(%*)} {#GAG;#SH ~<%1/%2hp %3/%4m %5/%6mv~>;#SH %7}

However this is may not always work perfectly. Also, notice that I used a generic prompt. Modify the pattern accordingly to match your prompt.

Kjata
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