odota / core

Open source Dota 2 data platform
https://www.opendota.com
MIT License
1.52k stars 303 forks source link

Please add assists_log and deathes_log to table<player_matches>, just like kills_log. #1465

Open heqiuzhi opened 7 years ago

heqiuzhi commented 7 years ago

table has kills_log——eg. ([{"time":281,"key":"npc_dota_hero_dark_seer"},{"time":755,"key":"npc_dota_hero_slardar"}])

It's really nice! Can you add assists_log and deathes_log too? Thanks! # @

howardchung commented 7 years ago

Unfortunately the combat log doesn't indicate assists.

You should be able to compute deaths by reading all of the kills_logs and working backwards.

heqiuzhi commented 7 years ago

Dotabuff

qq 20170520083509

image

Can you get the assist info by reading death_log and damage_log in combat log? Kills_log alone (without assist_info) is useless ! Thanks.

howardchung commented 7 years ago

I think this is from reading the CHAT_EVENT_HERO_KILL events. Can look into it.

heqiuzhi commented 7 years ago

How can I get the CHAT_EVENT_HERO_KILL events ? Is there any API ? I don't want to parse the replay myself .

howardchung commented 7 years ago

That data's part of the replay, so you'll have to parse it or make a pull request to odota/parser to extract and store the data so it can be delivered over the API.

dota2heqiuzhi commented 6 years ago

any update? I also need the details of death log(like dotabuff) image image