Community Forum

Save Game issue due to Animal Husbandry issue

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created03.05.2020 16:47


William Dowell (JD4320) 03.05.2020 16:47
So Ive imported a cow husbandry into a map via the Shy Wizard tutorial on YT and ive come up with these LUA callstacks and when I exit the game and it gets stuck saving. Any help would be appreciated as Id like to get this map finished before work irl picks up after this rain.

2020-05-03 10:01 Warning (script): Unknown entity id 0 in method 'getTranslation'.
2020-05-03 10:01 LUA call stack:
2020-05-03 10:01 dataS/scripts/placeables/Placeable.lua (994) : getTranslation
2020-05-03 10:01 dataS/scripts/animals/AnimalHusbandry.lua (251) : saveToXMLFile
2020-05-03 10:01 dataS/scripts/missions/mission00.lua (897) : saveToXMLFile
2020-05-03 10:01 dataS/scripts/FSCareerMissionInfo.lua (302) : saveItems
2020-05-03 10:01 dataS/scripts/missions/SavegameController.lua (290) : saveToXMLFile
2020-05-03 10:01 =[C] (4294967295)
2020-05-03 10:01 dataS/scripts/missions/SavegameController.lua (428) : saveWriteSavegameStart
2020-05-03 10:01 dataS/scripts/FSBaseMission.lua (2881) : saveSavegame
2020-05-03 10:01 dataS/scripts/FSBaseMission.lua (2230) : saveSavegame
2020-05-03 10:01 dataS/scripts/FSBaseMission.lua (2086) : updateSaving
2020-05-03 10:01 dataS/scripts/missions/mission00.lua (469) : update
2020-05-03 10:01 dataS/scripts/main.lua (1896) : update
2020-05-03 10:01 Warning (script): Unknown entity id 0 in method 'getRotation'.
2020-05-03 10:01 LUA call stack:
2020-05-03 10:01 dataS/scripts/placeables/Placeable.lua (995) : getRotation
2020-05-03 10:01 dataS/scripts/animals/AnimalHusbandry.lua (251) : saveToXMLFile
2020-05-03 10:01 dataS/scripts/missions/mission00.lua (897) : saveToXMLFile
2020-05-03 10:01 dataS/scripts/FSCareerMissionInfo.lua (302) : saveItems
2020-05-03 10:01 dataS/scripts/missions/SavegameController.lua (290) : saveToXMLFile
2020-05-03 10:01 =[C] (4294967295)
2020-05-03 10:01 dataS/scripts/missions/SavegameController.lua (428) : saveWriteSavegameStart
2020-05-03 10:01 dataS/scripts/FSBaseMission.lua (2881) : saveSavegame
2020-05-03 10:01 dataS/scripts/FSBaseMission.lua (2230) : saveSavegame
2020-05-03 10:01 dataS/scripts/FSBaseMission.lua (2086) : updateSaving
2020-05-03 10:01 dataS/scripts/missions/mission00.lua (469) : update
2020-05-03 10:01 dataS/scripts/main.lua (1896) : update
2020-05-03 10:01 Error: Running LUA method 'onSaveStartComplete'.
2020-05-03 10:01 dataS/scripts/placeables/Placeable.lua(998) : bad argument #2 to 'format' (number expected, got nil)

Unknown 03.05.2020 17:37
according to https://gdn.giants-software.com/documentation_scripting_fs19.php?version=script&category=66&class=10359#saveToXMLFile164137 it wants to save the map location (translation) for your object. But your object provides nodeID 0 which does not have a map location. Check whether you missed setting a proper node ID.

William Dowell (JD4320) 03.05.2020 21:13
@RudolfoPinewood
Would you happen to know which nodes I should be looking at more specifically? I moved the X and Z translations of the object in my map from 0 to 0.1 to see if thatd help and still nothing. The natural placement of the object had a 0 for x and z. Loaded up a new game and nothing, same errors.

Unknown 04.05.2020 06:53
I'd say it is not the translation itself but a wrong nodeID. I'm sorry that I can't help much further as I'm new to modding. I assume that nodeID is an (unique) identifier for the element


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