CreateAccount()

Archive of the older Feature Request Forum Posts

Moderator: POL Developer

Locked
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

CreateAccount()

Post 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
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Re: CreateAccount()

Post by Austin »

Have you tried it in 097? I believe I fixed it to allow for those.
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Re: CreateAccount()

Post 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.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Re: CreateAccount()

Post by Austin »

Okay. Ill work on fixing this.
User avatar
Austin
Former Developer
Posts: 621
Joined: Wed Jan 25, 2006 2:30 am

Re: CreateAccount()

Post 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
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Re: CreateAccount()

Post by Pierce »

Thx a lot, Austin :)
Locked