• Welcome to Valhalla Legends Archive.
 

Size Questions...

Started by Smarter, February 20, 2007, 02:49 PM

Previous topic - Next topic

Smarter

I was wondering if someone could tell me the following:

1. Max character length of a message.
2. Max length of a username.
3. Max length of a password.
4. Max length of a channel owner.
5. What characters are not allowed in a username.
6. What characters are not allowed in a password.
7. What characters are not allowed in a channel.
8. What characters are not allowed in a message.
Since '99

BrutalNet.Net

Barabajagal

#1
Max message length is 223, not 255. 255 was for CHAT (telnet) connections.

Text able to be sent should be above character 0x20 (space). Anything lower than that, and you'll get disconnected and ipbanned for 5 minutes or more. Also, IIRC, Op channels can be longer than usernames.

Edit: Brew, your information about username lengths is bullshit.

Barabajagal

Also... Profile fields (sex, location, and description) may only be 512 characters (or 511, I forget which, but 512 seems more likely).

1. Max length of message = 223
2. Max length of username = 15
3. Max length of password = 12 (about this... DRTL will only go up to 12 characters, though the server may accept more characters, I'm not sure...)
4. Max length of a channel owner = What's that supposed to mean?
5. What characters are not allowed in a username = See the Battle.Net website?
6. What characters are not allowed in a password = Same as above?
7. What characters are not allowed in a channel = Same as below.
8. What characters are not allowed in a message = Everything above 0x20.

brew

#3
Quote from: [RealityRipple] on February 20, 2007, 05:12 PM
Also... Profile fields (sex, location, and description) may only be 512 characters (or 511, I forget which, but 512 seems more likely).

1. Max length of message = 223
2. Max length of username = 15
3. Max length of password = 12 (about this... DRTL will only go up to 12 characters, though the server may accept more characters, I'm not sure...)
4. Max length of a channel owner = What's that supposed to mean?
5. What characters are not allowed in a username = See the Battle.Net website?
6. What characters are not allowed in a password = Same as above?
7. What characters are not allowed in a channel = Same as below.
8. What characters are not allowed in a message = Everything above 0x20.

heh. "8. What characters are not allowed in a message = Everything above 0x20."
How do we chat on battle.net? And I just tested the maximum username length. You're able to create names longer then 15 characters, just can't log on them. You get an IPBan when sending the 0x0A.
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

Barabajagal

Is there a reason you just quoted what I said?

Ringo

Passwords can be any lengh with any characters. Because all that is ever transmited is a SHR-1 hash.
The main problem would be the password being non-accessable from a client that wont let you enter the password.
Like for example, useing upper case characters when creating a new account would not be accessable from blizzards starcraft client.

brew

Eh.. strange. I wrote something below that, too. then I tried to submit and it said I already posted. No idea.
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

Barabajagal

Oh, sorry.. typo.. Anything BELOW 0x20 isn't allowed. And that extra bit about usernames is pointless...

Smarter

Ok So:

1. Max length of message = 223
2. Max length of username = 15
3. Max length of password = Null
4. Max length of a channel owner = What's that supposed to mean?
5. What characters are not allowed in a username = See the Battle.Net website?
6. What characters are not allowed in a password = Same as above?
7. What characters are not allowed in a channel = Same as below.
8. What characters are not allowed in a message = Everything above 0x20.

Length for EACH profile field = 512

And by nothing lower then 0x20 do you mean the Char 0x20? (sorry, i'm not good with the alternitave usage of characters, I use C# and simply do e.KeyChar('*'); ;) lol.
Since '99

BrutalNet.Net

MyndFyre

Quote from: Smarter on February 21, 2007, 09:46 AM
Ok So:

1. Max length of message = 223
2. Max length of username = 15
3. Max length of password = Null
4. Max length of a channel owner = What's that supposed to mean?
5. What characters are not allowed in a username = See the Battle.Net website?
6. What characters are not allowed in a password = Same as above?
7. What characters are not allowed in a channel = Same as below.
8. What characters are not allowed in a message = Everything above 0x20.

Length for EACH profile field = 512

And by nothing lower then 0x20 do you mean the Char 0x20? (sorry, i'm not good with the alternitave usage of characters, I use C# and simply do e.KeyChar('*'); ;) lol.

Refer to the byte value 0x20.  C# chars are 2 bytes wide and will give you problems if you try to send them on Battle.net.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

UserLoser

Pretty sure you can send a string of text in a chat message that is greater than 400 characters in size.  A while back I did some testing--I'm not saying the server relayed that message either but it allowed it.


IIRC, max length for channel name is 31

Barabajagal

I think you can send up to 512 characters, however, only the first 223 characters will ever be displayed publicly.

rabbit

And don't forget that all of them count towards the anti-spam calculations, regardless of how many are displayed.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Barabajagal

Quote from: rabbit on February 21, 2007, 07:13 PM
And don't forget that all of them count towards the anti-spam calculations, regardless of how many are displayed.
Which is another reason why 223 is the recommended maximum.