About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
szydell
Beginner


Joined: 06 Jan 2008
Posts: 14
Location: Poland

PostPosted: Sat Dec 20, 2008 6:41 pm   

[3.03a] problem with aliases parsing
 
hello

after converting 2.37 to 3.03a cmud + dooing anything with configuration of new one i have strange problem with many of my aliases.
Those whose 1st char is / are not parsed at all.

Does anyone have any idea how can i repair this?

-------
1. conversion seems to work great
2. after conversion everything works fine
3. if i try to :
- shutdown and start again cmud
- reconfigure mapper
/name aliases are not working at all (the rest is ok)

i have unchecked class char in settings
Reply with quote
szydell
Beginner


Joined: 06 Jan 2008
Posts: 14
Location: Poland

PostPosted: Sat Dec 20, 2008 6:58 pm   
 
I started cmud again. Of course / aliases were not working.

after 10 minutes afk i tried to use some of them again and everything works fine.

i did restart and again not parsing. Shocked
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Dec 20, 2008 11:49 pm   
 
You shouldn't be using non-alpha characters (except for _) in your alias names. That they ever worked at all is pure luck.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sun Dec 21, 2008 11:40 pm   
 
By default the '/' is used as a class character. As long as that character is enabled then aliases containing that character should not be usable. This is because anything containing that character should be causing a class lookup for an appropiate setting in the specified class.

If you are trying to call the aliases from the commandline then it is likely that the smart commandline, on finding no such alias, guesses you meant to have the '/' and surrounding text sent to the mud. Using it in a script should only cause the portion after the last / to be sent to the mud, as that is the part it considers the alias command to be, but don't quote me on this last point since I have never tested it.

There are actually 2 bugs here.
1. The '/' was permitted in the alias name.
2. Sometimes aliases with names containing '/' will be detected and used.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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