Closed mazhura closed 2 years ago
It was hard to download these. Re-uploaded for archiving and to make this easier for me.
Console log: https://t.g-ds.io/A5JDeF Schema: https://t.g-ds.io/9oT3JM Settings: https://t.g-ds.io/iLMs59
You need to put the correct modID into your settings, with no space. Yours starts with 0701...
Your console log does not show your two game values (game length and winning team), so you will want to test those before using the schema. Make sure your game length is wrapped in math.floor(GAME_TIME_ELAPSED)
.
The rest looks good. Well done making a good schema on the first try.
Be aware of the differences in handling empty values.
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=155
Schema ID: https://getdotastats.com/#s2__my__mods
Your schema ID starts with 4F1...
not a v1
i have a correct modid in my mod but i change it to 123 before send you
Ok, good. Just checking. :)
You should be good to go now. Just make sure to double check your game values. They weren't in the console log.
Yep,i check it later Thx :) Have a nice day
I dont know where i neeed to puth math.floor(GAME_TIME_ELAPSED) ? Help me please
In your schema, look for game.gl = GAME_TIME_ELAPSED
that needs to be game.gl = math.floor(GAME_TIME_ELAPSED)
It's under the function BuildGameArray()
I fix it but have in console that error
Script Runtime Error: scripts/vscripts/statcollection\schema.lua:53: bad argument #1 to 'floor' (number expected, got nil)
This is why I said to check your GAME_TIME_ELAPSED
as it wasn't in the console. That error is saying that it's currently got a value of nil
(NULL).
Where i can check it?
Do it without the math.floor, and figure out why it doesn't have a value.
okay thank you
when i put my schemaid in settings.kv i need to puth this like v1_ or ?
Second. Yours starts with 4F1...
okay i choose this a day ago and upload but i didnt see record statistic any and i cant fix with game data but i try
help mee
Play a game and pastebin the console log. If it's not recording, there will definitely be an error in the console log.
Double check that your game.gl = _G.GAME_TIME_ELAPSED
is an integer (a whole number).
We can't really help without knowing the error.
Console Log - http://pastebin.com/nFdiR2Ge Other files - https://drive.google.com/drive/folders/0BxA-o9QBcp5PaEtHZnJsZFFqSUU?usp=sharing