AI bug, "unit-type-count-total 900/936" don't work correctly

:arrow_forward: GAME INFORMATION

GAME BUILD: 101.101.61591.0 8647032

:arrow_forward: ISSUE EXPERIENCED

AI bug.
“unit-type-count-total archery-class” and “unit-type-count-total cavalry-archer-class”
The same as “unit-type-count-total 900” and “unit-type-count-total 936”
don’t work correctly, always = 0.

:arrow_forward: FREQUENCY OF ISSUE

  • 100% of the time / matches I play (ALWAYS)

:arrow_forward: REPRODUCTION STEPS

For example:

(timer-triggered fivesec)
(up-get-fact unit-type-count-total 900 temporary-goal)
(up-chat-data-to-self “Display1: %d” g: temporary-goal)

(up-get-fact unit-type-count 900 temporary-goal2)
(up-chat-data-to-self “Display2: %d” g: temporary-goal2)

(up-get-fact unit-type-count-total 936 temporary-goal3)
(up-chat-data-to-self “Display3: %d” g: temporary-goal3)

(up-get-fact unit-type-count 936 temporary-goal4)
(up-chat-data-to-self “Display4: %d” g: temporary-goal4)

“Display1” and “Display3” always be “0”. No matter how many Archers/CavalryArchers there are.
That means “unit-type-count-total 900/936” or “unit-type-count-total archery-class/cavalry-archer-class” don’t work correctly.

Besides, “Display2” and “Display4” work well, there are no problem.

By the way, except “900” and “936”, “unit-type-count-total 9xx” works well,
Such as “unit-type-count-total 906/infantry-class”, “unit-type-count-total 912/cavalry-class”, works well, there are no problem.

:arrow_forward: EXPECTED RESULT

“unit-type-count-total 900/936” should get the right quantity of Archers / CavalryArchers.

:arrow_forward: IMAGE


:arrow_forward: GAME FILES (SAVE / RECORDING)


There are lots of “unit-type-count-total archery-class/cavalry-archer-class” in default AI Promisory. And they don’t work now.
So you might see AI behaves incorrectly. Such as AI wouldn’t research Thumb-Ring, Archer-Armor when it has many archers, etc…

Hi @MeowTimbre !

We are now tracking this issue.

Thanks for your report! :slight_smile:

“unit-type-count-total 918(monastery-class)” doesnt work either, just found.

1 Like

Thanks for the add, I talked with my team about it.