Valhalla Legends Archive

Programming => Battle.net Bot Development => Battle.net Bot Development References => Topic started by: PaiD on March 19, 2003, 11:49 AM

Title: ?Protocol byte?
Post by: PaiD on March 19, 2003, 11:49 AM
um This is a newb question but still what is Protocol byte?
SEND -> Protocol byte (01)
SEND -> SID_AUTH_INFO (0x50)
RECV <- SID_PING (0x25)
RECV <- SID_AUTH_INFO (0x50)
SEND -> SID_PING (0x25) [Optional]
SEND -> SID_AUTH_CHECK (0x51)
RECV <- SID_AUTH_CHECK (0x51)
SEND -> SID_LOGONRESPONSE (0x29)
RECV <- SID_LOGONRESPONSE (0x29)
SEND -> SID_UDPPINGRESPONSE (0x14) [Game Specific: SEXP/STAR/W2BN]
SEND -> SID_ENTERCHAT (0x0A)

I think it is just a null right?

Edit: null*
Title: Re: ?Protocol byte?
Post by: Eibro on March 19, 2003, 02:16 PM
A byte sent from C->S notifying the server of the protocol used by the client. I believe 0x01 is binary, while 0x03 is chat.
Title: Re: ?Protocol byte?
Post by: haZe on March 19, 2003, 04:04 PM
0x02 is ftp.
Title: Re: ?Protocol byte?
Post by: tA-Kane on March 19, 2003, 06:03 PM
/me wonders if there's a "server" protocol byte
Title: Re: ?Protocol byte?
Post by: Arta on March 20, 2003, 03:50 AM
Elaborate?
Title: Re: ?Protocol byte?
Post by: tA-Kane on March 20, 2003, 12:36 PM
Well, actually, I don't think it's so much an "if" as a "how does it work", but...

The idea behind my question is that the servers obviously connect to eachother, how close to the game-client protocol is the server protocol? And, more deviously, how hard would it be to connect yourself to Battle.net as a server?

I suppose some of these might be better asked/answered privately, to keep out of the wrong hands. Wouldn't want Blizzard to take some sort of unforseen neo-nazi action...
Title: Re: ?Protocol byte?
Post by: Banana fanna fo fanna on March 20, 2003, 02:25 PM
I'll venture a guess and say that they use UDP broadcast on the local LAN, behind firewall.
Title: Re: ?Protocol byte?
Post by: Yoni on March 21, 2003, 02:20 AM
My guess is that they only accept LAN IPs, or IPs from some list, as servers.