www.ClassicTW.com
https://classictw.com/

Regular expressions for user names and passwords
https://classictw.com/viewtopic.php?f=14&t=32842
Page 1 of 1

Author:  Mongoose [ Sat Feb 04, 2012 11:39 pm ]
Post subject:  Regular expressions for user names and passwords

What are the criteria for the user names and passwords TWGS will accept? Could someone describe them as regular expressions?

Author:  Mongoose [ Sun Feb 05, 2012 12:41 pm ]
Post subject:  Re: Regular expressions for user names and passwords

Anybody?

It appears that the user name can be 1-41 characters, and the password can be 0-8 characters. Both seem to accept characters 32 to 125.

Author:  T0yman [ Sun Feb 05, 2012 12:55 pm ]
Post subject:  Re: Regular expressions for user names and passwords

I or years used a 13 character for a pw until I noticed in T-Edit it only stores 8. User names I think have a restriction only on the first 6 characters....

So if your using Mongoose , no one can join using Mon, Mong, Mongo.... it actually stopped from using a single letter if a player was already in using M.

Author:  Mongoose [ Sun Feb 05, 2012 1:18 pm ]
Post subject:  Re: Regular expressions for user names and passwords

I think that 6-character similarity restriction applies only to in-game aliases, not the user's TWGS login name.

Author:  John Pritchett [ Sun Feb 05, 2012 3:09 pm ]
Post subject:  Re: Regular expressions for user names and passwords

TWGS login is pretty open. It accepts ascii characters 32 through 176. Any other character will be replaced with a #.

Author:  Mongoose [ Sun Feb 05, 2012 3:26 pm ]
Post subject:  Re: Regular expressions for user names and passwords

Hmmm... 'cause tedit won't accept the ~ character (126) in usernames or passwords. I didn't try any higher characters.

Author:  John Pritchett [ Sun Feb 05, 2012 9:00 pm ]
Post subject:  Re: Regular expressions for user names and passwords

~ is a special character that is always filtered out by TW. Gary used it for color coding, and it appears in many of the menu files and such. It can't even be quoted. It's just stripped out.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/