Community Forum

How to fix LUA errors on a map? and Error: index out of range

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created11.12.2016 14:06


Callum Williams (Unknown) 11.12.2016 14:13
Hello,

I have been making my map in FS 2015 and I have converted it over into FS 17, I have ironed most errors out but I have a few left over which I have no idea how to remove.

Here is my log, I have put it in a pastebin instead of copying and pasting it in here http://pastebin.com/MRpf1ufs

The errors start after line 74.

If anyone can help me that would be much appreciated :)

Thank you,
Callum.W.

Bilbo Beutlin (BBeutlin) 11.12.2016 18:25
The first error at #74 "index out of range" comes from the "VehicleSellingPoint". Most probably you have moved the selling point without regarding the original scenegraph hierarchy and now a node points to nirwana.

The second around #83 occurs by a silo. Looks for me you have duplicated one and didn't adapt index accordingly: "duplicate saveId TipTrigger_Station"

Clement Clem (Unknown) 21.08.2018 21:34
I got these errors can you help me too ? Can you explain where you find the line in the code to identify what is rong ?

C:/Users/CLEM/Documents/My Games/FarmingSimulator2017/mods/NLDFarmers_Start_Map_ExtraFoliages/maps/map01.i3d (5045.27) ms
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/triggers/TipTrigger.lua (83) : indexToObject
dataS/scripts/animals/FeedingTroughTipTrigger.lua (19) : load
dataS/scripts/animals/AnimalHusbandry.lua (108) : load
dataS/scripts/animals/AnimalHusbandry.lua (26) : load
Index: 2
Warning (physics): Add trigger callback failed, object shovelCatcher is not a physics trigger.
Error: index out of range
LUA call stack:
dataS/scripts/utils/Utils.lua (11) : printCallstack
dataS/scripts/utils/Utils.lua (65) : checkChildIndex
dataS/scripts/triggers/TipTrigger.lua (83) : indexToObject
dataS/scripts/animals/FeedingTroughTipTrigger.lua (19) : load
dataS/scripts/animals/AnimalHusbandry.lua (108) : load
dataS/scripts/animals/AnimalHusbandry.lua (26) : load
Index: 3

Thank you.
Clem.

Bilbo Beutlin (BBeutlin) 22.08.2018 09:40
Quite impossible to say with these few lines.
But obviously there's something wrong in one of your animal's transform group.
Probably you have imported, moved or deleted in the wrong place so that important indices are corrupt.


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