Hardcore Questing Mode [FORGE/FABRIC]

Hardcore Questing Mode [FORGE/FABRIC]

16M Downloads

Naming a quest set "sets", "reputations" or "bags" crashes next world load with potentially massive data loss

Funwayguy opened this issue ยท 0 comments

commented

Because sets.json, reputations.json and bags.json are stored in the same location as the quest sets, attempting to use any one of these three names results in a crash the next time the user attempts to load the world. After the first crash the world will load again however, due to the load order and how HQM destroys all subsequent data when failing to read various files, each of these names will have varying degrees of collateral damage.

  • sets.json - Only destroys that set of data. Bags and reputations appear to remain intact
  • reputations.json - All sets and reputation data is lost. Bags remain intact
  • bags.json - All JSON data within the default directory is lost

Note: Although this could probably be solved in the short term by blacklisting the names, realistically the sets should either be moved to a separate directory or not use their display names as the filename at all.