Open ash47 opened 8 years ago
Your field names should aim to be 3 characters or less. They don't need to be readable, just need to be unique. The mapping of these fields to readable names is done on our end.
Make sure all of your numbers are rounded or floored (like GPM).
Your item values can be way more readable by dropping the "item_" prefix. We have a function for that.
Keep in mind that you can send:
Looks good otherwise.
Give me the updated schema with your shorter field names, or I can generate them for you.
Hero names can also be shortened using this function
Oh yea. Nice pickup. Missed that one.
@jimmydorry @SinZ163
I have updated the schema as below:
http://hastebin.com/podefaxoru.css
Here is where I am storing the flags, I have added comments and data types to help you guys understand exactly what I am setting:
Here is the function I am using to generate the player stats, again, I have commented it to try and help out:
@jimmydorry @SinZ163
Updated Again, added EXP per minute, and current gold:
http://hastebin.com/ekubaqapim.css
Settings the flags:
Setting the player stuff:
Flags don't have a schema. You will want those keys to be readable. Your schema stuff is fine though.
Lol FML, will fix On 2 Mar 2016 9:04 PM, "jimmydorry" notifications@github.com wrote:
Flags don't have a schema. You will want those keys to be readable. Your schema stuff is fine though.
— Reply to this email directly or view it on GitHub https://github.com/GetDotaStats/stat-collection/issues/71#issuecomment-191167645 .
Console Log: http://hastebin.com/ajoboqewiw.css Settings.kv: https://github.com/ash47/LegendsOfDota/blob/71ffa889d5d4a9fd79df831af1af8f77565beda2/src/scripts/vscripts/statcollection/settings.kv Schema.lua: https://github.com/ash47/LegendsOfDota/blob/71ffa889d5d4a9fd79df831af1af8f77565beda2/src/scripts/vscripts/statcollection/schema.lua
Function to generate player data:
https://github.com/ash47/LegendsOfDota/blob/71ffa889d5d4a9fd79df831af1af8f77565beda2/src/scripts/vscripts/pregame.lua#L137-L195