Raised This Month: $51 Target: $400
 12% 

Convert STEAMID to Steam Community ID


Post New Thread Reply   
 
Thread Tools Display Modes
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 05-03-2009 , 12:57   Re: Convert STEAMID to Steam Community ID
Reply With Quote #171

Voogru, you sure your code in the first post is PHP ? It looks C++ rather.
__________________
Links to posts I received Karma from:
Big thanks to all who gave Karma
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 05-03-2009 , 13:09   Re: Convert STEAMID to Steam Community ID
Reply With Quote #172

That is C++ code, not PHP.
bl4nk is offline
rautamiekka
Veteran Member
Join Date: Jan 2009
Location: Finland
Old 05-03-2009 , 13:10   Re: Convert STEAMID to Steam Community ID
Reply With Quote #173

Quote:
Originally Posted by bl4nk View Post
That is C++ code, not PHP.
No wonder why trying to read it as PHP was so difficult
__________________
Links to posts I received Karma from:
Big thanks to all who gave Karma
rautamiekka is offline
Send a message via ICQ to rautamiekka Send a message via AIM to rautamiekka Send a message via MSN to rautamiekka Send a message via Yahoo to rautamiekka Send a message via Skype™ to rautamiekka
Mo45
Junior Member
Join Date: Jun 2009
Location: Ukraine
Old 06-24-2009 , 18:07   Re: Convert STEAMID to Steam Community ID
Reply With Quote #174

hi guys! this is awesome thing!
but it possible to translate the php-script to JavaScript?
Mo45 is offline
Send a message via ICQ to Mo45 Send a message via Skype™ to Mo45
8088
Veteran Member
Join Date: Jan 2008
Old 06-24-2009 , 18:33   Re: Convert STEAMID to Steam Community ID
Reply With Quote #175

PHP
Javascript
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
Mo45
Junior Member
Join Date: Jun 2009
Location: Ukraine
Old 06-24-2009 , 18:44   Re: Convert STEAMID to Steam Community ID
Reply With Quote #176

oh tnx!
__________________


Mo45 is offline
Send a message via ICQ to Mo45 Send a message via Skype™ to Mo45
Mo45
Junior Member
Join Date: Jun 2009
Location: Ukraine
Old 06-24-2009 , 18:49   Re: Convert STEAMID to Steam Community ID
Reply With Quote #177

and how to convert profile id or community id to steam id? )
__________________


Mo45 is offline
Send a message via ICQ to Mo45 Send a message via Skype™ to Mo45
8088
Veteran Member
Join Date: Jan 2008
Old 06-24-2009 , 19:40   Re: Convert STEAMID to Steam Community ID
Reply With Quote #178

That requires XML reading. An example can be found here and a couple of posts below that one.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
Mo45
Junior Member
Join Date: Jun 2009
Location: Ukraine
Old 06-24-2009 , 19:46   Re: Convert STEAMID to Steam Community ID
Reply With Quote #179

this is not support on javascript? (
__________________


Mo45 is offline
Send a message via ICQ to Mo45 Send a message via Skype™ to Mo45
8088
Veteran Member
Join Date: Jan 2008
Old 06-24-2009 , 19:59   Re: Convert STEAMID to Steam Community ID
Reply With Quote #180

My previous statement isn't entirely correct. To convert the SteamID64, as Valve calls it, to a SteamID (7656119XXXXXXXXXX to STEAM_0:X:XXXX) you don't have to read any XML, as shown in this attachment. It can probably also done with Javascript, but I wouldn't know how.

However, to get the respective name (or vice versa), which is sometimes a part of the full URL to one's community page, you would have to read out the XML of the community page first.
__________________
steamID converter with OpenSearch browser plugin
8088 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode