• Welcome to Valhalla Legends Archive.
 

Max Characters

Started by Luxer, July 24, 2004, 09:23 AM

Previous topic - Next topic

Luxer

What is the max number of characters (letters) that battle.net allowes in a message?

hismajesty

230 truncated I think.

Spht

Quote from: Luxer on July 24, 2004, 09:23 AM
What is the max number of characters (letters) that battle.net allowes in a message?

If you're referring to a SID_CHATCOMMAND message, Battle.net truncates when text field is >0xe0 bytes (including null terminator).

LordNevar

Damn, was thinking the wrong thing. Was thinking charachter for usernames. Ooopppssss....  ::)

A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
The greatest trick the Devil ever pulled, was convincing the world he didn't exsist.

hismajesty

Quote from: LordNevar on July 24, 2004, 10:36 AM
Damn, was thinking the wrong thing. Was thinking charachter for usernames. Ooopppssss....  ::)

That's 16.

ChR0NiC

Since when? I thought it was 15....and a max password of 12

dxoigmn

Quote from: ChR0NiC on July 24, 2004, 12:29 PM
Since when? I thought it was 15....and a max password of 12

Password length restriction is a client-side thing, correct?

UserLoser.

Quote from: ChR0NiC on July 24, 2004, 12:29 PM
Since when? I thought it was 15....and a max password of 12

There can't be a limit on the password.

dxoigmn

Quote from: UserLoser. on July 24, 2004, 01:07 PM
Quote from: ChR0NiC on July 24, 2004, 12:29 PM
Since when? I thought it was 15....and a max password of 12

There can't be a limit on the password.

Well, there could be problems if you create accounts with passwords longer than 12 characters using a emulation client.  If you try to logon to that account via a real client, you won't be able (without some sort of hack).  This is similar to the one discussion about the password having to be lower-case because the real clients do it.

ChR0NiC

#9
Quote from: dxoigmn on July 24, 2004, 01:15 PM
Well, there could be problems if you create accounts with passwords longer than 12 characters using a emulation client.  If you try to logon to that account via a real client, you won't be able (without some sort of hack).  This is similar to the one discussion about the password having to be lower-case because the real clients do it.

So basically the client has certain restrictions only enforced by the client itself, and not the server. Wow BNET sure is bloody smart >:(

PS: Yes I know how bloody smart they really are >:(

Soul Taker

Quote from: ChR0NiC on July 24, 2004, 01:18 PM
Quote from: dxoigmn on July 24, 2004, 01:15 PM
Well, there could be problems if you create accounts with passwords longer than 12 characters using a emulation client.  If you try to logon to that account via a real client, you won't be able (without some sort of hack).  This is similar to the one discussion about the password having to be lower-case because the real clients do it.

So basically the client has certain restrictions only enforced by the client itself, and not the server. Wow BNET sure is bloody smart >:(

PS: Yes I know how bloody smart they really are >:(
You try figuring out the length of a password after it's been hashed.

Lenny

Techinically, the password can be virtually any length since its always hashed into a 160-bit digest.  But my question is how does the server verify the account via Telnet connection since the password is sent plaintext?
The Bovine Revolution
Something unimportant

Live Battle.net:

WARNING: The preceding message may have contained content unsuitable for young children.

Maddox

Quote from: Lenny on July 25, 2004, 03:17 AM
Techinically, the password can be virtually any length since its always hashed into a 160-bit digest.  But my question is how does the server verify the account via Telnet connection since the password is sent plaintext?

The server does the hash on the password itself and then compares it, obviously.
asdf.

Maddox

#13
Quote from: Spht on July 24, 2004, 10:05 AM
Quote from: Luxer on July 24, 2004, 09:23 AM
What is the max number of characters (letters) that battle.net allowes in a message?

If you're referring to a SID_CHATCOMMAND message, Battle.net truncates when text field is >0xe0 bytes (including null terminator).

Ok, you could have just said 224.
asdf.

Spht

Quote from: Maddox on July 25, 2004, 03:39 AM
Quote from: Spht on July 24, 2004, 10:05 AM
Quote from: Luxer on July 24, 2004, 09:23 AM
What is the max number of characters (letters) that battle.net allowes in a message?

If you're referring to a SID_CHATCOMMAND message, Battle.net truncates when text field is >0xe0 bytes (including null terminator).

Ok, you could have just said 224.

Easier to remember the hex code rather than a number which looks random.