|
szydell Beginner
Joined: 06 Jan 2008 Posts: 14 Location: Poland
|
Posted: 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 |
|
|
|
szydell Beginner
Joined: 06 Jan 2008 Posts: 14 Location: Poland
|
Posted: 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. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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.
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
|
|