Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple fix for Steam #171

Open
dolk89 opened this issue Sep 24, 2024 · 3 comments
Open

Simple fix for Steam #171

dolk89 opened this issue Sep 24, 2024 · 3 comments

Comments

@dolk89
Copy link

dolk89 commented Sep 24, 2024

Hey everyone, I was able to fix my Lauhdutin to start polling from steam's new profile format by doing a simple change within Rainmeter\Skins\Lauhdutin.-.3.1.0.beta.4@Resources\main\platforms\steam\init.lua

Change the follwing line: (Line 135)
local url = ('http://steamcommunity.com/profiles/%s/games/?tab=all&xml=1'):format(self.communityID)

To:
local url = ('https://steamcommunity.com/id/<steamID>/games/?tab=all&xml=1'):format(self.communityID)

Where steamID is your profile name. Simple way to get your steamID is to login into steampowered.com and look at the url it sends you. Should be something like: https://steamcommunity.com/id/<steamID>/

With this fix, the tool will only work with the one steamID but that should be good enough for most users. Hopefully someone who knows the .lua framework better than I can come up with a way to auto fill the steamID value.

@BanCrash
Copy link
Contributor

BanCrash commented Sep 25, 2024

Hey everyone, I was able to fix my Lauhdutin to start polling from steam's new profile format by doing a simple change within Rainmeter\Skins\Lauhdutin.-.3.1.0.beta.4@Resources\main\platforms\steam\init.lua

Change the follwing line: (Line 135) local url = ('http://steamcommunity.com/profiles/%s/games/?tab=all&xml=1'):format(self.communityID)

To: local url = ('https://steamcommunity.com/id/<steamID>/games/?tab=all&xml=1'):format(self.communityID)

Where steamID is your profile name. Simple way to get your steamID is to login into steampowered.com and look at the url it sends you. Should be something like: https://steamcommunity.com/id/<steamID>/

With this fix, the tool will only work with the one steamID but that should be good enough for most users. Hopefully someone who knows the .lua framework better than I can come up with a way to auto fill the steamID value.

Did you try to see if communityID is the same as SteamID? If not, try to replace <steamID> with %s, since the communityID is passed as argument.

@dolk89
Copy link
Author

dolk89 commented Sep 25, 2024

Hey, the %s pass in does not work for some reason. I'm not sure how to source that variable just yet. I'm not too familiar with lua.

@BanCrash
Copy link
Contributor

Hey, the %s pass in does not work for some reason. I'm not sure how to source that variable just yet. I'm not too familiar with lua.

If it's not working it's probably because the steamId is not the same as communityID, because it should work as you have right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants