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??
[FS22]stack overflow while using tension belt [patch 1.2 fixed]
5 posts
Page 1 of 1
- HatsuneKid
- Posts: 26
- Joined: Thu Jul 30, 2020 5:15 am
[FS22]stack overflow while using tension belt [patch 1.2 fixed]
Last edited by HatsuneKid on Fri Dec 17, 2021 5:53 am, edited 1 time in total.
Re: [FS22]stack overflow while using tension belt
Set the totalinteractionradius of your belts to "0"
I think this is the last one in the tensionbelt line in the xml
I think this is the last one in the tensionbelt line in the xml
- HatsuneKid
- Posts: 26
- Joined: Thu Jul 30, 2020 5:15 am
Re: [FS22]stack overflow while using tension belt
.....
<tensionBelts linkNode="belts" jointNode="Pallet_connector" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="-0.25" defaultOffsetSide="0.1" defaultHeight="2.75" interactionRadius="0" totalInteractionRadius="0" activationTrigger="beltActivationTrigger">
<tensionBelt startNode="beltStart1" endNode="beltEnd1" offsetLeft="0.95"/>
<tensionBelt startNode="beltStart2" endNode="beltEnd2" offsetRight="0.8"/>
</tensionBelts>
.....
Still not work.
Once I press L, the belt on that crane seems to tie the vehicle and I can no longer control anything of that vehicle.
Log:
...
2021-12-07 21:39 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
2021-12-07 21:39 Error: Running LUA method 'update'.
2021-12-07 21:39 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
2021-12-07 21:39 Error: Running LUA method 'update'.
2021-12-07 21:39 dataS/scripts/vehicles/specializations/TensionBelts.lua(1233) : stack overflow
2021-12-07 21:39 Error: Running LUA method 'update'.
...
- HatsuneKid
- Posts: 26
- Joined: Thu Jul 30, 2020 5:15 am
Re: [FS22]stack overflow while using tension belt
thx for patch 1.2! Bug fixed.
Re: [FS22]stack overflow while using tension belt [patch 1.2 fixed]
Hi! Do you have a link to download this mod? This would be really handy to have around the farm! Thanks.
5 posts
Page 1 of 1