Re: [hlds] Did S2A_INFO2 packet format change?

2010-04-16 Thread Sebastian Staudt
This is more likely caused by servers not responding to
A2S_SERVER_QUERY_GETCHALLENGE packets.
So you need to change the code of the _getchallenge method.
I'm not a python programmer, but you should change line 386 to: raw_challenge
= self._any_response(PLAYERS)

That should solve you're problem - but not the one discussed earlier on in
this thread.

Regards,

Sebastian


2010/4/16 doc drga...@gmail.com

 This may be related but I've been using SRCDS.py to build my website,
 and most of my cool features need this module to work. As of a couple
 updates ago I get a Player Query Error when trying to fetch the
 players from the server. I'm not sure if the author has any intention
 of updating it and I know just enough python to stare at it and be
 lost. Is there another Python module that does this, or perhaps an
 easy fix for this?

 http://sourceforge.net/projects/srcdspy/

 On Wed, Apr 7, 2010 at 10:38 AM, Sebastian Staudt korak...@gmail.com
 wrote:
  Anyone figured out what 0x01 in EDF stands for?
 
  I just found a GoldSrc server (69.130.74.130:27015) replying with 0x40
 0x01
  0x46 0x00 (+ 6 * 0x00).
  If you parse this as short you get 320 and 70. So the first can't be the
 app
  ID (always), because 320 is HL2:DM - but 70 is HL.
  Although it seems most Source servers reply with their app ID (+ 6 *
 0x00).
 
  Strange.
 
  2010/4/5 HL-SDK Synths syntron...@gmail.com
 
  http://svn.limetech.org/web/opensteamworks/Open%20Steamworks/CSteamID.h
 
  Probably this:
  ( ( ( (uint64) m_steamid.m_comp.m_EUniverse )  56 ) + ((uint64)
  m_steamid.
  m_comp.m_EAccountType  52 ) + m_steamid.m_comp.m_unAccountID );
 
  Sorry for rich text. Universe is most likely constant, as is account
 type.
  The variable is accountID, and that is available to the server.
 
  Usually when I run across a 64-bit steamID I can convert it to this
  CSteamID
  and get the info I need.
 
  I hope that helps :M
 
  On Sun, Apr 4, 2010 at 5:48 PM, Sebastian Staudt korak...@gmail.com
  wrote:
 
   What's the right format for the SteamID?
   64 bit for sure, but how is it encoded? Two longs (32bit) concatenated
 or
   what?
  
   My best guess so far is SteamID = long1 | long2  32.
  
   2010/4/3 Sebastian Staudt korak...@gmail.com
  
Ok, seems like a first hint in the right direction. Thanks.
   
   
2010/4/3 Tony Paloma drunkenf...@hotmail.com
   
EDF 0x80 seems to also include the server's SteamID now and it looks
  like
some new flags have been added (0x10 and 0x01). 0x10 seems to
 contain
   the
appid again (in a long?) and I haven't seen 0x01 be anything other
  than
zeros.
   
