I'm currently trying to find a way to work with objects and manage events for my mod,
when playing it works nicely, but when I load a game where my 'mod' is in used I get the folowing error:
Code: Select all
Error while running deserialisation: [string "do local _={data={},events_manager={names={[1..."]:1: attempt to index global 'table1' (a nil value)
anyways, the problem apears when I am in game and try to load the save, I get the error.
then I select OK, back (in the loading menu) and arrive to the ingame menu but with the main screen background
selecting Resume returns me to the main menu, restart and quit gamecrash the game (but not with the exact same log)
To reproduce:
- use my mod (linked)
- start a game
- save it
- load it -> [error]
- select OK
- select Back
- select quit game or Restart
- see the crash happen
anyways, here are the crash logs: the mod I'm working on that leads to the crash: the checksum from the mod has changed because I removed unnecessary code (one require to a file that I removed since it wasn't used), but the bug still happens on my PC