I am having a similer problem but with mine its not the length it just says Illegal name, try another when the name its saying this to used to work fine I just moved the files from one folder to another.
name is stalker it used to work but for some reason now it will not. It is still in the player folder but even if i delete it and try to start this character as a new one the same error. Where can I look for illegal names?
Always remember he who increses knowledge increses sorrow.
And he who thinks mudding is easy is allways sorry.
Amended on Fri 01 Apr 2005 01:28 AM (UTC) by Robert Powell
Message
You need to look in comm.c.
What i did was search the code for the error that the player receives, "Illegal name" and found this section of code, in the nanny function. Something to note here is that everything to do with a pc's login is just about done in the nanny function.
if ( !check_parse_name( argument ) )
{
send_to_desc( "{RIllegal name, try another.{x\n\r{GName: {x", d );
return;
}
So argument is being passed to check_parse_name to see if the name being given is valid (hope i said that right) and if the name is not a valid name then you get the error.
So this function check_parse_name is the one that says wether a name is correct or not. Have a look throught it and you will find a section that deals with string lengths.
Good Luck.
EldhaMUD Game Developments
The_Fury: Lead Developer, Head Coder
http://fury.eldhamud2.org
I want players to able to use names that consist of only three letters. Like Leo. When I try to create with Leo, it says illegal name. Any idea how I can fix this? Thanks
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.