Train LUA Error

Thebull725
Posts: 2
Joined: Thu Dec 13, 2018 8:11 pm

Train LUA Error

Post by Thebull725 »

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'.
User avatar
LS09God
Posts: 295
Joined: Sat Jul 09, 2011 10:38 am
Location: Netherlands.

Re: Train LUA Error

Post by LS09God »

I had the same problem today. :hmm:
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:
ASUS ROG Strix X570-E mobo.
AMD Ryzen 5 2600 processor.
Corsair 32Gb DDR4 internal mem.
Sandisk 1Tb SSD as boot and game drive.
Samsung 1Tb hdd for general storage.
Gigabyte RTX2070 super graphics card.
Razer Naga Chroma mouse.
Logitech G27, G13. Saiteck HOTAS pro.
Razer BlackWidow Keyboard.
Fiber connection.
Thebull725
Posts: 2
Joined: Thu Dec 13, 2018 8:11 pm

Re: Train LUA Error

Post by Thebull725 »

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!
jodamm
Posts: 96
Joined: Thu Mar 30, 2017 7:22 pm

Re: Train LUA Error

Post by jodamm »

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

Code: Select all

<item/>
entries in the items.xml the savegame worked again. Maybe your savegame has the same problem.
coolfarmer
Posts: 67
Joined: Thu Feb 09, 2017 10:42 pm
Location: Canada (Quebec)

Re: Train LUA Error

Post by coolfarmer »

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.

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'.
Post Reply