Loading...
  OR  Zero-K Name:    Password:   

a weird case of AI confiscating another AIs assets

7 posts, 844 views
Post comment
Filter:    Player:  
sort
4 years ago
hey guys

i encountered something weird in the game ... this save is from a game with 5 AIs ... 2 ally and 3 enemy ... after more than two hours of suffering and constant crying i decided to resign just to see for the last half of the game i was only fighting 2 AIs ... if you look at the game statistics you will see about halfway throght the game the red enemy AI gives all its units and structures to yellow enemy AI ... if you resign the game you will see the red enemy AI is still in the game cause you can see one unfinished red turret ... but for some reason the two AIs got merged
as i am very new to this game ... is this some kind of known bug ? cause im damn sure it shouldn't happen

some information that might be useful :
i started the game with the "set AI spawns" box ticked and i set the start boxes to "start anywhere" and i manually placed the spawning of AI commanders

i have played about 4-5 games and loading many many times in between and no problem ... but in this particular game that i provided ... if i start the game and load ... its fine ... but if i decide to reload this save again or any other save related to this particular game it crashes ... in the crash log it says skirmish AI causes the crash

i dont now if these two problems are related or not ... maybe there is a problem with loading one of the AIs .... but as i said if i load the game its 9 out of 10 times ok ... but if i reload the game mid-game ... it crashes

link to the save file + infolog of the crash

https://gofile.io/?c=p0Asgt
+0 / -0


4 years ago
Maybe the AIs merge for performance reasons. It is weird though and I have not heard of it happening before.
+0 / -0
Players can share and merge, so can AI.
An option that allows merging of nearby easy AIs (true by default):
...\Zero-K\AI\Skirmish\DevCircuitAIEasy32\stable\AIOptions.lua -> comm_merge

Merging is for performance but also it prevents AIs from blocking each other on start.

EDIT: screenshot of the start of the game could help to determine if there's a bug or AIs were indeed too close (like all starting near same mex spot).
+0 / -0
4 years ago
thanks for your answers

Lamer i specifically tick the "set AI spawns" options so i can place them as far away as possible so they all can use a fair share of resources ... and if you look at the save game that i provided, you can see that everything is OK for more than one hour ... then suddenly red AI gives everything it has to the yellow AI

maybe the reason for the crash is that there is no construction unit and no factory for the red AI but it is still not defeated because of the merge ... but even if this half-baked theory is correct then it should crash on every load and the crash should be consistent which it isn't.

hmmm ... as it is as weird to you guys as it is to me ... i try to disable "comm_merge" and just keep playing the game and keep my fingers crossed it doesn't happen again.
+0 / -0
4 years ago
as i wanted to change the "comm_merge" to false i saw the description of "comm_merge" :

key = 'comm_merge',
name = 'Merge neighbour Circuits',
desc = 'Merge spatially close Circuit ally commanders',
type = 'bool',
section = 'performance',
def = true,

so i was thinking is it possible that sometime in mid-game when i wanted to save .... by some almost freakishly bad luck the red and yellow AI commander units where close to each other ... then further down the line when i got stomped by easy AI (yea i know i know) and i loaded that save game ... the 2 AIs were merged because of this ?

although this still doesn't explain the one unfinished red turret still standing in the middle of their base ... unless ofcource maybe you can't give an unfinished structure to another player (i don't know the rules for this feature).

still this is not an ordinary gifting of some units or structures and i think if what im saying is true then that one unfinished turret should have also been handed over to the yellow AI.

+1 / -0

4 years ago
How i see it now: in the beginning (frame=0) there were 3 different AIs with large distance between each other (top corner, center, bottom corner). After some save+load cycle one enemy AI merged with another.
If that is so than it's a bug indeed: probably AI executes its setup-actions after each loadgame, instead of only at frame=0.
+0 / -0
4 years ago
hmmm ... then i hope it gets fixed in the future and as you said these kind of AI rules only execute at the beginning of the games.

thanks for looking into this.
+0 / -0