Maybe you already noticed that the cyan player(Ming Vanguard) get very high score (could be over 1 million) and unlimited resources. And, as the game progresses, this bug may also happen on the blue player.
For its similiar to Sundjata_4 in HD version, it could be an AI script bug. I find the cheating statement in .per2 like that:
; ============== CHEATING
(defrule
(building-type-count-total castle < 2)
=>
(enable-timer 11 800)
(cc-add-resource food 1400)
(cc-add-resource wood 700)
(cc-add-resource gold 800)
(disable-self)
)
(defrule
(timer-triggered 4)
=>
(cc-add-resource food 1400)
(cc-add-resource wood 700)
(cc-add-resource gold 800)
(disable-timer 11)
(enable-timer 11 900)
So the bug is about this "timer-triggered 4", it do not disable itself, so it will keep the status and runs once and once again.
But why it does not happen at the game beginning? I find "timer-triggered 4" appears in another part:
(defrule
(timer-triggered 4)
(difficulty == hard)
(gold-amount < 1200)
=>
(cc-add-resource gold 110)
(disable-timer 4)
(enable-timer 4 60)
)
These line make "timer-triggered 4" restart every 60 sec. However, it happened only when gold-amount < 1200. Since cyan player have villager work on gold mine, when they get 1200 gold, bug happens. If blue player also gets more than 1200 gold by relics, bug will also happens.
To verify this, I tribute 1500 gold to blue and cyan player at the beginning of game, wait a few seconds, bug happens immediately.
In this version, to avoid this bug, keep attack blue player, make sure they do not get 1200 gold. If Bassi wants to fix this bug, just delete the cheating code.
For its similiar to Sundjata_4 in HD version, it could be an AI script bug. I find the cheating statement in .per2 like that:
; ============== CHEATING
(defrule
(building-type-count-total castle <
=>
(enable-timer 11 800)
(cc-add-resource food 1400)
(cc-add-resource wood 700)
(cc-add-resource gold 800)
(disable-self)
)
(defrule
(timer-triggered 4)
=>
(cc-add-resource food 1400)
(cc-add-resource wood 700)
(cc-add-resource gold 800)
(disable-timer 11)
(enable-timer 11 900)
So the bug is about this "timer-triggered 4", it do not disable itself, so it will keep the status and runs once and once again.
But why it does not happen at the game beginning? I find "timer-triggered 4" appears in another part:
(defrule
(timer-triggered 4)
(difficulty == hard)
(gold-amount <
=>
(cc-add-resource gold 110)
(disable-timer 4)
(enable-timer 4 60)
)
These line make "timer-triggered 4" restart every 60 sec. However, it happened only when gold-amount <
To verify this, I tribute 1500 gold to blue and cyan player at the beginning of game, wait a few seconds, bug happens immediately.
In this version, to avoid this bug, keep attack blue player, make sure they do not get 1200 gold. If Bassi wants to fix this bug, just delete the cheating code.