You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 17, 2022. It is now read-only.
keyword_path-finding_AIresolution_fixedtype_bug | by Per
When AI sends massive armies to attack, they often get clogged up and stuck completely by droids on their way back to repair. This patch fixes this problem by introducing a hack for AI only that detects if a droid is stuck, and if so, resets its current order.
Attached is a savegame to demonstrate that the patch works, to dramatic effect. I am playing alone against 7 allied AIs on Miza, and it seems like I am keeping them at bay... until you look outside the base (use vision cheat). Compile in patch, and watch the AI tear me apart in short order.
I do not claim this to be a "good" or "well designed" fix, only that it works.
Also attached is another fix for a bug I found during testing.
Issue migrated from trac:597 at 2022-04-15 18:51:39 -0700
(In [7698]) When AI sends massive armies to attack, they often get clogged up and stuck completely
by droids on their way back to repair, or doing other orders. This patch fixes this
problem by introducing a hack for AI only that detects if a droid is stuck, and if so,
resets its current order. This closes #597.
(In [7700]) 2.2: When AI sends massive armies to attack, they often get clogged up and stuck completely
by droids on their way back to repair, or doing other orders. This patch fixes this
problem by introducing a hack for AI only that detects if a droid is stuck, and if so,
resets its current order. This closes #597.
Activity
wzdev-ci commentedon Jun 5, 2009
Per uploaded file
fixtarstatcrash.diff(1.7 KiB)wzdev-ci commentedon Jun 5, 2009
Per uploaded file
fixdroidclog.diff(0.9 KiB)wzdev-ci commentedon Jun 5, 2009
Buginator commented
I don't think that was Miza..
So please attach map. :)
wzdev-ci commentedon Jun 5, 2009
Per commented
Oops. Attachment fixed.
wzdev-ci commentedon Jun 5, 2009
Buginator commented
Replying to Warzone2100/old-trac-import#597 (comment:2):
Care for another try?
wzdev-ci commentedon Jun 6, 2009
Per uploaded file
pathclog.tar.gz(496.7 KiB)wzdev-ci commentedon Jun 6, 2009
Per commented
Another try... Sorry.
wzdev-ci commentedon Jun 8, 2009
Per changed status from
newtoclosedwzdev-ci commentedon Jun 8, 2009
Per set resolution to
fixedwzdev-ci commentedon Jun 8, 2009
Per commented
(In [7698]) When AI sends massive armies to attack, they often get clogged up and stuck completely
by droids on their way back to repair, or doing other orders. This patch fixes this
problem by introducing a hack for AI only that detects if a droid is stuck, and if so,
resets its current order. This closes #597.
wzdev-ci commentedon Jun 8, 2009
svnsync commented
(In [7700]) 2.2: When AI sends massive armies to attack, they often get clogged up and stuck completely
by droids on their way back to repair, or doing other orders. This patch fixes this
problem by introducing a hack for AI only that detects if a droid is stuck, and if so,
resets its current order. This closes #597.
wzdev-ci commentedon May 8, 2010
Buginator removed milestone (was
2.2.1)wzdev-ci commentedon May 8, 2010
Buginator commented
Milestone 2.2.1 deleted