Page 1 of 1

CreateAccount()

Posted: Tue Sep 09, 2008 11:22 am
by Pierce
Damn i missed that one:

Code: Select all

10-10 MuadDib
        Fixed : uo::CreateAccount() will no longer accept non-alphanumeric characters
                for account name, will return error stating such if one is used. Also
                now passwords can contain all characters except whitespace and control
                characters. Please test heavily. I tested for the commons via script
                already.
Could there be at least a point (.) allowed? I had to cat our new accounts under linux
to the existing accounts now, cause i can't create them anymore from inside the game.
We use the e.g. miller.peter kind of way for our accounts :D

Re: CreateAccount()

Posted: Tue Sep 09, 2008 12:15 pm
by Austin
Have you tried it in 097? I believe I fixed it to allow for those.

Re: CreateAccount()

Posted: Tue Sep 09, 2008 12:22 pm
by Pierce
Sure, because it was a 97 core change ;)
It was the latest core 097-2008-09-01.
The script work fine on an earlier 97 core before this stated change
and i found no other reason in core changes yet that could be the
cause for not creating the accounts.

Re: CreateAccount()

Posted: Tue Sep 09, 2008 12:26 pm
by Austin
Okay. Ill work on fixing this.

Re: CreateAccount()

Posted: Tue Sep 09, 2008 2:15 pm
by Austin
Okay I have changed it so that the core will allow
!"#$%&'()*+,-./:;<=>?@[\]^_`|~
01234567890
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz

It will return an error if the following is present
NUL, DEL and other control codes.
white-space control codes: '\t','\f','\v','\n','\r'
{ } and spaces

Re: CreateAccount()

Posted: Wed Sep 10, 2008 9:29 am
by Pierce
Thx a lot, Austin :)