I heard of this unique ID, but I must be over looking it.   Where is in
response to what is returned back?

Is the in the #2 ?     I see the int32 -1 (the wierd yyyy)  and after I send
a 'c' I do get back a 'd' - and the 3rd - 'byte unused' looks like a
chr(13).   I think you're pointing me in the right direction, if only I knew
where this 'unique' ID was in the packet.


1.  (int32)  -1
2.  (byte)   ASCII 'd' ( M2A_SERVERS )
3.  (byte)   unused
4.  (4 x byte) ip address
5.  (int16)  port #



----- Original Message -----
From: "botman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 4:16 PM
Subject: Re: [hlcoders] querying master servers


> > They will return approx 231 IP Addresses back and if you issue a 'c'
again
> > it gives you the exact same results back.  However if you send back an
'e'
> > it will give you more IP addresses.  Some say you keep doing this until
> > you receive back a 'zero' - and after 300,000+ returned IP's we never
> > receive a zero.   We've tried incrementing  by sending  'e1' - get
results
> > - send 'e2', and so on.  But it just continues to spit out IP's, some
> > which are valid and some that are not.
> >
> > How do you get a "full" working list of IP's from the master servers and
> > at some point it actually 'ending' the list.
>
> When you send the 'e', the WON master will return a unique ID with the
first
> packet.  You need to send back that unique ID with the second packet so
that
> WON knows where it left off.  WON will send the next block of IPs (with
> another DIFFERENT unique ID).  You send back the second unique ID with the
> third request.  This will give you another block of IPs with yet another
> unique ID.  Send it back with the forth request, etc.  When WON sends a
> unique ID of ZERO, that will be the last packet of IP addresses and port
> numbers.
>
> If you keep sending the same unique ID back over and over again, WON will
> keep sending you the same batch of IPs over and over again.
>
> Jeffrey "botman" Broome
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to