yumi-modding / FS19_CombineXP

Combine XPerience mod for Farming Simulator 19
https://www.farming-simulator.com/mod.php?mod_id=187160&title=fs2019
5 stars 5 forks source link

Crash / Errorflooding when using frontshields #25

Closed hexathos closed 3 years ago

hexathos commented 3 years ago

Describe the bug Getting an error like

2021-01-24 03:07 Error: Running LUA method 'update'.
2021-01-24 03:07 C:/users/steamuser/My Documents/My Games/FarmingSimulator2019/mods/FS19_CombineXP/src/xpCombine.lua:285: attempt to index local 'spec_cutter' (a nil value)
2021-01-24 03:07 Error: Running LUA method 'draw'.
2021-01-24 03:07 C:/users/steamuser/My Documents/My Games/FarmingSimulator2019/mods/FS19_CombineXP/src/xpCombine.lua:602: attempt to call method 'getIsTurnedOn' (a nil value)
2021-01-24 03:07 Error: Running LUA method 'update'.
2021-01-24 03:07 C:/users/steamuser/My Documents/My Games/FarmingSimulator2019/mods/FS19_CombineXP/src/xpCombine.lua:285: attempt to index local 'spec_cutter' (a nil value)
2021-01-24 03:07 Error: Running LUA method 'draw'.
2021-01-24 03:07 C:/users/steamuser/My Documents/My Games/FarmingSimulator2019/mods/FS19_CombineXP/src/xpCombine.lua:602: attempt to call method 'getIsTurnedOn' (a nil value)

when using "frontshield" mods which attach to harvester but are not really a cutter, see "to reproduce". The error makes it impossible to drive the combine or to tab to other vehicles, and it keeps spamming

To Reproduce Details to reproduce the behavior: