Community Forum


Forum Overview >> Scripting

Created10.03.2019 14:40

Andrei Sprinseana (xsenio) 10.03.2019 14:40
Greetings! I need help, I make a beet harvester, and this is such a mistake.
Error: Running LUA method 'loadSharedI3DFileFinished'.
dataS/scripts/FSBaseMission.lua(2392) : table index is nil

Found out as behind these lines:
<fillUnit unit="$l10n_unit_literShort" fillTypes="sugarBeet" capacity="40000" >
<fillMassNode node="0>"/>
<exactFillRootNode node="0>18" />
<alarmTrigger minFillLevel="1" maxFillLevel="1" turnOffInTrigger="true"/>
I am sure that everything is spelled correctly. Well, I can not understand what is wrong.
Maybe someone had this? Thank you in advance.

PinchTheFarmer 10.03.2019 15:46
The problem is from your "exactFillRootNode" , and also never use the > or < in fact :D and depending if you are INTO a node or not you indicate the child number OR full node , like that :

<config node="0|3" exactFillRootNode="0" />

But if you need to put the full path node, for this example it is : 0|3|0 , you see ? :) and remove all your ">" and "<", you put only | instead (ALT GR+6), but nothing if there are no other number after , you re <fillMassNode node="0" /> by example its only 0

This is why you had index error , he didnt find your nodes.

Bilbo Beutlin (BBeutlin) 10.03.2019 16:08
No - that's wrong.
In fact you can copy and paste directly the entry from GE 'Transform' -> 'Index Path'.
See default vehicles xml <i3dMappings>

The '0>' can be omitted, eg. "0>1|2|3" can be written as "1|2|3".

PinchTheFarmer 10.03.2019 16:10
I knew for the 0 ommitted (it is when you use only 1 model into the mod) but didn't knew for the "< >"

Andrei Sprinseana (xsenio) 10.03.2019 19:28
Bilbo so i copied from there.From Ropa panther2.xml

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