Error while running deserialisation
Posted: Fri Nov 10, 2017 4:14 pm
Wondering if this limit is intended, and whether there is a way around it?
Error while running deserialisation: [string "...":1: too many local variables (limit is 200) in main function near '='
Basically it seems that for lua code for a scenario, if there are more than 200 items in a hashmap, it crashes.
Script attached, also attached a save game which triggers this error upon loading it. I'll ask my friend to put up a desync log/report from attempting to join a game after this state (e.g. there having been more than 200 chests stored in the global hashmap).
Error while running deserialisation: [string "...":1: too many local variables (limit is 200) in main function near '='
Basically it seems that for lua code for a scenario, if there are more than 200 items in a hashmap, it crashes.
Script attached, also attached a save game which triggers this error upon loading it. I'll ask my friend to put up a desync log/report from attempting to join a game after this state (e.g. there having been more than 200 chests stored in the global hashmap).