Commit Graph

6 Commits

Author SHA1 Message Date
Thome Valentin
1b6ab0085f Fixed note scroll speed defaulting to 0.5x for newly registered profiles.
Introduced several new interfaces, and refactored code to cleanup profiles.ts
2022-05-16 13:50:18 +02:00
Thome Valentin
f501bab164 Fixed bug preventing MDB files in XML format from loading correctly. 2022-05-11 17:06:03 +02:00
Thome Valentin
257c9962f5 Added several player profile stats to the web UI.
Refactored and cleaned up several functions.
MDB loader now logs the number of loaded songs available to GF and DM.
MDB: Fixed "is_secret" field being ignored (always set to false)
2022-05-04 06:58:17 +02:00
Thome Valentin
89be828ef8 Rewrite MDB loading code to support loading .xml, .json or .b64 files. This applies to the default MDB (determined by the version of the game requesting it), or custom MDB if that setting is enabled. To use a custom MDB, enable it in Web UI, then place a custom.json, custom.xml or custom.b64 file in the data/mdb subfolder. 2022-05-01 12:24:17 +02:00
Thome Valentin
2929045847 - Fixed server error when saving profiles for two Guitar Freaks players at the end of a session. Fixes issue #39.
- Fixed another server error when two players are present, but only one player is using a profile.
- Added support for the "ranking" field. Gitadora will now correctly display your server ranking (based on Skill) on the post-game screen.
- Added logging for profile loading/saving when Asphyxia is running in dev mode.
- Added more logging to mdb (song database) loading.
- "Recommended to friends" songs are now saved and loaded correctly. Since you don't have any friends, this won't be terribly useful, but it does at least provide an extra five slots for saving your favourite songs.
- Fixed "Recommended to friends" song list being incorrectly initialized to "I think about you".
- Removed some unneeded duplicate code.
- Latest getPlayer() and savePlayers() API requests and responses are now saved to file when Asphyxia is in dev mode. Useful for debugging.

NOTE: The above has only been tested on Gitadora Exchain.
2022-04-28 10:18:16 +02:00
DitFranXX
65ffaa5417 Resturcture bit 2021-05-10 12:09:37 +09:00