Preset : Epic Free Games Tracker V6

Urgent Hotfix Alert

HOTFIX : Something got messed up with the formulas. Trying to fix Metacritic portion, but the rest is good for now.

Version 9

Epic_Free_Games_Tracker_V9.kwgt (218.4 KB)

Version 10 - Fixed

Finally fixed it

Here is what changed, in summary

Fixed the Metacritic logic. The feed for this game does not contain the score on the lootscraper repo, but now it checks if that is the case. It also adjusts the margin depending on if the score is available.

Note: Tapping the green Metacritic square still sends you to the corresponding site

Major changes

Added a currency converter as a komponent. The proper credit is given in the komponent. Currently, it only converts from Euro to USD, but you can modify the url to EUR.Currency It is found in the rate global

Also, I made it so the url parses the game title minus special characters, since those are removed in the final Metacritic game url.

Note: keep EUR as the base in the url because that is the currency the developer of lootscraper has used.

For example, to convert from Euro to FOO (not a real currency) change the formula to

$wg("https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@2024-03-06/v1/currencies/eur.json", json, .eur.foo)$

Formula Update

For the latest currency rate, use

$wg("https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/eur.json", json, .eur.usd)$

Epic_Free_Games_Tracker_V10.kwgt (231.7 KB)

New Hotfix

Sorry to keep on doing this, but something keeps happening to the widget. I have added more checks to see if data that is supposed to show up does, if not then it displays a message.

V11

Epic_Free_Games_Tracker_V11.kwgt (230.6 KB)

Here is the messed up one for reference

Hotfix again

V12 adds a check for whether the release date is shown on the feed or HTML. I know the title of the game needs some width fixes, but I will get to it someday. Also, the use of a blue gradient for the check makes it look out of place, but it should be the last hotfix.

Here is the check in the overlap group with Fallback in its title

$if(tc(split, tc(reg, gv(ratings), "", ""), "", 17)~=17, REMOVE, ALWAYS)$

Epic_Free_Games_Tracker_V12.kwgt (210.1 KB)