Raised This Month: $ Target: $400
 0% 

Convert STEAMID to Steam Community ID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 12-16-2007 , 21:32   Re: Convert STEAMID to Steam Community ID
Reply With Quote #1

Interesting. Bannage by user groups might be useful to implement into my PUG mod.

Roach now has power in this forum.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Seather
Member
Join Date: Oct 2004
Old 12-22-2007 , 19:15   Re: Convert STEAMID to Steam Community ID
Reply With Quote #2

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

Old attachment view count: 2814 views (1747 + 467 + 600)
Attached Files
File Type: txt sid_convert.php.txt (2.7 KB, 610 views)

Last edited by Seather; 04-02-2015 at 11:28.
Seather is offline
StevenT
Member
Join Date: Dec 2007
Old 01-27-2008 , 15:41   Re: Convert STEAMID to Steam Community ID
Reply With Quote #3

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
Code:
Fatal error:  Call to undefined function bcmul() in /usr/local/www/www.joe.to/moo/sid_convert.php on line 38
>.< now i need to find a new website that i can freely use T.T
StevenT is offline
yam90
Member
Join Date: Jan 2007
Old 02-18-2008 , 08:51   Re: Convert STEAMID to Steam Community ID
Reply With Quote #4

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
How do i convert FriendID to SteamID? I've forgot
yam90 is offline
KoST
Senior Member
Join Date: Jul 2005
Old 02-18-2008 , 16:28   Re: Convert STEAMID to Steam Community ID
Reply With Quote #5

there u go..

PHP Code:
<?php
    $friendid
="nnnnnnnnnnnnnnnnn";
    if (
substr($friendid,-1)%2==0$server=0; else $server=1;
    
$auth=bcsub($friendid,'76561197960265728');
    
$auth=bcsub($auth,$server);
    
$auth=bcdiv($auth,2);
    echo 
"STEAM_0:".$server.':'.$auth;
?>
__________________

Last edited by KoST; 02-18-2008 at 20:20.
KoST 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 #6

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
flyeni6
Senior Member
Join Date: Jun 2006
Location: CAli
Old 12-25-2007 , 20:21   Re: Convert STEAMID to Steam Community ID
Reply With Quote #7

really nice
__________________

flyeni6 is offline
Send a message via AIM to flyeni6
StevenT
Member
Join Date: Dec 2007
Old 12-29-2007 , 19:39   Re: Convert STEAMID to Steam Community ID
Reply With Quote #8

very nice thx
StevenT is offline
Scuzzy
Senior Member
Join Date: Oct 2007
Old 01-16-2008 , 12:06   Re: Convert STEAMID to Steam Community ID
Reply With Quote #9

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!

Scuzzy 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 #10

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
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 18:15.


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