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 » Tue Sep 09, 2008 11:22 am

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: 615
Joined: Wed Jan 25, 2006 2:30 am

Re: CreateAccount()

Post by Austin » Tue Sep 09, 2008 12:15 pm

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 » Tue Sep 09, 2008 12:22 pm

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: 615
Joined: Wed Jan 25, 2006 2:30 am

Re: CreateAccount()

Post by Austin » Tue Sep 09, 2008 12:26 pm

Okay. Ill work on fixing this.

User avatar
Austin
Former Developer
Posts: 615
Joined: Wed Jan 25, 2006 2:30 am

Re: CreateAccount()

Post by Austin » Tue Sep 09, 2008 2:15 pm

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 » Wed Sep 10, 2008 9:29 am

Thx a lot, Austin :)

Locked