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 <[email protected]> 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 <[email protected]>
>
>> 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 <[email protected]>
>> 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 <[email protected]>
>> >
>> > > Ok, seems like a first hint in the right direction. Thanks.
>> > >
>> > >
>> > > 2010/4/3 Tony Paloma <[email protected]>
>> > >
>> > > 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: [email protected]
>> > >> [mailto:[email protected]] On Behalf Of Sebastian
>> > >> Staudt
>> > >> Sent: Saturday, April 03, 2010 1:20 PM
>> > >> To: [email protected]
>> > >> 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

Reply via email to