nk3nny / LambsDanger

AI enhancement mod for Arma 3
Other
105 stars 40 forks source link

RHS Reinforcing motorised/mech inf gets stuck in endless getIn/getOut cycle #262

Open IR0NSIGHT opened 3 years ago

IR0NSIGHT commented 3 years ago

3den Enhanced | Steam | http://steamcommunity.com/sharedfiles/filedetails/?id=623475643

ace | Steam | http://steamcommunity.com/sharedfiles/filedetails/?id=463939057

CBA_A3 | Steam | http://steamcommunity.com/sharedfiles/filedetails/?id=450814997 LAMBS_Danger.fsm | Steam | http://steamcommunity.com/sharedfiles/filedetails/?id=1858075458 LAMBS_RPG | Steam | http://steamcommunity.com/sharedfiles/filedetails/?id=1858070328 LAMBS_Suppression | Steam | http://steamcommunity.com/sharedfiles/filedetails/?id=1808238502 LAMBS_Turrets | Steam | http://steamcommunity.com/sharedfiles/filedetails/?id=1862208264 Zeus Enhanced | Steam | http://steamcommunity.com/sharedfiles/filedetails/?id=1779063631 Zeus Enhanced - ACE3 Compatibility | Steam | http://steamcommunity.com/sharedfiles/filedetails/?id=2018593688

RHS AFRF + ACE compat

Description: (This issue does not occur on vanilla vehicles) Motorised and mechanized infantry groups get stuck in an endless cycle of get in, get out when they are called to dynamically reinforce. Basically, one unit enters car, another one disembarks.

Steps to reproduce: Place group, have them reinforce another unit in contact, watch. Sometimes it works as intended, most often not. tested around 20 squads. pretty much happens without exception.

setUnloadInCombat did seem to help sometimes, but never fixed the issue completely.

Expected behavior:

Get into truck, move to destination

Where did the issue occur?

only tested in Editor (Singleplayer)

Additional context:

Im well aware thats a bug thats probably caused by RHS, but maybe its something simple which can be easily fixed on LAMBS side.

Log Files: https://pastebin.com/M4avJPXB

nk3nny commented 2 years ago

@IR0NSIGHT As per Discord discussion.

The AI handles ownership of vehicles different when the group leader is the driver and when he is not. Note that vanilla groups always set the group leader as Driver (also for armoured vehicles). Whereas RHS tends not to do so.

Perhaps rerun checks with drivers as logical group leaders.