web icon indicating copy to clipboard operation
web copied to clipboard

Gold graph does not match the in-game networth

Open zachkont opened this issue 5 years ago • 2 comments

Current Behavior In-game hero networth and opendota graph numbers don't match

Expected behavior/code I would have expected the gold graphs and in-game networth numbers to be the same

Console Output N/A - This is probably not a web bug but the report a bug button linked this repo so I just went ahead, sorry if it's not the right place

Environment

  • Browser Version: [e.g. Chrome 64.0, Firefox 57, Edge 17]
  • OS: [e.g. OSX 10.13.4, Windows 10 or Linux Distribution]

Possible Solution The numbers match the in-game networth number or more realistically the gold calculation formula and possible discrepancy reason is explained in the site (maybe a tooltip or something)

Additional context/Screenshots A clear and concise description of the behavior. image image

https://www.opendota.com/matches/5380142389/graphs

zachkont avatar Apr 27 '20 07:04 zachkont

This is because the stat we're extracting from the replay is 'gold earned' not 'net worth'. I believe net worth is in a separate field that we could display separately if we wanted

howardchung avatar Apr 27 '20 10:04 howardchung

Yeah I imagined it was something like that but I can't understand how the MK can have less gold earned than he has networth. Does it not count the starting gold either?

Also it would be very cool to show both graphs imo

zachkont avatar Apr 27 '20 11:04 zachkont