core icon indicating copy to clipboard operation
core copied to clipboard

Add information about match MVP

Open mrmerkone opened this issue 4 years ago • 4 comments

Is there any way to get information about MVP of the match?

mrmerkone avatar Nov 01 '20 12:11 mrmerkone

Probably, since it can be looked up for old matches. It's probably in one of the GC responses somewhere

howardchung avatar Nov 01 '20 12:11 howardchung

Any chance to get it in matches/<match_id> API soon or i can contribute it by myself?

Where should i look to add this info?

mrmerkone avatar Nov 01 '20 13:11 mrmerkone

The protos in GameTracking-Dota2 might be a good place to start. You might need to NetHook the client to see what calls are being made, and it might need to be added to the node-dota2 repo. @Crazy-Duck might be able to offer some guidance

howardchung avatar Nov 01 '20 19:11 howardchung

I haven't checked the protobufs in a while so don't know where the client is getting the MVP info. But I'd say NetHooking the client like Howard is suggesting is a good place to start.

Crazy-Duck avatar Nov 02 '20 19:11 Crazy-Duck