planqi / slashdiablo-maphack

A customized maphack for the slashdiablo D2 server
GNU Affero General Public License v3.0
88 stars 42 forks source link

Feature/run tracker #96

Closed dschu012 closed 3 years ago

dschu012 commented 3 years ago

fixes #94. Configurable tracking of your runs, drops, xp gained. By default it will track all items notified in game when out of town. If you want to disable the tracking of a certain drop (i.e. small/grand charms) you can add %notrack% to that row in your item config. Still something to figure out is how to prevent duplicate drops when you go out of range and back into range for an item.

The following settings should be added to BH_settings.cfg to configure it by default.

Tracker Ping Level: 4
Save Run Details: True, None
Save Run Details Location: ./data/%CHARNAME%.csv

Run Details[Count]: "%SESSIONGAMECOUNT%"
Run Details[Date]: "%JOINDATE%"
Run Details[Time]: "%JOINTIME%"
Run Details[Game Name]: "%GAMENAME%"
Run Details[Difficulty]: "%GAMEDIFF%"
Run Details[Start Level]: "%CHARLEVELPERCENT%"
Run Details[Run Length (sec)]: "%LASTGAMETIMESEC%"
Run Details[XP Gained]: "%LASTXPPERCENTGAINED%"
Run Details[XP/s]: %LASTXPPERSECLONG%
Run Details[Drops]: " %DROPS%"

example output.

Count,Date,Time,Game Name,Difficulty,Start Level,Run Length (sec),XP Gained,XP/s,Drops
"35","2020-12-06","21:37:35-0500","Danny33","Hell","95.286417","255","+0.65%",5717.889764," <<< T1 Ber Rune >>>, +T4 Ring"

you can then open that csv in excel and do any kind of manipulation to that data u want to get average xp per run ect....

image

All of the different details you can track in columns