[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  ROM
. -> [Folder]  Running the server
. . -> [Subject]  Help yet again?

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Help yet again?
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Wrath   USA  (25 posts)  [Biography] bio
Date Sun 17 Apr 2005 05:50 PM (UTC)  quote  ]
Message
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.
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Thu 07 Apr 2005 05:03 AM (UTC)  quote  ]
Message
Indeed, inside that function are tests like this:


    /*
     * Length restrictions.
     */
    if ( strlen(name) <  3 )
        return FALSE;

    if ( strlen(name) > 12 )
        return FALSE;




Whilst on the face of it that would seem to allow 3-character names, perhaps your version is different.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Robert Powell   Australia  (349 posts)  [Biography] bio
Date Fri 01 Apr 2005 01:27 AM (UTC)  quote  ]

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
[Go to top] top

Posted by Saint   (16 posts)  [Biography] bio
Date Thu 31 Mar 2005 11:57 PM (UTC)  quote  ]
Message
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
[Go to top] top

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.


1,958 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]