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
demoneyoungblood
Apprentice


Joined: 16 Dec 2002
Posts: 114
Location: USA

PostPosted: Fri Dec 11, 2009 8:35 am   

Mapper configuration doesnt detect room names and description
 
Ok, so I have gone through the configuration settings, and tried to get it to auto detect a dozen of times. It is not working. I can get it to detect the exits, but that is about it. Any help would be appreciated.

Sample output:

-=[ The Temple of Solennir ]=-
The Temple of Solennir is where worshippers come to pay homage to the
immortals. There is a large row of statues which depicts the immortals, and
people are gathered around each and praying to their respective god or
goddess. To the north is the intersection of Glaynnyn and Temple Avenue.
Temple Avenue runs north and south through the town.

[Exits: south]

A large Glyph acts as a sanctuary for travellers.
Jaelen is here, ready to heal your wounds.


End sample
_________________
-Demone YoungBlood
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2307

PostPosted: Fri Dec 11, 2009 2:00 pm   
 
Is the room name always enclosed in "-=[", "]=-" ?
Reply with quote
demoneyoungblood
Apprentice


Joined: 16 Dec 2002
Posts: 114
Location: USA

PostPosted: Fri Dec 11, 2009 5:50 pm   
 
sadly, no.


There are several uniquenesses, below is a short list. There are others not included.

One town uses -=[ ]=-
The other uses [-[ ]-]
One unique area uses -+( )+-
*most* areas have no special symbols.
_________________
-Demone YoungBlood
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Dec 11, 2009 6:21 pm   
 
The rooms without special symbols should auto-configure just fine. To handle the other types of rooms, set up #TAG triggers, like this:

#TRIGGER {^-=~[ (*) ~]=-} {#TAG name %1}
#TRIGGER {^~[-~[ (*) ~]-~]} {#TAG name %1}
#TRIGGER {^-+~( (*) ~)+-} {#TAG name %1}

The extra ~ characters are needed to escape the literal [ and ( characters in your pattern since those characters are normally used for wildcards. The ^ at the beginning of the pattern tells CMUD the pattern always starts at the beginning of a line.

Once these triggers are set up, then run the Config/Reconfig menu in the mapper to reconfigure it.
Reply with quote
demoneyoungblood
Apprentice


Joined: 16 Dec 2002
Posts: 114
Location: USA

PostPosted: Fri Dec 11, 2009 6:33 pm   
 
Thanks Zugg, that worked.
_________________
-Demone YoungBlood
Reply with quote
demoneyoungblood
Apprentice


Joined: 16 Dec 2002
Posts: 114
Location: USA

PostPosted: Fri Dec 11, 2009 6:56 pm   
 
Ok... so I reset the mapper by deleting the dbm so that I could get a fresh start on things. Reconfigured it, got it to detect everything. Now when I click the "map" button and start walking... its not creating the map at all. It just loads up the direction queue down bottom. Any ideas?
_________________
-Demone YoungBlood
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Fri Dec 11, 2009 7:57 pm   
 
Do you have one room as a starting point? Just make one room and click on it and set your location there. Also remember you have to be in mapping mode, etc.
Reply with quote
demoneyoungblood
Apprentice


Joined: 16 Dec 2002
Posts: 114
Location: USA

PostPosted: Fri Dec 11, 2009 9:21 pm   
 
Yep, got one room created from configuring... set map mode, and walk around.... nothing happens
_________________
-Demone YoungBlood
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Fri Dec 11, 2009 9:42 pm   
 
And you said you ran Config > Reconfigure for the mapper?
Reply with quote
demoneyoungblood
Apprentice


Joined: 16 Dec 2002
Posts: 114
Location: USA

PostPosted: Fri Dec 11, 2009 9:46 pm   
 
i had wiped out the dbm, so i ran config, new configuration after tweaking the exits setup, got it to recognize the room names perfectly with the tag triggers from zugg, now its not actually mapping.
_________________
-Demone YoungBlood
Reply with quote
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Sat Dec 12, 2009 4:24 am   
 
make sure the config has the right prompt string. Typically if the direction queue is filling up it is because the mapper is not receiving its OK signal.
Reply with quote
demoneyoungblood
Apprentice


Joined: 16 Dec 2002
Posts: 114
Location: USA

PostPosted: Sat Dec 12, 2009 5:16 am   
 
Prompt:
(20164 21932/22087 8249/8372 *(none)* S)

Regex:
^\(\d+\/\d+ \/\d+ \/\d+ \*\(\w+\)\* \w+\)\s+
_________________
-Demone YoungBlood
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Dec 12, 2009 5:50 am   
 
You're missing the \d+ for 20164.

What your regex matches:
(21932/22087 8249/8372 *(none)* S)
_________________
EDIT: I didn't like my old signature
Reply with quote
demoneyoungblood
Apprentice


Joined: 16 Dec 2002
Posts: 114
Location: USA

PostPosted: Sat Dec 12, 2009 8:18 am   
 
wow, that was a horrible mispaste. hadnt noticed.

This is how the prompt looks:
(17782/21014 21368/21737 7160/8722 *(none)* S)

And this is the regex:
\((\d+)/(\d+) (\d+)/(\d+) (\d+)/(\d+) \*\(none\)\* (\a+)\)

Not sure how it got slaughtered.
_________________
-Demone YoungBlood
Reply with quote
Dumas
Enchanter


Joined: 11 Feb 2003
Posts: 511
Location: USA

PostPosted: Sat Dec 12, 2009 11:44 am   
 
Your first example had your regex looking for trailing spaces. Is there a space at the end of the prompt?
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