Community Forum

Error: Running LUA method 'update'

Forum Overview >> Scripting

CategoryScripting
Created04.06.2021 05:41


Serge John (Serge325) 04.06.2021 05:41
Hello I tried to search for an answer to fix this error but couldn't find anything. Hope you can help me out. thank you in advance


2021-06-04 05:17 dataS2/character/humans/player/player01.i3d (244.53 ms)
2021-06-04 05:17 Setting 'Radio Volume': 0.5
2021-06-04 05:17 Setting 'Vehicle Volume': 0.89999997615814
2021-06-04 05:17 Setting 'Environment Volume': 0.60000002384186
2021-06-04 05:17 Setting 'GUI Volume': 0.5
2021-06-04 05:17 Info: Savegame Setting 'dirtInterval': 3
2021-06-04 05:17 Info: Savegame Setting 'plantGrowthRate': 4
2021-06-04 05:17 Info: Savegame Setting 'fuelUsageLow': true
2021-06-04 05:17 Info: Savegame Setting 'plowingRequiredEnabled': false
2021-06-04 05:17 Info: Savegame Setting 'weedsEnabled': true
2021-06-04 05:17 Info: Savegame Setting 'limeRequired': true
2021-06-04 05:17 Error: Running LUA method 'update'.
2021-06-04 05:17 dataS/scripts/fieldJobs/TransportMission.lua(186) : attempt to index local 'item' (a nil value)
2021-06-04 05:17 Error: Running LUA method 'update'.
2021-06-04 05:17 dataS/scripts/fieldJobs/TransportMission.lua(186) : attempt to index local 'item' (a nil value)
2021-06-04 05:17 Error: Running LUA method 'update'.
2021-06-04 05:17 dataS/scripts/fieldJobs/TransportMission.lua(186) : attempt to index local 'item' (a nil value)


Bilbo Beutlin (BBeutlin) 05.06.2021 08:16
Check the map's "transportMissions.xml" for proper setup of each <object filename=..
Make sure these objects exist and are in the right path.
The active transportMission you'll get by the savegame's file "missions.xml"
<mission type="transport" .. objectFilename=..

Could be also, there's a syntax error in the transportMissions.xml. Check eg. with Notepad++ plugin "XML Tools".

Serge John (Serge325) 05.06.2021 13:59
Thanks for your answer I will take a closer look. I'll keep you informed.

Serge John (Serge325) 07.06.2021 18:33
Thanks I created a new xml and the error is in the past


Note: Log in to post. Create a new account here.