Raised This Month: $32 Target: $400
 8% 

Convert STEAMID to Steam Community ID


Post New Thread Reply   
 
Thread Tools Display Modes
Scuzzy
Senior Member
Join Date: Oct 2007
Old 01-22-2008 , 00:11   Re: Convert STEAMID to Steam Community ID
Reply With Quote #31

Quote:
Originally Posted by Maurice View Post
You are awesome Scuzzy! This is really the steamcommunity ID i was looking for and now i can get in touch witch the person that broke into my server. I've only one more question Scuzzy. Would it be possible that you remove the steamid out of my quoted reply because i don't want that this hacker know i'm looking for him. If you remove it i will remove it from my post to, if you don't want to remove it's fine to because you helped me already so much!
Done.
Scuzzy is offline
Maurice
Senior Member
Join Date: Nov 2006
Location: Netherlands
Old 01-22-2008 , 04:17   Re: Convert STEAMID to Steam Community ID
Reply With Quote #32

Thanks again Scuzzy! But i have already a new question. I tested with my own steamid aswell with some friends steamid and everything is works correct when i use the formule
steamcommunityID - (steamID * 2) = 76561197960265729

If i take for example the steamID's
STEAM_0:0:123456
STEAM_0:1:123456

They both reffer to that same steamcommunityID, how can i be sure to wich of the both steamID's belong the the calculated steamcommunutyID?
__________________
Luck? Luck is only one feeling of amazement concerning a seemingly incidental circumstance which one himself must create.

Last edited by Maurice; 01-22-2008 at 19:38.
Maurice is offline
Scuzzy
Senior Member
Join Date: Oct 2007
Old 01-22-2008 , 22:41   Re: Convert STEAMID to Steam Community ID
Reply With Quote #33

Quote:
Originally Posted by Maurice View Post
Thanks again Scuzzy! But i have already a new question. I tested with my own steamid aswell with some friends steamid and everything is works correct when i use the formule
steamcommunityID - (steamID * 2) = 76561197960265729

If i take for example the steamID's
STEAM_0:0:123456
STEAM_0:1:123456
They both reffer to that same steamcommunityID, how can i be sure to wich of the both steamID's belong the the calculated steamcommunutyID?
You didn't add the 1 to the second steam_id:

STEAM_0:0:123456 = 0 + 76561197960265728 + (123456*2)
STEAM_0:1:123456 = 1 + 76561197960265728 + (123456*2)

Scuzzy
Scuzzy is offline
theY4Kman
Join Date: Jun 2007
Location: Yak
Old 01-27-2008 , 01:45   Re: Convert STEAMID to Steam Community ID
Reply With Quote #34

I got a bit bored, so I made a Python script for it. It took me way longer than it should've...I spent most of the time on the fluff (options, about, etc).
Attached Files
File Type: txt sid_convert.py.txt (2.8 KB, 1287 views)
__________________
http://y4kstudios.com
Is that loud enough? Oh, while I have you, check out Viper.
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
StevenT
Member
Join Date: Dec 2007
Old 01-27-2008 , 15:41   Re: Convert STEAMID to Steam Community ID
Reply With Quote #35

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
Phoenix2
Junior Member
Join Date: Sep 2007
Old 01-27-2008 , 19:37   Re: Convert STEAMID to Steam Community ID
Reply With Quote #36

Quote:
Originally Posted by theY4Kman View Post
I got a bit bored, so I made a Python script for it. It took me way longer than it should've...I spent most of the time on the fluff (options, about, etc).
Sorry if I sound stupid, but, does this go on a webserver? And if so, how do or what do I need to install it?

Thanks,
P2
Phoenix2 is offline
Seather
Member
Join Date: Oct 2004
Old 01-28-2008 , 23:20   Re: Convert STEAMID to Steam Community ID
Reply With Quote #37

StevenT: fixed, after all these years we finally got a decent connection / OS for our site.
http://www.joe.to/moo/sid_convert.php

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

Quote:
Originally Posted by Seather View Post
StevenT: fixed, after all these years we finally got a decent connection / OS for our site.
http://www.joe.to/moo/sid_convert.php
thx i love you!
StevenT is offline
CShadowRun
Junior Member
Join Date: Jul 2007
Old 02-02-2008 , 20:30   Re: Convert STEAMID to Steam Community ID
Reply With Quote #39

Should anyone want it, I made this into a little mIRC Script (So you can type /profile STEAMID or COMMUNITY ID to get the steamid or community url returned.

Just read the remarks to see how to install and use, pretty simple.

I also set this up in the SourceMod IRC Channel (#sourcemod on gamesurge) just type !profile STEAMID or COMMUNITY ID and if i'm online it'll reply for you

Code:
  ; Script to turn STEAM_IDs into Community page URLS and the other way around. Created by CShadowRun!
  ; Use is simple just type /profile STEAM_ID or Community ID (The very large number at the end of the URL)
  ; Just press alt + r in mIRC and paste this into your remotes and you  should be good to go!

alias profile {
  if ($regex($1-,^STEAM_\d:(\d):(\d+)$)) {
    var %n = $right(76561197960265728,$calc($len($regml(2) + 1)))
    var %id = $calc(($regml(2) * 2) + $regml(1) + %n)
    echo -a $+($1-,'s) Community page is: $+(http://steamcommunity.com/profiles/,$left(76561197960265728,$calc(13 - $len($regml(2)))),%id)  
  }
  else if ($regex($1-,^7656119\d+$)) {
    var %n = $right($1-,10)
    var %n = $calc(%n - 7960265728)
    if (. isin $calc(%n / 2)) { var %one = 1 | dec %n }
    var %n = $calc(%n / 2)
    echo -a Profile ID $1- Belongs to: $+(STEAM_0:,$iif(%one,1,0),:,%n)
  }
  else { echo -a $1- Does not appear to be a valid Community or Steam ID. }
}
CShadowRun is offline
theY4Kman
Join Date: Jun 2007
Location: Yak
Old 02-03-2008 , 00:16   Re: Convert STEAMID to Steam Community ID
Reply With Quote #40

Phoenix2, it's a Python script. After you've installed Python onto your computer, download the script, remove the .txt extension, and run the script from the command-line.
__________________
http://y4kstudios.com
Is that loud enough? Oh, while I have you, check out Viper.
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
Reply


Thread Tools
Display Modes

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 06:36.


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