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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Protagoras
Newbie


Joined: 30 Jul 2012
Posts: 1

PostPosted: Mon Jul 30, 2012 7:58 pm   

Automapper Configuration help
 
I just downloaded Cmud and am trying to get the automapper to work. Autoconfiguration will not detect the exits. I assume it has to do with them being in [] here is an example room.

Academy of Mythrandir
Academy Hallway
The hall extends to the east and west, the floor is covered in simple
carpeting. The walls are unadorned, save small oil lamps that illuminate
the hall. Two alcoves are set to the north and south of the hall.

[Exits: north east south west]
An academy chest is here, against the wall.

<216 180>



what should I do to get the mapper to recognize the exits? Currently it finds "An academy chest is here, against the wall." as the exit string.
Reply with quote
mikeC130
Apprentice


Joined: 03 Jul 2006
Posts: 108

PostPosted: Mon Jul 30, 2012 10:25 pm   Re: Automapper Configuration help
 
Protagoras wrote:
I just downloaded Cmud and am trying to get the automapper to work. Autoconfiguration will not detect the exits. I assume it has to do with them being in [] here is an example room.

Academy of Mythrandir
Academy Hallway
The hall extends to the east and west, the floor is covered in simple
carpeting. The walls are unadorned, save small oil lamps that illuminate
the hall. Two alcoves are set to the north and south of the hall.

[Exits: north east south west]
An academy chest is here, against the wall.

<216 180>



what should I do to get the mapper to recognize the exits? Currently it finds "An academy chest is here, against the wall." as the exit string.


You will want to use the #TAG command to grab the appropriate exit line.

Your pattern would be:

Code:
^~[Exits: (*)~]


Note, if there are any leading spaces before the opening bracket, you'll need to add them or just remove the caret.

Then the command to execute would just be:

Code:
#TAG exits %1


Once you create that trigger, run your mapper through a new configuration and you should be able to capture the correct line for exits.

Mike
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Jul 30, 2012 11:37 pm   
 
Several games use that format, making it more likely that your problem stems from the fact that you have a multiline room name. The advice is the same, though.
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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