vasl-developers / vasl

Virtual Advanced Squad Leader
http://vasl.info/
GNU Lesser General Public License v2.1
66 stars 28 forks source link

Accumulate dice-roll stats on log-playback #198

Open jvarsoke opened 9 years ago

jvarsoke commented 9 years ago

In a multi-session VASL game, the dice-stats logger only keeps track of the current session. However, it would be beneficial if, when playing back through a log (starting a log at the beginning and advancing until the current state) all rolls were added to the stats. This would allow stats to be accumulated over the whole game, rather than just the session.

It could potentially allow for other players, when reviewing someone else's log, to see the dice stats if this issue were resolved along with #197 .

mistertakai commented 9 years ago

A tool to merge logs would solve this as well.

jvarsoke commented 9 years ago

While valuable in its own right, it wouldn't solve this problem. You would just have one long logfile - but playing through it wouldn't give you the dice-stats unless the dice-stat system kept track of rolls in the log (which is currently does not -- I suspect the dice-stats are accumulated on the button-pushes, currently).