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

Family sharing, get owner's SteamID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TehKonijn
Junior Member
Join Date: May 2014
Old 05-06-2014 , 06:41   Family sharing, get owner's SteamID
Reply With Quote #1

Hi,

Firstly sorry if this is in the wrong section I've been viewing these forums for years but never had a course to make an account to post.

I've searched the forums and was unable to find any information about this so would be grateful if someone could help me out.

Steam recently released something called 'family account sharing'. A by-product of this is that people can share cs 1.6 with themselves to gain a new SteamID to ban evade. I've been doing some reading and found a post on this thread: http://steamcommunity.com/groups/fam...24412076257902 by a steam employee stating:

Quote:
We updated the Steamworks SDK which allows game server to get the original owner's SteamID once authentication is complete.

http://steamcommunity.com/groups/ste...51947121753685
Unforuntately the link doesn't work for me and after signing up for steamworks and browsing through the API documentation I've been unable to find out how exactly to do this.

Essentially I want to have AMXX either natively or via web API lookup a SteamID to see if it's using family sharing and then return the owner's SteamID.

Hope someone can help, thanks for reading.

Edit: I wasn't able to view the aforementioned announcement due to the group being private, having to login to steampowered.com and my language somehow being in polish so I didn't understand the error. Could someone advise how to use the callbacks ValidateAuthTicketResponse_t and GSClientApprove_t with AMXX or if it's even possible.

Last edited by TehKonijn; 05-06-2014 at 07:00.
TehKonijn is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-06-2014 , 09:03   Re: Family sharing, get owner's SteamID
Reply With Quote #2

You can use the Steam Web API for this. Note that it only works while the sharing user is playing the game.

https://api.steampowered.com/IPlayerService/IsPlayingSharedGame/v1?key=<your api key>&steamid=<steamid64>&appid_playing=<appid >

Ex. https://api.steampowered.com/IPlayerService/IsPlayingSharedGame/v1?key=FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF&steam id=76561197968573709&appid_playing=10
psychonic is offline
TehKonijn
Junior Member
Join Date: May 2014
Old 05-06-2014 , 09:37   Re: Family sharing, get owner's SteamID
Reply With Quote #3

Quote:
Originally Posted by psychonic View Post
You can use the Steam Web API for this. Note that it only works while the sharing user is playing the game.

https://api.steampowered.com/IPlayerService/IsPlayingSharedGame/v1?key=<your api key>&steamid=<steamid64>&appid_playing=<appid >

Ex. https://api.steampowered.com/IPlayerService/IsPlayingSharedGame/v1?key=FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF&steam id=76561197968573709&appid_playing=10
Thanks a lot for replying. I appreciate it. Just got another noob questions though if you don't mind.

I created a 'regular API key' which required my website address. Now I enter the URL you supplied inputting my key in the key value but I get an Internal Server Error in return.

https://api.steampowered.com/IPlayerService/IsPlayingSharedGame/v1?key=<snip>&steamid=76561197960265728&appid _playing=10

Have you any idea why, am I doing something wrong?

Edit: I googled IPlayerService and found a Steam Wiki for this API (which has far more information than the 'documentation' and it turns out that one needs to put &format?=xml/json on the end.

Last edited by TehKonijn; 05-06-2014 at 09:42.
TehKonijn is offline
psychonic

BAFFLED
Join Date: May 2008
Old 05-06-2014 , 12:25   Re: Family sharing, get owner's SteamID
Reply With Quote #4

Quote:
Originally Posted by TehKonijn View Post
Thanks a lot for replying. I appreciate it. Just got another noob questions though if you don't mind.

I created a 'regular API key' which required my website address. Now I enter the URL you supplied inputting my key in the key value but I get an Internal Server Error in return.

https://api.steampowered.com/IPlayerService/IsPlayingSharedGame/v1?key=<snip>&steamid=76561197960265728&appid _playing=10

Have you any idea why, am I doing something wrong?

Edit: I googled IPlayerService and found a Steam Wiki for this API (which has far more information than the 'documentation' and it turns out that one needs to put &format?=xml/json on the end.
Is it possible that the player was just not playing the game when you tried?

format is optional on all api calls. (I forget which format is the default, but xml, json, and vdf (keyvalues) all work).
psychonic 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 12:33.


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