RoanH / KeysPerSecond

A keys-per-second meter & counter. Written for osu! but should work for other rhythm games too.
https://osu.ppy.sh/forum/t/552405/
GNU General Public License v3.0
346 stars 28 forks source link

Auto loading stats on launch does not work #92

Closed UlyssesZh closed 10 months ago

UlyssesZh commented 10 months ago

Auto loading stats on launch does not work. I can, however, load stats manually after it launches.

Relevant part of the config file:

statsSaving:
  autoSave: true
  autoDestination: /home/ulysses/data/KeysPerSecond/stats
  autoFormat: 'md.kpsstats'
  autoInterval: 1000
  saveOnExit: true
  loadOnLaunch: true
  saveFile: /home/ulysses/data/KeysPerSecond/stats/md.kpsstats

Tested on Linux with KPS 8.8.

RoanH commented 10 months ago

Seems like there's a few issues here, not entirely sure yet where things go wrong exactly but I'll make sure it works again for the next release (stats saving in general seems to be in bad shape...). Thanks for the report!

RoanH commented 10 months ago

Alright, it appears that this works when manually loading a config and only fails when the config is being loaded via cli/default. Should not be hard to fix.

RoanH commented 10 months ago

This should now work properly again and hopefully shouldn't regress as easily anymore.