Skip to content

Map Cache Rework#114

Draft
fogsaturate wants to merge 23 commits into
Rhythia:indevfrom
fogsaturate:indev
Draft

Map Cache Rework#114
fogsaturate wants to merge 23 commits into
Rhythia:indevfrom
fogsaturate:indev

Conversation

@fogsaturate

Copy link
Copy Markdown
Contributor

This PR fixes the broken map caching that was implemented in game. I also optimized it a little bit more by adding date modified checks before the hash checks

Process of Map Caching goes like this

  • Check if map exists in the database
    • If exists, check for last modified (If it matches, then skip the map)
    • If exists, check for map hash (If it matches, then skip the map)
  • If it doesn't exist in the database, parse it, then store the modified and hash into the database

The reason I am drafting this PR for now is because it still has bugs, PLUS it permanently alters your map folder.

So if you use this build of Rhythia, please be sure to BACK UP YOUR MAPS FOLDER!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant