jshackles / Enhanced_Steam

Enhances the Steam Experience
www.EnhancedSteam.com
GNU General Public License v3.0
1.31k stars 195 forks source link

Option to remove Free-To-Play Games from being highlighted #55

Closed ghost closed 11 years ago

ghost commented 11 years ago

Option to remove Free-To-Play Games from being highlighted as currently being owned. Thanks

jshackles commented 11 years ago

Enhanced Steam uses the Steam API to determine if a game is owned. Valve returns "is_owned: true" for all Free-To-Play games.

For example, the recently released "March of War" calls this API:

http://store.steampowered.com/api/appuserdetails/?appids=234310

Which indicates that the game is owned, but does not indicate that it is free-to-play.

Faalagorn commented 11 years ago

I'm not a coder, but I think that this should be possible, albeit a bit complicated. While Steam defenitely says you own the Free to Play game, you can also add an another filter on top of that checking whether the game is free to play (by checking it's price)

vmwinckler commented 11 years ago

http://store.steampowered.com/api/appdetails/?appids=234310

Result data price_overview (Optional) Omitted if free-to-play.

font: http://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI

test if exists "price_overview". if not = free

i want new tag "free" :)

jshackles commented 11 years ago

vmwinckler - what you're suggesting will actually work and has been possible for quite some time. However, when evaluating if a user owns an app, Enhanced Steam is currently calling the appuserdetails API. Having an additional call to the appdetails API to determine if the game is Free-to-play would essentially double the processing time required for this process.

I may have to do it this way, and have it set as a option that is disabled by default.

vmwinckler commented 11 years ago

good! user's choice :) Add this option and add one great alert over possible delay :)

...or maybe you can catch this info from your partner ? Example: http://isthereanydeal.com/#/page:game/info?plain=warthunder