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
m59gar
Beginner


Joined: 19 Aug 2021
Posts: 14

PostPosted: Tue Oct 12, 2021 11:47 pm   

CMUD generating paths with non-standard exits surrounded by .( )
 
Generating paths from the mapper using #WAL or %pathexpand / %pathFrom with e,w,s,e,u,d etc all works fine. But when it's something like 'enter door' sometimes it gets 'enter door' correctly from the mapper.

Other times, it inputs .(enter door) and the whole thing falls apart because of course, the MUD doesn't recognize .(enter door) as a command.

Why's it doing this, and how do I get it to stop?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4689
Location: Pensacola, FL, USA

PostPosted: Fri Oct 15, 2021 8:59 am   
 
That is the shorthand in pathing to identify non-cardinal exits.
It's possible that your map thinks there is a door there when there isn't and is sending the wrong command.
_________________
Discord: Shalimarwildcat
Reply with quote
m59gar
Beginner


Joined: 19 Aug 2021
Posts: 14

PostPosted: Fri Oct 15, 2021 10:27 am   
 
I had to code a workaround by 'if the entry is =~ .~((*)~)' {%pat(1)} to strip the .( ) manually
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