AMAI icon indicating copy to clipboard operation
AMAI copied to clipboard

Full zepplins are not detected and ignored by various controls.

Open SMUnlimited opened this issue 7 months ago • 5 comments

Unit needs healing sent to zepplin but both become stuck as zepplin is full with units.

Not sure whats started causing the zepplin to pick up entire armies but never dropping them in the first place.

Also a healer was in one of the zepplins and units were being sent to the zepplin location.

Similarly a fully heroed hero was in the zepplin and the zepplin trying to follow the hero inside itself.

EDIT: Detecting a zeppelin is full is difficult in war3 without looping over every unit and counting how many are within the zepplin.

SMUnlimited avatar Jan 07 '24 12:01 SMUnlimited

Zepplin picking up army when creeping a water expansion. But then zepplin wont move to target attack unit.

SMUnlimited avatar Jan 07 '24 23:01 SMUnlimited

The root cause of the problem lies in RemoveGuardPosition

Why did it appear again?? should fix on

  if water_expansion_list_length == 0 or racial_lumber != 0 or not race_no_wood_harvest then
    call GroupRemoveGuardPositionInstant(g)  //water_expansion Transport Harvest peon , AI default Transport Order need use zep , racial_lumber help ELF fix building blockage
  endif

jzy-chitong56 avatar Jan 08 '24 06:01 jzy-chitong56

Twisted meadows the AI wants to creep the expansions but seems unrelated to the water expansions? Need to check that it is checking it didn't try to attack the water expansion knowing that or if its just random creeping, maybe every attack target should send a pathing wisp to discontinue combat when stuck. Or detect the zepplin is full via unit iteration then force it to unload near target to attack.

SMUnlimited avatar Jan 10 '24 22:01 SMUnlimited

When the army is stuck at home, such as in the elf,At this point, it is necessary to restore control of the airship, which cannot be controlled by code anymore

jzy-chitong56 avatar Jan 15 '24 14:01 jzy-chitong56

when one player have a water_expansion , AI can not attack the exp , Because zepplins control maybe has not been released

jzy-chitong56 avatar Feb 06 '24 10:02 jzy-chitong56