 |
MRC Newbie
Joined: 09 Feb 2006 Posts: 4 Location: USA
|
Posted: Thu Feb 16, 2006 5:26 pm
Mapper can't always find the right room name |
When I enter a room, my mud displays a compass rose that shows the available exits. The name of the room is always on the same line as the middle of the compass, so I match the compass and tag the room name.
Example of mud output (ignore the periods... only included them for message formatting):
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. NW . N . NE
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\. |. /
The jungles of Ratgar . . . . . . . . . . . . . .W ---*--- E
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ./. |. \
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. SW . S . SE
my trigger:
#REGEX {^(.*)(\s+)W? -(?:U|-)-\*-(?:D|-)- (?:E)} {#TAG name %1} "#TAG"
For most rooms I've encountered this works fine. In one area, though, the mapper refuses to map anything. If I add the rooms manually, it will follow me through them in follow mode, but not in automap mode. If I copy the line of output with the room name in it (including the center line of the compass) and paste it into the test field in the trigger development window, it matches the room name correctly. If I reconfigure, though, the mapper includes the W ---*--- E as part of the room name. I thought that might have something to do with the problem, but I've no idea where to go from here.
Anyone?
PS Is there a way to format these messages so that multiple spaces don't get purged? (So that I can better represent my mud output...) |
|
|
 |
MRC Newbie
Joined: 09 Feb 2006 Posts: 4 Location: USA
|
Posted: Thu Feb 16, 2006 5:34 pm |
One more thing. I noticed that the directions don't stay in the que when I'm trying to map the area. But still, no new room is created. In case that helps anyone know what might be going on.
|
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
|
|
 |
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Fri Feb 17, 2006 11:20 am |
The code tags should allow you to post with formatting intact, e.g.
Code: |
NW N NE
\ | /
The jungles of Ratgar W ---*--- E
/ | \
SW S SE
|
|
|
_________________ Taz :) |
|
|
 |
|
|