AI BUG, 2 Strategic Numbers ID conflicted

:arrow_forward: GAME INFORMATION

  • GAME BUILD #: Latest-78174
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: Windows 10

:arrow_forward: ISSUE EXPERIENCED

(DE default AI)
“sn-minimum-boar-hunt-group-size” is a default SN(strategic numbers), its ID is 204.
“teamsuperiority” is a custom SN, in the AI file “customConstants.per” it defconst to 204.(defconst teamsuperiority 204)

These 2 SN conflicted, that will cause some problems.

“teamsuperiority” has been used in many AI rules. “sn-minimum-boar-hunt-group-size” may be set to 2 in boarhunting.per, then “teamsuperiority” will set to 2 too. That’s wrong…

:arrow_forward: FREQUENCY OF ISSUE

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

:arrow_forward: REPRODUCTION STEPS

AI code bug, no need REPRODUCTION STEPS.

:arrow_forward: EXPECTED RESULT

I suggest defconst “teamsuperiority” to another number which dosen’t conflict with default SN.

:arrow_forward: IMAGE

223

:arrow_forward: GAME FILES (SAVE / RECORDING)

(unneeded)

By The Way, There is another AI bug related to this.

“enemyfocusnavy” has been defconst to 204 in “customConstants.per”. But it’s a goal so doesnt conflict with “sn-minimum-boar-hunt-group-size”.

But in AI file “threats.per”, see the picture below, there are “up-modify-sn enemyfocusnavy”, Wrong!

Besides, in DE game, “fire-ship-line” include “fire-galley”, so shouldn’t count twice.
Besides, Thirisadai has not been count.

@MeowTimbre
I talked with the team about this :slight_smile:

1 Like