View unanswered posts | View active topics It is currently Sat May 23, 2026 11:44 am



Reply to topic  [ 7 posts ] 
 Regular expressions for user names and passwords 
Author Message
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post 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
Profile WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post 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
Profile WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post 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
Profile ICQ YIM WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post 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
Profile WWW
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3151
Location: USA
Unread post 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
Profile WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post 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
Profile WWW
Site Admin
User avatar

Joined: Sun Dec 24, 2000 3:00 am
Posts: 3151
Location: USA
Unread post 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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.