Courseplay: shovel mode crash after barricade hit

Created on 2 Jan 2017  路  16Comments  路  Source: Courseplay/courseplay

hey, found another bug :P
So, when i am shoveling out of a full silo, the wheelloader sometimes drives himself into the wall of the silo and after a short period of spinning the wheels, he reverses out of the silo, shortly after the game hangs up and the log is full of the following error:

Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:636: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
C:/Users/nitro/Documents/My Games/FarmingSimulator2017/mods/zzz_Courseplay/drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.
bug

Most helpful comment

I fixed it and added the work width setting to the shovel settings screen. if the shovel is too close to the wall, increase the work width a bit and it should work better

All 16 comments

Strange, becouse I use this mode 10 hours and I don`t have any problem

only
the width of the shovel is 6.3 6.4....

it happens when the silo is completely filled... i think the loader tries to get to silage on the very edge and compensates too much, therefore hitting the wall...
But it shouldn't lock up the game beacause the driver hit the silowall...

I also experienced this lock up several times yesterday. After manually emptying the first few meters of the silo, it stopped happening, so I would agree that having a full silo is a possible precondition for it. Immediately before the lock up I saw 'Front loader is slipping', indicating that it was colliding with the bunker wall. I was not able to gather logs though.

can you tell us the version number @JDTiger
ThomasGaertner has changed the file lately because of the new mode 10.

you can also test a version I've made to improve the shovel mode. #1562
full zip: https://github.com/pseudex/courseplay/archive/master.zip
mode9.lua: https://raw.githubusercontent.com/pseudex/courseplay/master/mode9.lua

you can either use the full zip file like on the main git repo or download mode9.lua and zip it into your couresplay mod zip file

This happened again today a few times and my logs show the same as JDTiger. The following is repeated many times:

drive.lua:81: attempt to index a nil value
Error: Running LUA method 'update'.

I experienced the lockup with both versions 5.00.00036 and 5.01.00003

I will try your test version when possible. thank you.

will try your version, version in wich the problem occurs is the newest available... (5.01.00004)

tried and got the same error

could U give me a savegame to test it I don't have one atm

savegame1.zip

Here is the savegame, the easternmost silo is the one creating the problem, also included is my course to empty it...

thanks, would you please check the course, it's the wrong one

will do...sry, read the index file wrong :P
here is the correct one:

courseStorage0009.zip

I fixed it and added the work width setting to the shovel settings screen. if the shovel is too close to the wall, increase the work width a bit and it should work better

ok, thanks

works perfectly now...

thank alot for your hard work ,perfekt :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

huseyinsayar picture huseyinsayar  路  3Comments

cabmac picture cabmac  路  5Comments

Satissis picture Satissis  路  4Comments

iw-shawn picture iw-shawn  路  5Comments

Mogli12 picture Mogli12  路  4Comments