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

Reply via email to