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] Enfo's Team Survival #41

Open D3luxe opened 8 years ago

D3luxe commented 8 years ago

Console: http://pastebin.com/9zH8Nm2n Settings: http://pastebin.com/mP6PjiR2 Schema: https://github.com/D3luxe/Enfos/blob/master/game/scripts/vscripts/statcollection/schema.lua Addon_game_mode: https://github.com/D3luxe/Enfos/blob/master/game/scripts/vscripts/addon_game_mode.lua

jimmydorry commented 8 years ago

Looks good.

Drop the connection status, and make the team into a string (like "Dire" and "Radiant").

jimmydorry commented 8 years ago

SchemaID should be visible here: http://getdotastats.com/#s2__my__mods

jimmydorry commented 8 years ago

There is one more thing you should do, but won't change the schema.

You should have a version flag.

Look at how PMP did it, and steal it.

https://github.com/MNoya/PMP/blob/master/game/dota_addons/pmp/scripts/vscripts/statcollection/schema.lua#L6 https://github.com/MNoya/PMP/blob/master/game/dota_addons/pmp/scripts/vscripts/pmp.lua#L3 https://github.com/MNoya/PMP/blob/master/game/dota_addons/pmp/scripts/vscripts/pmp.lua#L1255