Valhalla Legends Forums Archive | Battle.net Bot Development | Max Characters

AuthorMessageTime
Luxer
What is the max number of characters (letters) that battle.net allowes in a message?
July 24, 2004, 2:23 PM
hismajesty
230 truncated I think.
July 24, 2004, 2:50 PM
Spht
[quote author=Luxer link=board=17;threadid=7848;start=0#msg72174 date=1090679010]
What is the max number of characters (letters) that battle.net allowes in a message?
[/quote]

If you're referring to a SID_CHATCOMMAND message, Battle.net truncates when text field is >0xe0 bytes (including null terminator).
July 24, 2004, 3:05 PM
LordNevar
Damn, was thinking the wrong thing. Was thinking charachter for usernames. Ooopppssss.... ::)
July 24, 2004, 3:36 PM
hismajesty
[quote author=LordNevar link=board=17;threadid=7848;start=0#msg72187 date=1090683419]
Damn, was thinking the wrong thing. Was thinking charachter for usernames. Ooopppssss.... ::)
[/quote]

That's 16.
July 24, 2004, 4:18 PM
ChR0NiC
Since when? I thought it was 15....and a max password of 12
July 24, 2004, 5:29 PM
kamakazie
[quote author=ChR0NiC link=board=17;threadid=7848;start=0#msg72211 date=1090690167]
Since when? I thought it was 15....and a max password of 12
[/quote]

Password length restriction is a client-side thing, correct?
July 24, 2004, 6:06 PM
UserLoser.
[quote author=ChR0NiC link=board=17;threadid=7848;start=0#msg72211 date=1090690167]
Since when? I thought it was 15....and a max password of 12
[/quote]

There can't be a limit on the password.
July 24, 2004, 6:07 PM
kamakazie
[quote author=UserLoser. link=board=17;threadid=7848;start=0#msg72234 date=1090692432]
[quote author=ChR0NiC link=board=17;threadid=7848;start=0#msg72211 date=1090690167]
Since when? I thought it was 15....and a max password of 12
[/quote]

There can't be a limit on the password.
[/quote]

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.
July 24, 2004, 6:15 PM
ChR0NiC
[quote author=dxoigmn link=board=17;threadid=7848;start=0#msg72236 date=1090692947]
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.
[/quote]

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 >:(
July 24, 2004, 6:18 PM
Soul Taker
[quote author=ChR0NiC link=board=17;threadid=7848;start=0#msg72240 date=1090693119]
[quote author=dxoigmn link=board=17;threadid=7848;start=0#msg72236 date=1090692947]
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.
[/quote]

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 >:(
[/quote]
You try figuring out the length of a password after it's been hashed.
July 25, 2004, 7:25 AM
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?
July 25, 2004, 8:17 AM
Maddox
[quote author=Lenny link=board=17;threadid=7848;start=0#msg72393 date=1090743449]
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?
[/quote]

The server does the hash on the password itself and then compares it, obviously.
July 25, 2004, 8:38 AM
Maddox
[quote author=Spht link=board=17;threadid=7848;start=0#msg72181 date=1090681522]
[quote author=Luxer link=board=17;threadid=7848;start=0#msg72174 date=1090679010]
What is the max number of characters (letters) that battle.net allowes in a message?
[/quote]

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

Ok, you could have just said 224.
July 25, 2004, 8:39 AM
Spht
[quote author=Maddox link=board=17;threadid=7848;start=0#msg72395 date=1090744774]
[quote author=Spht link=board=17;threadid=7848;start=0#msg72181 date=1090681522]
[quote author=Luxer link=board=17;threadid=7848;start=0#msg72174 date=1090679010]
What is the max number of characters (letters) that battle.net allowes in a message?
[/quote]

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

Ok, you could have just said 224.
[/quote]

Easier to remember the hex code rather than a number which looks random.
July 25, 2004, 3:24 PM
Maddox
[quote author=Spht link=board=17;threadid=7848;start=0#msg72428 date=1090769084]
Easier to remember the hex code rather than a number which looks random.
[/quote]

I don't think in hexadecimal, sorry.
July 27, 2004, 11:25 PM
Myndfyr
[quote author=Spht link=board=17;threadid=7848;start=0#msg72428 date=1090769084]
[quote author=Maddox link=board=17;threadid=7848;start=0#msg72395 date=1090744774]
[quote author=Spht link=board=17;threadid=7848;start=0#msg72181 date=1090681522]
[quote author=Luxer link=board=17;threadid=7848;start=0#msg72174 date=1090679010]
What is the max number of characters (letters) that battle.net allowes in a message?
[/quote]

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

Ok, you could have just said 224.
[/quote]

Easier to remember the hex code rather than a number which looks random.
[/quote]

Just like it's easier to remember 1,000 meters in a kilometer than 5280ft in a mile, or 100 degrees at boiling instead of 212 degrees. :P

Or 0K as opposed to -273.15[sup]o[/sup]C or -459.67[sup]o[/sup]F.
July 27, 2004, 11:46 PM
Spht
[quote author=Maddox link=board=17;threadid=7848;start=15#msg72996 date=1090970757]
[quote author=Spht link=board=17;threadid=7848;start=0#msg72428 date=1090769084]
Easier to remember the hex code rather than a number which looks random.
[/quote]

I don't think in hexadecimal, sorry.
[/quote]

Neither do I. Kp does though.

Some numbers are meant to be read in hex so they're easier to remember, like Botnet's server port 0x5555 (21845).

See Myndfyre's reply for more examples/analogies.
July 28, 2004, 12:33 AM

Search