raiguard / RecipeBook

Recipe Book for Factorio.
MIT License
19 stars 9 forks source link

[BUG][3.5.5] __RecipeBook__/scripts/formatter.lua:364: attempt to concatenate field '?' (a nil value) #135

Closed ZwerOxotnik closed 1 year ago

ZwerOxotnik commented 1 year ago

Description

factorio-current.log

Reproduction

  1. Connect to a server.
  2. Save the game while the mod didn't translate everything.
  3. Load in SP -> crash right away.
ZwerOxotnik commented 1 year ago

nvm, the server got the error and I saved it, it didn't show the error at that moment. I was AFK and the mod translated 95% for me. Only host and I was online.

raiguard commented 1 year ago

I'm not able to reproduce the crash with the mods in your log file. Please send me a save file with consistent reproduction steps.

ZwerOxotnik commented 1 year ago

Unfortunately, Factorio doesn't sync versions of mods for saves properly. It triggers another event which resets some data and doesn't cause the issue again, so I don't know how to provide stuff properly. (My current versions of mods doesn't cause the issue right now and syncing in saves doesn't help to load previous versions of mods)

raiguard commented 1 year ago

In that case, I'll go ahead and close this. Both issues are almost guaranteed to be related to the on_load info caching, and is the primary reason why I am rewriting the mod from scratch. This shouldn't be an issue in 4.0.