What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Displaying steam status in PSM

[?] Displaying steam status in PSM
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: [?] Displaying steam status in PSM
Although it's true that the XMLs delivered by the Steam Community don't provide much valuable data, you can get the current status and the name of the game currently being played if the user has set his profile visibility to public. (privacyState = public, visibilityState = 3)

First, you check the value of "onlineStatus". This can be "offline", "online" or "in-game". If the user is in-game, there will be an additional "inGameInfo" block and an "inGameServerIP" node. This may look like this:
XML code:
    <inGameServerIP>1.2.3.4:5678</inGameServerIP>
    <inGameInfo>
        <gameName><![CDATA[Garry's Mod]]></gameName>
        <gameLink><![CDATA[http://store.steampowered.com/app/4000]]></gameLink>
        <gameIcon><![CDATA[http://media.steampowered.com/steamcommunity/public/images/apps/4000/d9101cbeddcc4ff06c7fa1936c3f381b0bbf2e92.jpg]]></gameIcon>
        <gameLogo><![CDATA[http://media.steampowered.com/steamcommunity/public/images/apps/4000/dca12980667e32ab072d79f5dbe91884056a03a2.jpg]]></gameLogo>
        <gameLogoSmall><![CDATA[http://media.steampowered.com/steamcommunity/public/images/apps/4000/5e47aefd968b67fdedf3155f92686991a3ec197e.jpg]]></gameLogoSmall>
        <gameJoinLink><![CDATA[steam://connect/1.2.3.4:5678]]></gameJoinLink>
    </inGameInfo>

As you can see, there's plenty of information there about the name and the server the user is currently playing on. The only requirement is that you set your profile to public which shouldn't be so much of a problem when you're cautious about what you actually publish on it.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
08-07-2010 08:18 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Displaying steam status in PSM - by ryxdp on 08-07-2010 at 04:11 AM
RE: [?] Displaying steam status in PSM - by matty on 08-07-2010 at 04:56 AM
RE: [?] Displaying steam status in PSM - by MeEtc on 08-07-2010 at 07:25 AM
RE: [?] Displaying steam status in PSM - by Matti on 08-07-2010 at 08:18 AM
RE: [?] Displaying steam status in PSM - by ryxdp on 08-08-2010 at 04:23 AM
RE: [?] Displaying steam status in PSM - by Matti on 08-08-2010 at 09:19 PM
RE: [?] Displaying steam status in PSM - by MeEtc on 08-09-2010 at 01:10 AM
RE: RE: [?] Displaying steam status in PSM - by ryxdp on 08-11-2010 at 08:22 AM
RE: [?] Displaying steam status in PSM - by matty on 08-11-2010 at 01:14 PM
RE: RE: [?] Displaying steam status in PSM - by ryxdp on 08-12-2010 at 08:49 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On