PyroFire232 / warptorio2

An updated / refined version of warptorio https://mods.factorio.com/mod/warptorio
8 stars 8 forks source link

Warptorio2 crashes when trying to convert a save into a scenario #19

Open aqocyrale opened 9 months ago

aqocyrale commented 9 months ago

https://mods.factorio.com/mod/warptorio2/discussion/643ffe333abf8ccfeb0996ff

Steps to reproduce:

  1. Disable all mods (other than Base mod) and then enable Warptorio2 (1.3.10) which will also enable Planetorio (0.1.5) as a dependency
  2. Single player -> New game -> Freeplay -> Next -> Play
  3. Tab to skip intro -> Esc -> Save game -> Save as [warptorio-test-filename] -> Quit game
  4. (main menu) Map editor -> Convert save -> Select [warptorio-test-filename] -> Convert

Then you will get this error: https://i.imgur.com/1UzUrxc.png

I tried doing what Faryu suggested in the factorio thread, edited lib/lib_control_cache.lua with his suggested changes, but doing so only partially alleviated the problem, not fully solved it, as although it finally allows to convert a save into a scenario without crashing, it still crashes once you actually open the scenario and try to unpause it in the map editor.

Please fix ;w; the mod is very fun, Warptorio2 is the most fun I had with factorio in a while, would love to see this fixed