Valhalla Legends Forums Archive | Battle.net Bot Development | Packet Headers

AuthorMessageTime
shout
Upon packetlogging starcraft, I noticed that the packets I was receiving happened to not have headers. I was wondering if this has something to do with starcraft or do some packets not have headers?
August 28, 2004, 5:26 AM
ChR0NiC
[quote author=shout link=board=17;threadid=8423;start=0#msg77731 date=1093670808]
Upon packetlogging starcraft, I noticed that the packets I was receiving happened to not have headers. I was wondering if this has something to do with starcraft or do some packets not have headers?
[/quote]

Possibly it could have been a packet that had been continued after being cut off in a previous packet?
August 28, 2004, 5:39 AM
shout
So they do have headers! DAMN YOU KARMA!
August 28, 2004, 5:46 AM
ChR0NiC
[quote author=shout link=board=17;threadid=8423;start=0#msg77736 date=1093671995]
So they do have headers! DAMN YOU KARMA!
[/quote]

All official BNET packets have a header of "0xFF"
August 28, 2004, 5:47 AM
shout
[quote author=ChRoNiC link=board=17;threadid=8423;start=0#msg77737 date=1093672041]
All official BNET packets have a header of "FF"
[/quote]

:)
August 28, 2004, 5:51 AM
PaiD
if you packet logged the Starcraft Client you might have see (and probly did see) udp packets to and from bnet.. That would be my guess
August 28, 2004, 5:57 AM
Myndfyr
[quote author=ChRoNiC link=board=17;threadid=8423;start=0#msg77737 date=1093672041]
[quote author=shout link=board=17;threadid=8423;start=0#msg77736 date=1093671995]
So they do have headers! DAMN YOU KARMA!
[/quote]

All official BNET packets have a header of "0xFF"
[/quote]

Not only do they have the header of the byte 0xff (as opposed to "0xFF" which is a text string), they also then have the packet ID (which is a byte) and the length (which is a word).

I'm sorry for having been a bit militant in this post, but I'm really tired of people limiting the BNCS protocol header to just 0xff. The BNCS protocol header is four bytes long. If it isn't four bytes long, then it's not the BNCS protocol header. It's some other random crap.
August 28, 2004, 7:57 AM

Search