Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: pianka on June 19, 2004, 01:19 PM

Title: Starcraft UDP
Post by: pianka on June 19, 2004, 01:19 PM
Upon joining a game, you request the IP/Port of the game host, then you setup a UDP socket to send data to that IP/Port. What's the first thing you send, does anybody know? My packet sniffer doesn't sniff UDP and when a friend did it for me, we got a ton of jumbled weird packets, any ideas?

Edit: Apparently there's a checksum involved in all this, does anyone have it?
Title: Re:Starcraft UDP
Post by: iago on June 19, 2004, 02:37 PM
Your edit first: yes, we all do.  It's built into the game.

To the rest: www.ethereal.com -- sniff it out.
Title: Re:Starcraft UDP
Post by: pianka on June 19, 2004, 04:38 PM
I have ethereal, it didn't work, other than that I got 0x03 working in UDP, but what about that checksum?