Courseplay / courseplay

Courseplay for Farming Simulator 2019
http://courseplay.github.io/courseplay
GNU General Public License v3.0
952 stars 528 forks source link

Error: Running LUA method 'update' - input.lua:441: attempt to index a nil value #4284

Closed fragster27 closed 5 years ago

fragster27 commented 5 years ago

Hi, I'm new here and I'm sorry to write under this section. Today I wanted to use a courseplay to silage the pit, but unfortunately without success. I recorded the route and when I switched on the tractor at the first point, it continues to the beginning of the silage pit and instead of piling up the tractor it turns around. I checked the log and there is a CP error 2019-09-20 23:21 C: / Users / Roman / Documents / My Games / FarmingSimulator2019 / mods / Courseplay_6_01_00300 / input.lua: 441: attempt to index and nil value. Please Where can I send the full log of the game ??? Thank you. I have a video on YouTube. Here is the link: https://www.youtube.com/watch?v=jLleFpUctjU&feature=youtu.be . I still want to apologize if the pronunciation does not fit, but I am from the Czech Republic and I do not know much English, so I used a Google translator. Thank you for your help.

Tensuko commented 5 years ago

https://github.com/Courseplay/courseplay/wiki Explains how to send log. Prefer the drag and drop methode.

fragster27 commented 5 years ago

Link is here on my gist page. https://gist.github.com/fragster27/cb165da3f403f4598a26602a7a14880b

Tensuko commented 5 years ago

2019-09-23 18:45 Error: Can't load resource 'C:/Users/Roman/Documents/My Games/FarmingSimulator2019/mods/FS19_claasxerion/dataS/scripts/vehicles/Vehicle.lua'.

And something is very wrong here, this is normaly not a part of the logfile:

2019-09-23 18:45 Error: C:/Users/Roman/Documents/My Games/FarmingSimulator2019/mods/FS19_Milchhof/milchhof.xml.  tim"1.0" rotation="0 -120 0"/>

2019-09-23 18:45                 </part>

2019-09-23 18:45                 <part node="0|9|1|0|1">

2019-09-23 18:45                     <keyFrame time="0.0" rotation="0 0 0"/>

2019-09-23 18:45                     <keyFrame time="1.0" rotation="0 120 0"/>

2019-09-23 18:45                 </part>

2019-09-23 18:45             </animation>

2019-09-23 18:45             <controls triggerNode="0|15" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />

2019-09-23 18:45             <sounds>

2019-09-23 18:45                 <moving file="data/sounds/prefab/gate/gate_loop.wav" loops="0" linkNode="0|9|1|0" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>

2019-09-23 18:45                 <posEnd file="data/sounds/preate_opened.wav" linkNode="0|9|1|0" volume="0.8" radius="25" innerRadius="3" />

2019-09-23 18:45                 <negEnd file="data/sounds/prefab/gate/gate_closed.wav" linkNode="0|9|1|0" volume="0.8" radius="25" innerRadius="3" />

2019-09-23 18:45             </sounds>

2019-09-23 18:45         </animatedObject>

2019-09-23 18:45     </animatedObjects>

2019-09-23 18:45 

2019-09-23 18:45     <husbandry saveId="Animals_COW" hasStatistics="false">

2019-09-23 18:45         <modules>

2019-09-23 18:45             <module name="animals">

2019-09-23 18:45                 <config type="COW" navmeshNode="0|8" animalLoadTriggerNode="0|0" maxNumAnimals="50" husbandryFileName="$dataS/character/cowAnimalHusbandry.xml" placementRaycastDistance="2.0" carryingCapacity="50" rideableDeliveryStartNode="0|6|0" rideableDeliveryWidthNode="0|6|0|0" rideableDeliveryHeightNode="0|6|0|0" />

2019-09-23 18:45             </module>

2019-09-23 18:45             <module name="food">

2019-09-23 18:45                 <config node="0|1|0" exactFillRootNode="0" baleTriggerNode="3" animalPlacesNode="1" >

2019-09-23 18:45                     <fillPlane node="0|1|1" minY="-0.257" maxY="-0.03" colorChange="true" />

2019-09-23 18:45                 </config>

2019-09-23 18:45             </module>

2019-09-23 18:45             <module name="water">

2019-09-23 18:45                 <config node="0|2|0" exactFillRootNode="0" fillTypes="WER" acceptedToolTypes="undefined trailer">

2019-09-23 18:45                     <fillPlane node="0|2|1" minY="0.06" maxY="0.275" colorChange="true" />

2019-09-23 18:45                 </config>

2019-09-23 18:45             </module>

Error (C:/Users/Roman/Documents/My Games/FarmingSimulator2019/mods/FS19_Milchhof/milchhof.xml): No storeData found. StoreItem will be ignored!

Tensuko commented 5 years ago

Ah I remember, there is something wrong with your inputkeys, we had similar Issues with it. Some ppl even reinstalled the game, but you could try to delete your inputbindings.xml and let the game create a new one. It could happen again, if you set a key for CP commands, wich are not fully working yet.

Tensuko commented 5 years ago

And a hind for your course: bunkermode should be like this, all in frong of the silo, not in it.

Tensuko commented 5 years ago

Closed due to inactivity.