[FS22]stack overflow while using tension belt [patch 1.2 fixed]
Posted: Mon Nov 29, 2021 8:02 am
I'm making a flat truck with a crane for FS22. It using a tool with tension belt to pick up pallet or something else. Just likes this mod.
I did the same thing in FS19 and everything works fine. But something wrong in FS22.
The truck and tool both work fine. No error or warning in log. Once I pick up a pallet on another truck with tension belt, it will pick up not only the pallet but also the truck. How could I separate them???? This won't happen in FS19!
Moreover, once I pick up a pallet on the truck I currently control, the game will crash.
The log shows:
2021-11-29 14:19 Error: Running LUA method 'update'.
2021-11-29 14:19 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
2021-11-29 14:19 Error: Running LUA method 'update'.
2021-11-29 14:19 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
2021-11-29 14:19 Error: Running LUA method 'update'.
2021-11-29 14:19 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
2021-11-29 14:19 Error: Running LUA method 'update'.
2021-11-29 14:19 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
..............
How to solve this problem??
I did the same thing in FS19 and everything works fine. But something wrong in FS22.
The truck and tool both work fine. No error or warning in log. Once I pick up a pallet on another truck with tension belt, it will pick up not only the pallet but also the truck. How could I separate them???? This won't happen in FS19!
Moreover, once I pick up a pallet on the truck I currently control, the game will crash.
The log shows:
2021-11-29 14:19 Error: Running LUA method 'update'.
2021-11-29 14:19 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
2021-11-29 14:19 Error: Running LUA method 'update'.
2021-11-29 14:19 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
2021-11-29 14:19 Error: Running LUA method 'update'.
2021-11-29 14:19 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
2021-11-29 14:19 Error: Running LUA method 'update'.
2021-11-29 14:19 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
..............
How to solve this problem??