| Author |
Message |
|
Mongoose
Commander
Joined: Mon Oct 29, 2001 3:00 am Posts: 1096 Location: Tucson, AZ
|
 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?
_________________ Suddenly you're Busted!
|
| Sat Feb 04, 2012 11:39 pm |
|
 |
|
Mongoose
Commander
Joined: Mon Oct 29, 2001 3:00 am Posts: 1096 Location: Tucson, AZ
|
 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.
_________________ Suddenly you're Busted!
|
| Sun Feb 05, 2012 12:41 pm |
|
 |
|
T0yman
Veteran Op
Joined: Sat Dec 29, 2007 5:06 pm Posts: 2059 Location: Oklahoma
|
 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.
_________________ T0yman (Permanently Retired since 2012) Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.
|
| Sun Feb 05, 2012 12:55 pm |
|
 |
|
Mongoose
Commander
Joined: Mon Oct 29, 2001 3:00 am Posts: 1096 Location: Tucson, AZ
|
 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.
_________________ Suddenly you're Busted!
|
| Sun Feb 05, 2012 1:18 pm |
|
 |
|
John Pritchett
Site Admin
Joined: Sun Dec 24, 2000 3:00 am Posts: 3151 Location: USA
|
 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 #.
_________________ John Pritchett EIS --- Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.
|
| Sun Feb 05, 2012 3:09 pm |
|
 |
|
Mongoose
Commander
Joined: Mon Oct 29, 2001 3:00 am Posts: 1096 Location: Tucson, AZ
|
 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.
_________________ Suddenly you're Busted!
|
| Sun Feb 05, 2012 3:26 pm |
|
 |
|
John Pritchett
Site Admin
Joined: Sun Dec 24, 2000 3:00 am Posts: 3151 Location: USA
|
 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.
_________________ John Pritchett EIS --- Help fund the TradeWars websites! If you open a hosting account with A2 Hosting, the service EIS uses for all of its sites, EIS will earn credits toward its hosting bill.
|
| Sun Feb 05, 2012 9:00 pm |
|
 |
|