STEAM_0:x:y

Where X is "AccountID mod 2"
Where Y is "AccountID / 2"

You're using VB6, right? So you want the modulus operator as written above.
Basically, if AccountID is odd, X should be 1 otherwise 0.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Michael Bang
Sent: Tuesday, January 05, 2010 8:55 AM
To: [email protected]
Subject: Re: [hlcoders] How to find SteamID


Oh sorry, now I got it!! - at least how to find the last 4-6 digits.
How do you figure out what the first two numbers in the SteamID are?
STEAM_0:0:xxxxx

> From: [email protected]
> To: [email protected]
> Date: Tue, 5 Jan 2010 16:34:19 +0000
> Subject: Re: [hlcoders] How to find SteamID
> 
> 
> Hi again,
> 
> I'm not quite sure what you meant by the calculations you wrote, on how to
convert an AccountID to a SteamID.
> 
> I didn't understand the first line at all; > > STEAM_0:"AccountID &
0x01":"AccountID >> 1"
> As for the second line, I tried to use the modulo operation
(Mod(AccountID,2)), but that just gave me the number two.
> 
> Could you explain it to me with more words?
> Thanks!
> 
> > From: [email protected]
> > To: [email protected]
> > Date: Tue, 5 Jan 2010 07:15:19 +0000
> > Subject: Re: [hlcoders] How to find SteamID
> > 
> > 
> > Thank you! I'll try that when I get home tonight :-)
> > 
> > > From: [email protected]
> > > To: [email protected]
> > > Date: Mon, 4 Jan 2010 15:21:00 -0800
> > > Subject: Re: [hlcoders] How to find SteamID
> > > 
> > > 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
> > > 
> >                                       
> > _________________________________________________________________
> > 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
> > 
>                                         
> _________________________________________________________________
> Nej, det er ikke svært at samle alle vennerne fra Hotmail, Myspace og
Facebook på Messenger. Læs mere her
> http://www.microsoft.com/danmark/windows/windowslive/import-friends/
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> 
                                          
_________________________________________________________________
Word Up! Få opdateringer fra Facebook og Arto i din Messenger. Gør det her!
http://www.microsoft.com/danmark/windows/windowslive/import-friends/
_______________________________________________
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