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

Convert STEAMID to Steam Community ID


Post New Thread Reply   
 
Thread Tools Display Modes
jsin1
New Member
Join Date: Jul 2008
Old 07-30-2008 , 01:25   Re: Convert STEAMID to Steam Community ID
Reply With Quote #71

is there a site up thats running the php script to convert steam community id to steam id? ive tried a few here, and none seem to work?

thanks
jsin1 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 07-30-2008 , 01:52   Re: Convert STEAMID to Steam Community ID
Reply With Quote #72

Quote:
Originally Posted by Seather View Post
I made a PHP script that batch converts both ways.

http://www.joe.to/moo/sid_convert.php

Source code attached.

you don't need to clean the input, you can paste your admins ini and have the output be the same as your input except for the links
bl4nk is offline
jsin1
New Member
Join Date: Jul 2008
Old 07-30-2008 , 02:07   Re: Convert STEAMID to Steam Community ID
Reply With Quote #73

thanks much. does any one have that script, or a script and html similar they could .zip and upload? something exactly like that. the look and all. id give credits to whoever wrote it. thanks much
jsin1 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 07-30-2008 , 02:10   Re: Convert STEAMID to Steam Community ID
Reply With Quote #74

It's attached to his post.
bl4nk is offline
siosios
SourceMod Donor
Join Date: Jan 2008
Old 07-30-2008 , 07:34   Re: Convert STEAMID to Steam Community ID
Reply With Quote #75

Quote:
Originally Posted by jsin1 View Post
is there a site up thats running the php script to convert steam community id to steam id? ive tried a few here, and none seem to work?

thanks
use mine if you like

http://www.n00bunlimited.net/find_profile.php

siosios
__________________
siosios is offline
alexthebest
New Member
Join Date: Jul 2008
Old 07-30-2008 , 18:18   Re: Convert STEAMID to Steam Community ID
Reply With Quote #76

I'm still learning PHP and am a complete noob...

Please see a profile on my clans site:

Code:
http://xtacygaming.com/index.php?p=profile&pid=6
Third line down is an area for STEAM ID. I was wondering how i would be able to put some code there that would make the link a link to the person's community page?

Thanks for your help in advance.
alexthebest is offline
FirePain
Junior Member
Join Date: Mar 2006
Old 07-31-2008 , 14:24   Re: Convert STEAMID to Steam Community ID
Reply With Quote #77

I wrote a simple tool to do it in C#.NET, it can be downloaded here.
Requires the .NET Framework.

Last edited by FirePain; 07-31-2008 at 14:29.
FirePain is offline
Violative
Junior Member
Join Date: Jul 2006
Old 08-10-2008 , 01:32   Re: Convert STEAMID to Steam Community ID
Reply With Quote #78

Quote:
Originally Posted by Scuzzy View Post
I just wanted to pay homage and say thanks to Voogru for posting this, it's come in EXTREMELY handy. We use in our server administration and it helps greatly. Thanks!

Really loving your admin bans panel.
Do you share?
Our site proteamclan.com
its running phpbb3
Thank you

contact:
[email protected]
__________________

“You can discover more about a person in an hour of play than in a year of conversation.” -- Plato
Violative is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 08-24-2008 , 06:43   Re: Convert STEAMID to Steam Community ID
Reply With Quote #79

This is for sourcemod scripting:

Code:
AuthIDToFriendID(String:AuthID[], String:FriendID[], size) {
    
    ReplaceString(AuthID, strlen(AuthID), "STEAM_", "");

    if (StrEqual(AuthID, "ID_LAN")) {
        FriendID[0] = '\0';
        
        return;
    }

    decl String:toks[3][16];

    ExplodeString(AuthID, ":", toks, sizeof(toks), sizeof(toks[]));

    //new unknown = StringToInt(toks[0]);
    new iServer = StringToInt(toks[1]);
    new iAuthID = StringToInt(toks[2]);

    new iFriendID = (iAuthID*2) + 60265728 + iServer;

    Format(FriendID, size, "765611979%d", iFriendID);
}
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 09-03-2008 , 10:03   Re: Convert STEAMID to Steam Community ID
Reply With Quote #80

Does anyone have a STEAM_ID -> Steam Community PHP snippet that -doesn't- use the BCMath extension? DreamHost doesn't (and won't, I asked :/) support it, and I'd really like to get something going with this. Thanks so much to anyone able to help

Edit: If anyone has anything already written up, that's cool. If not, I am looking into it and it doesn't seem all that hard to do without BCMath. I don't see what the BCMath hubub is all about :v
Edit again: Okay, I spoke too soon. Anytime I do any large math, the calculation gives me a wrong number. For example:

Code:
$number1 =  99999999999999999;
$number1 -= 99999999999999990;
echo $number1;
gives back 16.
Yeah. 16.

In before "thats why we were using BCMath that your host doesn't support"

Last edited by Atreus; 09-03-2008 at 11:02.
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
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 14:00.


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