STEAM_0:"AccountID & 0x01":"AccountID >> 1"

Or "Mod 2" and "/ 2" respectively.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Michael Bang
Sent: Monday, January 04, 2010 3:13 PM
To: [email protected]
Subject: Re: [hlcoders] How to find SteamID


Okay.
How would you get a SteamID from an account ID - as you described in : 

> > Well as long as we're coming up with alternatives:
> >  - Read HKEY_CURRENT_USER\Software\Valve\Steam\LastGameNameUsed
> >  - Enumerate HKEY_CURRENT_USER\Software\Valve\Steam\Users for a matching
> > friends\PersonaName value
> >    - The keys under Users are account IDs. You can use them to get a
> > SteamID.

Thanks

> From: [email protected]
> To: [email protected]
> Date: Mon, 4 Jan 2010 15:05:33 -0800
> Subject: Re: [hlcoders] How to find SteamID
> 
> No examples for VB6, but if I were doing it, I'd make a separate C++ DLL
> with an exported function that gives me what I want and use VB6 to call
> that.
> 
> Steamclient.dll does export some functions, but nothing with what you
want.
> Everything else is in an interface and working with that in VB6 will be
> impossible.
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Michael Bang
> Sent: Monday, January 04, 2010 2:51 PM
> To: [email protected]
> Subject: Re: [hlcoders] How to find SteamID
> 
> 
> Thanks a lot! That really helped.
> 
> 
> 
> You wouldn't happen to have an example of how to use the Steamclient.dll
> file in VB6/.net lying around, would you? ;-)
> 
> I've not been looking deeply into it, but I haven't been able to find any
> documentation on how to use the steamclient.dll.
> 
> Thanks
> 
> > From: [email protected]
> > To: [email protected]
> > Date: Mon, 4 Jan 2010 13:31:04 -0800
> > Subject: Re: [hlcoders] How to find SteamID
> > 
> > Well as long as we're coming up with alternatives:
> >  - Read HKEY_CURRENT_USER\Software\Valve\Steam\LastGameNameUsed
> >  - Enumerate HKEY_CURRENT_USER\Software\Valve\Steam\Users for a matching
> > friends\PersonaName value
> >    - The keys under Users are account IDs. You can use them to get a
> > SteamID.
> > 
> > Infallible? Hardly. But it's the best out-of-game, no-steam-dlls
solution
> I
> > could come up with besides mucking around in the blob file.
> > 
> > If you know where Steam is installed
> > (HKEY_CURRENT_USER\Software\Valve\Steam\SteamPath), you can load
> > steamclient.dll and get the SteamID easy. If you want more details,
reply
> > and ask.
> > 
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of Darien
Hager
> > Sent: Monday, January 04, 2010 1:06 PM
> > To: Discussion of Half-Life Programming
> > Subject: Re: [hlcoders] How to find SteamID
> > 
> > Just to toss out an alternative... I think the "current user name" is 
> > probably somewhere in the clientregistry.blob file after the user is 
> > logged-in... but parsing that thing directly isn't very fun and likely 
> > won't be as stable making your own exe/dll. (I'm working on phasing out 
> > some clientregistry-using code for those reasons.)
> > 
> > --Darien
> > 
> > Alexander Hirsch wrote:
> > > It does work. I did some stuff with that already.
> > > The code down there is just on top of my head though. Still, should
> > > work like that.
> > >
> > >   
> > 
> > 
> > _______________________________________________
> > 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
> > 
>                                         
> _________________________________________________________________
> Få 25 GB lagerplads på nettet!
>
http://www.microsoft.com/danmark/windows/windowslive/products/skydrive.aspx
> _______________________________________________
> 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
> 
                                          
_________________________________________________________________
Få 25 GB lagerplads på nettet!
http://www.microsoft.com/danmark/windows/windowslive/products/skydrive.aspx
_______________________________________________
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