Open Wouterz90 opened 7 years ago
Check out the other open issues. You need to be recording more. Just heroName
will be a little bit sad.
Do you have a scoring system? If you are displaying it somewhere in the mod, you should be able to put it in the schema.
If you really just want to see which heroes are winning, we can certainly proceed, but I don't think you are getting enough value out of this.
Change line 84 here from heroname = GetHeroName(playerID)
to hn = GetHeroName(playerID)
Here's your schema, please review the fields to make sure I didn't make a mistake.
Feel free to suggest changes!
Schema: https://getdotastats.com/#s2__mod_schema?mid=154
Schema ID: https://getdotastats.com/#s2__my__mods
Your schema ID starts with 66
not v1
Thanks, I will certainly do that in the feature but for now this should be fine. I'll use this again when I have planned how I really want to handle this.
I still do not have a lot of information to store but it is nice to see that players are playing and that I can gather a little data from it. I changed a few things around, it might even store less now but I think I will see more games ending.
Console Log settings.kv Schema addon_gamemode.lua gamemode.lua
Knock yourself out. Without knowing your mod, I would have thought lives were a player thing, and I also would have assumed that the map doesn't change during the game (thus better suited as a flag).
Here's your schema, please review the fields to make sure I didn't make a mistake.
Feel free to suggest changes!
Schema: https://getdotastats.com/#s2__mod_schema?mid=154
Schema ID: https://getdotastats.com/#s2__my__mods
Your schema ID starts with UO
not v2
Console Log settings.kv Schema addon_gamemode.lua gamemode.lua
That should be it, thanks for providing such an awesome service!