GetDotaStats / stat-collection

Library for setting up stat collection for dota2 mods
http://getdotastats.com/
GNU General Public License v2.0
11 stars 8 forks source link

[SCHEMA] Battle of Mirkwood #57

Open XavierCHN opened 8 years ago

XavierCHN commented 8 years ago

Console Log

Schema.lua

settings.kv

"StatInfo"
{
    // Registered gamemode ID from http://getdotastats.com/#s2__my__mods
    "modID"             "abcdefglalalalalalalallaaaaaaaaa"

    // If you want to implement custom stats, contact an admin to setup your schema and change this ID
    // Otherwise leave it unchanged
    "schemaID"          "XXXXXXXXXXXXXXXX"

    // Do we need to enable the round API or not.
    "HAS_ROUNDS"        "false"

    // Do we want statCollection to use team winner for game victory?
    "GAME_WINNER"       "true"

    // Do we want statCollection to use ancient explosions for game victory?
    "ANCIENT_EXPLOSION" "false"

    // Turn this off to prevent from sending stats of workshop tools developer lobbies
    "TESTING"           "true"

    // Stats for live games will only be recorded if the lobby has at least this amount of players
    // A TESTING parameter of `true` allows stats regardless of the minimum players
    "MIN_PLAYERS"       "2"
}
SinZ163 commented 8 years ago

Ok so if im reading it correctly, you have the score of each team as game values. (s1, s2)

and name, kills, deaths, last hits, gold earned, abandon time and their 7 abilities. (hn, hk, hd, lh, xg, at, a1, a2, a3, a4, a5, a6, a7)

Though assists, XPM / GPM and denies aren't, not sure if applicable to the game mode though.

jimmydorry commented 8 years ago

Is it always seven abilities though? I vaguely recall having more when I played, but I could be very wrong. If we define it as seven, then seven must always be present, and abilities above seven won't count.

Just letting you know that variables that are exactly -1 won't get displayed in the graphs, but are recorded. If you want them to be rendered, set to 0. If you don't want them recorded at all, makes them null or nil (I need to implement the null nill check).

Also, another thing to point out is that each slice of the pie is divided by youpr level, in the way you have done it. You may want to add another 7 variables that are the skill name only, so you get that combined overview too.

You also have a star system. Why not record the stars too? And weren't there purchased stats and levels? Do you maybe want to record number purchased?

Looks good otherwise. When you are happy, either sinz or I can make the schemaID quickly. I will check back tomorrow.

SinZ163 commented 8 years ago

@jimmydorry the schemaID's already been made

jimmydorry commented 8 years ago

Yep. I was too slow. If @XavierCHN wants any changes, another version can be pushed out. :)

jimmydorry commented 8 years ago

@XavierCHN You look live now. Consider my response above and let us know if you want to enhance your schema, particularly for the purchased stats and stars, and the straight abilities without levels.