Has anyone seen this LUA Error before or know what could be causing it? I have almost 200 hours on the basic map and now when I load in, I can't move.
2018-12-13 13:05 dataS/scripts/vehicles/specializations/Locomotive.lua(365) : attempt to index field 'trainSystem' (a nil value)
2018-12-13 13:05 Error: Running LUA method 'update'.
Train LUA Error
5 posts
Page 1 of 1
Re: Train LUA Error
I had the same problem today.
Funny enough the farm house was gone and I couldn't move. Career start point as if I never owned the house.
Menu is access-able but that's it. Had to do alt f4 to stop the broken savegame.
In the log it showed only this error:
2018-12-14 15:12 dataS/scripts/vehicles/specializations/Locomotive.lua(365) : attempt to index field 'trainSystem' (a nil value)
2018-12-14 15:12 Error: Running LUA method 'update'.
Map: Felsbrunn.
Version: 1.2.0.1.
Mods: Only Giants Modhub mods.
How to reproduce: Save and exit the game. Load back in and then it happens. This is a random event, doesn't happen all the time.
Funny enough the farm house was gone and I couldn't move. Career start point as if I never owned the house.
Menu is access-able but that's it. Had to do alt f4 to stop the broken savegame.
In the log it showed only this error:
2018-12-14 15:12 dataS/scripts/vehicles/specializations/Locomotive.lua(365) : attempt to index field 'trainSystem' (a nil value)
2018-12-14 15:12 Error: Running LUA method 'update'.
Map: Felsbrunn.
Version: 1.2.0.1.
Mods: Only Giants Modhub mods.
How to reproduce: Save and exit the game. Load back in and then it happens. This is a random event, doesn't happen all the time.
Specs:
-
- Posts: 2
- Joined: Thu Dec 13, 2018 8:11 pm
Re: Train LUA Error
Yeah, same here. Most of my buildings were gone too. I can start another save game on the same map and everything works fine too!
Re: Train LUA Error
Hi,
I had a savegame from someone on this forum, that had the same problem. The items.xml was broken. After searching and deleting all entries in the items.xml the savegame worked again. Maybe your savegame has the same problem.
I had a savegame from someone on this forum, that had the same problem. The items.xml was broken. After searching and deleting all
Code: Select all
<item/>
-
- Posts: 67
- Joined: Thu Feb 09, 2017 10:42 pm
- Location: Canada (Quebec)
Re: Train LUA Error
My god, I got that error and need to rollback to the precedent save EVERY 6-10 days, I lost over 60 minutes of job every time.
I hope a patch will correct this, it become unplayable on Dedicated Server.
I hope a patch will correct this, it become unplayable on Dedicated Server.
Code: Select all
2018-12-27 22:39 dataS/scripts/vehicles/specializations/ConnectionHoses.lua(163) : attempt to index field 'connectedObject' (a nil value)
2018-12-27 22:39 Error: Running LUA method 'update'.
5 posts
Page 1 of 1