-Original Message-
From: hlds-boun...@list.valvesoftware.com
[mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of
 Sebastian
Staudt
Sent: Saturday, April 03, 2010 1:20 PM
To: hlds@list.valvesoftware.com
Subject: [hlds] Did S2A_INFO2 packet format change?
   
Hi.
   
I'm the developer of the query library Steam Condenser (
http://koraktor.github.com/steam-condenser) and recently I got a
 bug
report
about weird data received from CZ servers.
I did some research and found out that all servers (GoldSrc and
  Source)
using the new S2A_INFO2 format (see
   
  http://developer.valvesoftware.com/wiki/Server_queries#Source_servers_2
   )
and
returning additional data (extra data flag, EDF) have not the
  documented
format for the extra data. This seems to have changed recently.
 Does
anyone know what the new format is?
   
Best regards,
   
Sebastian
___
To unsubscribe, edit your list preferences, or view the list
 archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds
   
   
___
To unsubscribe, edit your list preferences, or view the list
 archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds
   
   
   
   ___
   To unsubscribe, edit your list preferences, or view the list archives,
   please visit:
   http://list.valvesoftware.com/mailman/listinfo/hlds
  
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlds
 
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlds
 

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

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


Re: [hlds] Did S2A_INFO2 packet format change?

2010-04-15 Thread doc
This may be related but I've been using SRCDS.py to build my website,
and most of my cool features need this module to work. As of a couple
updates ago I get a Player Query Error when trying to fetch the
players from the server. I'm not sure if the author has any intention
of updating it and I know just enough python to stare at it and be
lost. Is there another Python module that does this, or perhaps an
easy fix for this?

http://sourceforge.net/projects/srcdspy/

On Wed, Apr 7, 2010 at 10:38 AM, Sebastian Staudt korak...@gmail.com wrote:
 Anyone figured out what 0x01 in EDF stands for?

 I just found a GoldSrc server (69.130.74.130:27015) replying with 0x40 0x01
 0x46 0x00 (+ 6 * 0x00).
 If you parse this as short you get 320 and 70. So the first can't be the app
 ID (always), because 320 is HL2:DM - but 70 is HL.
 Although it seems most Source servers reply with their app ID (+ 6 * 0x00).

 Strange.

 2010/4/5 HL-SDK Synths syntron...@gmail.com

 http://svn.limetech.org/web/opensteamworks/Open%20Steamworks/CSteamID.h

 Probably this:
 ( ( ( (uint64) m_steamid.m_comp.m_EUniverse )  56 ) + ((uint64)
 m_steamid.
 m_comp.m_EAccountType  52 ) + m_steamid.m_comp.m_unAccountID );

 Sorry for rich text. Universe is most likely constant, as is account type.
 The variable is accountID, and that is available to the server.

 Usually when I run across a 64-bit steamID I can convert it to this
 CSteamID
 and get the info I need.

 I hope that helps :M

 On Sun, Apr 4, 2010 at 5:48 PM, Sebastian Staudt korak...@gmail.com
 wrote:

  What's the right format for the SteamID?
  64 bit for sure, but how is it encoded? Two longs (32bit) concatenated or
  what?
 
  My best guess so far is SteamID = long1 | long2  32.
 
  2010/4/3 Sebastian Staudt korak...@gmail.com
 
   Ok, seems like a first hint in the right direction. Thanks.
  
  
   2010/4/3 Tony Paloma drunkenf...@hotmail.com
  
   EDF 0x80 seems to also include the server's SteamID now and it looks
 like
   some new flags have been added (0x10 and 0x01). 0x10 seems to contain
  the
   appid again (in a long?) and I haven't seen 0x01 be anything other
 than
   zeros.
  
   -Original Message-
   From: hlds-boun...@list.valvesoftware.com
   [mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Sebastian
   Staudt
   Sent: Saturday, April 03, 2010 1:20 PM
   To: hlds@list.valvesoftware.com
   Subject: [hlds] Did S2A_INFO2 packet format change?
  
   Hi.
  
   I'm the developer of the query library Steam Condenser (
   http://koraktor.github.com/steam-condenser) and recently I got a bug
   report
   about weird data received from CZ servers.
   I did some research and found out that all servers (GoldSrc and
 Source)
   using the new S2A_INFO2 format (see
  
 http://developer.valvesoftware.com/wiki/Server_queries#Source_servers_2
  )
   and
   returning additional data (extra data flag, EDF) have not the
 documented
   format for the extra data. This seems to have changed recently. Does
   anyone know what the new format is?
  
   Best regards,
  
   Sebastian
   ___
   To unsubscribe, edit your list preferences, or view the list archives,
   please visit:
   http://list.valvesoftware.com/mailman/listinfo/hlds
  
  
   ___
   To unsubscribe, edit your list preferences, or view the list archives,
   please visit:
   http://list.valvesoftware.com/mailman/listinfo/hlds
  
  
  
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlds
 
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds

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


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


Re: [hlds] Did S2A_INFO2 packet format change?

2010-04-07 Thread Sebastian Staudt
Anyone figured out what 0x01 in EDF stands for?

I just found a GoldSrc server (69.130.74.130:27015) replying with 0x40 0x01
0x46 0x00 (+ 6 * 0x00).
If you parse this as short you get 320 and 70. So the first can't be the app
ID (always), because 320 is HL2:DM - but 70 is HL.
Although it seems most Source servers reply with their app ID (+ 6 * 0x00).

Strange.

2010/4/5 HL-SDK Synths syntron...@gmail.com

 http://svn.limetech.org/web/opensteamworks/Open%20Steamworks/CSteamID.h

 Probably this:
 ( ( ( (uint64) m_steamid.m_comp.m_EUniverse )  56 ) + ((uint64)
 m_steamid.
 m_comp.m_EAccountType  52 ) + m_steamid.m_comp.m_unAccountID );

 Sorry for rich text. Universe is most likely constant, as is account type.
 The variable is accountID, and that is available to the server.

 Usually when I run across a 64-bit steamID I can convert it to this
 CSteamID
 and get the info I need.

 I hope that helps :M

 On Sun, Apr 4, 2010 at 5:48 PM, Sebastian Staudt korak...@gmail.com
 wrote:

  What's the right format for the SteamID?
  64 bit for sure, but how is it encoded? Two longs (32bit) concatenated or
  what?
 
  My best guess so far is SteamID = long1 | long2  32.
 
  2010/4/3 Sebastian Staudt korak...@gmail.com
 
   Ok, seems like a first hint in the right direction. Thanks.
  
  
   2010/4/3 Tony Paloma drunkenf...@hotmail.com
  
   EDF 0x80 seems to also include the server's SteamID now and it looks
 like
   some new flags have been added (0x10 and 0x01). 0x10 seems to contain
  the
   appid again (in a long?) and I haven't seen 0x01 be anything other
 than
   zeros.
  
   -Original Message-
   From: hlds-boun...@list.valvesoftware.com
   [mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Sebastian
   Staudt
   Sent: Saturday, April 03, 2010 1:20 PM
   To: hlds@list.valvesoftware.com
   Subject: [hlds] Did S2A_INFO2 packet format change?
  
   Hi.
  
   I'm the developer of the query library Steam Condenser (
   http://koraktor.github.com/steam-condenser) and recently I got a bug
   report
   about weird data received from CZ servers.
   I did some research and found out that all servers (GoldSrc and
 Source)
   using the new S2A_INFO2 format (see
  
 http://developer.valvesoftware.com/wiki/Server_queries#Source_servers_2
  )
   and
   returning additional data (extra data flag, EDF) have not the
 documented
   format for the extra data. This seems to have changed recently. Does
   anyone know what the new format is?
  
   Best regards,
  
   Sebastian
   ___
   To unsubscribe, edit your list preferences, or view the list archives,
   please visit:
   http://list.valvesoftware.com/mailman/listinfo/hlds
  
  
   ___
   To unsubscribe, edit your list preferences, or view the list archives,
   please visit:
   http://list.valvesoftware.com/mailman/listinfo/hlds
  
  
  
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlds
 
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds

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


Re: [hlds] Did S2A_INFO2 packet format change?

2010-04-04 Thread Sebastian Staudt
What's the right format for the SteamID?
64 bit for sure, but how is it encoded? Two longs (32bit) concatenated or
what?

My best guess so far is SteamID = long1 | long2  32.

2010/4/3 Sebastian Staudt korak...@gmail.com

 Ok, seems like a first hint in the right direction. Thanks.


 2010/4/3 Tony Paloma drunkenf...@hotmail.com

 EDF 0x80 seems to also include the server's SteamID now and it looks like
 some new flags have been added (0x10 and 0x01). 0x10 seems to contain the
 appid again (in a long?) and I haven't seen 0x01 be anything other than
 zeros.

 -Original Message-
 From: hlds-boun...@list.valvesoftware.com
 [mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Sebastian
 Staudt
 Sent: Saturday, April 03, 2010 1:20 PM
 To: hlds@list.valvesoftware.com
 Subject: [hlds] Did S2A_INFO2 packet format change?

 Hi.

 I'm the developer of the query library Steam Condenser (
 http://koraktor.github.com/steam-condenser) and recently I got a bug
 report
 about weird data received from CZ servers.
 I did some research and found out that all servers (GoldSrc and Source)
 using the new S2A_INFO2 format (see
 http://developer.valvesoftware.com/wiki/Server_queries#Source_servers_2)
 and
 returning additional data (extra data flag, EDF) have not the documented
 format for the extra data. This seems to have changed recently. Does
 anyone know what the new format is?

 Best regards,

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


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



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


Re: [hlds] Did S2A_INFO2 packet format change?

2010-04-04 Thread Tony Paloma
64bit (long long) little endian.

-Original Message-
From: hlds-boun...@list.valvesoftware.com
[mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Sebastian Staudt
Sent: Sunday, April 04, 2010 2:49 PM
To: Half-Life dedicated Win32 server mailing list
Subject: Re: [hlds] Did S2A_INFO2 packet format change?

What's the right format for the SteamID?
64 bit for sure, but how is it encoded? Two longs (32bit) concatenated or
what?

My best guess so far is SteamID = long1 | long2  32.

2010/4/3 Sebastian Staudt korak...@gmail.com

 Ok, seems like a first hint in the right direction. Thanks.


 2010/4/3 Tony Paloma drunkenf...@hotmail.com

 EDF 0x80 seems to also include the server's SteamID now and it looks like
 some new flags have been added (0x10 and 0x01). 0x10 seems to contain the
 appid again (in a long?) and I haven't seen 0x01 be anything other than
 zeros.

 -Original Message-
 From: hlds-boun...@list.valvesoftware.com
 [mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Sebastian
 Staudt
 Sent: Saturday, April 03, 2010 1:20 PM
 To: hlds@list.valvesoftware.com
 Subject: [hlds] Did S2A_INFO2 packet format change?

 Hi.

 I'm the developer of the query library Steam Condenser (
 http://koraktor.github.com/steam-condenser) and recently I got a bug
 report
 about weird data received from CZ servers.
 I did some research and found out that all servers (GoldSrc and Source)
 using the new S2A_INFO2 format (see
 http://developer.valvesoftware.com/wiki/Server_queries#Source_servers_2)
 and
 returning additional data (extra data flag, EDF) have not the documented
 format for the extra data. This seems to have changed recently. Does
 anyone know what the new format is?

 Best regards,

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


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



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


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


Re: [hlds] Did S2A_INFO2 packet format change?

2010-04-04 Thread HL-SDK Synths
http://svn.limetech.org/web/opensteamworks/Open%20Steamworks/CSteamID.h

Probably this:
( ( ( (uint64) m_steamid.m_comp.m_EUniverse )  56 ) + ((uint64) m_steamid.
m_comp.m_EAccountType  52 ) + m_steamid.m_comp.m_unAccountID );

Sorry for rich text. Universe is most likely constant, as is account type.
The variable is accountID, and that is available to the server.

Usually when I run across a 64-bit steamID I can convert it to this CSteamID
and get the info I need.

I hope that helps :M

On Sun, Apr 4, 2010 at 5:48 PM, Sebastian Staudt korak...@gmail.com wrote:

 What's the right format for the SteamID?
 64 bit for sure, but how is it encoded? Two longs (32bit) concatenated or
 what?

 My best guess so far is SteamID = long1 | long2  32.

 2010/4/3 Sebastian Staudt korak...@gmail.com

  Ok, seems like a first hint in the right direction. Thanks.
 
 
  2010/4/3 Tony Paloma drunkenf...@hotmail.com
 
  EDF 0x80 seems to also include the server's SteamID now and it looks like
  some new flags have been added (0x10 and 0x01). 0x10 seems to contain
 the
  appid again (in a long?) and I haven't seen 0x01 be anything other than
  zeros.
 
  -Original Message-
  From: hlds-boun...@list.valvesoftware.com
  [mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Sebastian
  Staudt
  Sent: Saturday, April 03, 2010 1:20 PM
  To: hlds@list.valvesoftware.com
  Subject: [hlds] Did S2A_INFO2 packet format change?
 
  Hi.
 
  I'm the developer of the query library Steam Condenser (
  http://koraktor.github.com/steam-condenser) and recently I got a bug
  report
  about weird data received from CZ servers.
  I did some research and found out that all servers (GoldSrc and Source)
  using the new S2A_INFO2 format (see
  http://developer.valvesoftware.com/wiki/Server_queries#Source_servers_2
 )
  and
  returning additional data (extra data flag, EDF) have not the documented
  format for the extra data. This seems to have changed recently. Does
  anyone know what the new format is?
 
  Best regards,
 
  Sebastian
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlds
 
 
  ___
  To unsubscribe, edit your list preferences, or view the list archives,
  please visit:
  http://list.valvesoftware.com/mailman/listinfo/hlds
 
 
 
 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds

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


[hlds] Did S2A_INFO2 packet format change?

2010-04-03 Thread Sebastian Staudt
Hi.

I'm the developer of the query library Steam Condenser (
http://koraktor.github.com/steam-condenser) and recently I got a bug report
about weird data received from CZ servers.
I did some research and found out that all servers (GoldSrc and Source)
using the new S2A_INFO2 format (see
http://developer.valvesoftware.com/wiki/Server_queries#Source_servers_2) and
returning additional data (extra data flag, EDF) have not the documented
format for the extra data. This seems to have changed recently. Does
anyone know what the new format is?

Best regards,

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


Re: [hlds] Did S2A_INFO2 packet format change?

2010-04-03 Thread Spencer 'voogru' MacDonald
Yeah there is, I think they added the servers steamid to the queries.

(ya, servers have steamids)

-Original Message-
From: hlds-boun...@list.valvesoftware.com
[mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Sebastian Staudt
Sent: Saturday, April 03, 2010 4:20 PM
To: hlds@list.valvesoftware.com
Subject: [hlds] Did S2A_INFO2 packet format change?

Hi.

I'm the developer of the query library Steam Condenser (
http://koraktor.github.com/steam-condenser) and recently I got a bug report
about weird data received from CZ servers.
I did some research and found out that all servers (GoldSrc and Source)
using the new S2A_INFO2 format (see
http://developer.valvesoftware.com/wiki/Server_queries#Source_servers_2) and
returning additional data (extra data flag, EDF) have not the documented
format for the extra data. This seems to have changed recently. Does
anyone know what the new format is?

Best regards,

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


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


Re: [hlds] Did S2A_INFO2 packet format change?

2010-04-03 Thread Sebastian Staudt
Ok, seems like a first hint in the right direction. Thanks.


2010/4/3 Tony Paloma drunkenf...@hotmail.com

 EDF 0x80 seems to also include the server's SteamID now and it looks like
 some new flags have been added (0x10 and 0x01). 0x10 seems to contain the
 appid again (in a long?) and I haven't seen 0x01 be anything other than
 zeros.

 -Original Message-
 From: hlds-boun...@list.valvesoftware.com
 [mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Sebastian Staudt
 Sent: Saturday, April 03, 2010 1:20 PM
 To: hlds@list.valvesoftware.com
 Subject: [hlds] Did S2A_INFO2 packet format change?

 Hi.

 I'm the developer of the query library Steam Condenser (
 http://koraktor.github.com/steam-condenser) and recently I got a bug
 report
 about weird data received from CZ servers.
 I did some research and found out that all servers (GoldSrc and Source)
 using the new S2A_INFO2 format (see
 http://developer.valvesoftware.com/wiki/Server_queries#Source_servers_2)
 and
 returning additional data (extra data flag, EDF) have not the documented
 format for the extra data. This seems to have changed recently. Does
 anyone know what the new format is?

 Best regards,

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


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

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