Closed Its-Haze closed 10 months ago
Keep in mind this is a League of Legends API and not listed as a TFT API.
@bangingheads Sure, but if the game mode is "TFT"
And the field "level" corresponds to the actual level i have in TFT (which is great!).. Then I would also assume/expect the "currentGold" value to correspond to the actual gold I have too. Right?? Or am i missing something here?
Riot has never stated that the In Game API is supported for TFT nor does it say so in documentation so I was just stating that it is unlikely they will fix bugs for an unsupported use case.
Things that show correctly are a consequence of them sharing the same values as League of Legends.
Little fun fact for you: The currentGold value you see is actually your "summoner's rift gold", you can even see it count up passively just like it would for league.
TFT is still a league game mode after all and it made more sense for them to create a separate system for your TFT gold. But since some things in League are baked in deep (like the fact that to this day, you are basically playing Kaisa when playing TFT) into the game, the league gold system is still there, counting happily in the background.
Source: 2 TFT engineers that are no longer working on TFT :/
TLDR: The value is accurate, just not in the way you want it to be
Understood. thanks
Bug Description
The endpoint
https://127.0.0.1:2999/liveclientdata/activeplayer
shows the currentGold value. However that value does not correctly correspond to the actual gold my activeplayer has in game.Problem Description
The value of
currentGold
does not represent my actual current gold in game.Expected Result
Expecting
curentGold
value to represent my in game gold amount inInteger
(whole numbers). since that is what's represented in the game.Actual Result
currentGold shows crazy high numbers with decimals, which does not make much sense.
Ingame:
The API: "
https://127.0.0.1:2999/liveclientdata/activeplayer
"Developer Impact
Developing stuff around the riot API is very difficult when values don't match what the expectations are.
Repro Steps
https://127.0.0.1:2999/liveclientdata/activeplayer
in the URL field.