EdGruberman wrote:
I'm 99% positive this isn't a coding problem as I'm looking directly at packet dumps and discussing protocol. (Believe me, I spent quite a few hours getting past my initial problems which WERE coding! :) ) These packets definitely do not look fine to me.
I'm not sure if this is the same under Steam as it was with WON, but in the old WON protocol, the Master server would send back a unique ID as part of the response (a 4 byte value immediately before all the IP/PORT pairs, IIRC). You need to respond back to the Master server with this unique number to get the next packet (you don't respond with the last IP address that the Master sends you). For example, the master might send...
unique id -> 0x0348 IP/PORT -> 6 bytes IP/PORT -> 6 bytes IP/PORT -> 6 bytes (repeated some number of times)
...you send back 0x0348 and the Master send...
unique id -> 0x0x349 IP/PORT -> 6 bytes IP/PORT -> 6 bytes IP/PORT -> 6 bytes (repeated some number of times)
...you send back 0x3854 and the Master sends... blah, blah, blah
You send 0x0000 to the Master in the first packet to indicate that you want the first sequence of IP/PORT pairs.
-- Jeffrey "botman" Broome
_______________________________________________ hlds_apps mailing list [email protected] http://list.valvesoftware.com/mailman/listinfo/hlds_apps
