-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SCHEMA] Naruto Wars Reborn #73
Comments
Lua can do I am not sure what is @jimmydorry liking these days in terms of items, but I think sending 6 item slot entries is problematic because it doesn't tell you anything about item pick rates |
@MNoya Waiting for @jimmydorry response before removing/changing? the items. |
Looks good, including six item slots. You should add a duration variable in the game array. Make sure to math.floor() the time. |
Done :) Output: |
Your schema has been approved. Please double check I didn't make any mistakes in field names or display names. https://getdotastats.com/#s2__mod_schema?mid=140 Your schemaID is here: https://getdotastats.com/#s2__my__mods |
@jimmydorry I'm just wondering about some games having the length of "0:04" where only the host would be connected. I'm aware of a problem where people fail loading the addon, however getdotastats should only get games when "SetGameWinner" is used right? So there are a lot of games like this listed: Should i make a new issue for this? Must be something on my end, but i'm not really sure where to look into to solve this. |
I saw your message on IRC and left you a memo. You are correct in that this should not be happening. You are either doing something funky, or it's a valve bug. Your mod is essentially failing to load, and yet progressing through all of the game stages to post_game. It could be some kind of crash error, where some of the hosts are quick enough to send out the stats, but this shouldn't really be possible. Do you manually set the game stages anywhere in your mod? I think your best bet is to try and reproduce this error and get the console log. |
Phase 2 would only ever be sent if:
Phase 3 would only ever be sent if Phase 2 has been sent and if:
For GDS to think the match lasted 0:04, phase 2 and phase 3 must have been sent. |
@jimmydorry I don't set the game stages manually (using barebones) Those lines might be interesting out of the log (409 - 427):
According to line 409 "DOTA_GAMERULES_STATE_DISCONNECT" it tries to send stuff ( line 420+421) inside the disconnect state? |
Looks like a networking issue. Some one smarter than me (like sinz, bmd, or noya) may have a better idea of how that can happen. |
Ok thats an easier fix than expected, on line 195, add an elseif statement for DISCONNECT, or change line 196 to be an exact comparison (not needed for POST_GAME because if it made it to PRE_GAME, its a legit enough match) |
In your copy of the stat-collection library. |
@SinZ163 @jimmydorry Thank you! Seems to work now :) |
Link to your console log
http://pastebin.com/u7SLdA8w
Link to your settings.kv
http://pastebin.com/RMmPf9WQ
Link to your schema.lua
http://pastebin.com/jQp7YXEn
Link to your Lua files that defines the functions you pull stats from
addon_game_mode.lua : http://pastebin.com/BETgverc
custom hero name : http://pastebin.com/zHpr2E1G
damage dealt / taken : http://pastebin.com/9kmp5HZd
Playerstat meanings:
ph = hero name
pt = team name
pk = kills
pa = assists
pd = deaths
pl = level
plh = last hits
pde = denies
pnw = money
pdd = damage dealt to heroes
pdt = damage taken from heroes
i1 = itemname slot 1
i2 = itemname slot 2
i3 = itemname slot 3
i4 = itemname slot 4
i5 = itemname slot 5
i6 = itemname slot 6
The text was updated successfully, but these errors were encountered: