Page 1 of 1

Strange team identification in infolog

Posted: 26 Nov 2009, 15:17
by jepperc
Hi. I have come upon some weirdness in an infolog, presented here:

Code: Select all

[     40] Skirmish AI "brAIn" took over control of team 0
[     76] Skirmish AI "RAI" took over control of team 1
[  18345] Shellshocker: Can't reach destination!
[  18599] Shellshocker: Can't reach destination!
[  18671] Shellshocker: Can't reach destination!
[  29314] Team0 (Player) lost their mojo
[  29382] <SkirmishAI: brAIn 0.1 (team 0)>: RL goal achieved with total reward: -101543.656250
[  29382] <SkirmishAI: brAIn 0.1 (team 0)>: Deconstructing ConstructionGroupManager
[  29445] Skirmish AI "RAI", which controlled team 0 is now dead
[  31215] Game has ended
In the beginning it says that brAIn is team 0, and RAI is team 1, and when brAIn chats it says team 0.
However, in the end it says that RAI which controlled team 0 is now dead. How can this be true? :)
(We are using the infologs for statistics in testing our brAIn AI)

Re: Strange team identification in infolog

Posted: 26 Nov 2009, 16:03
by hoijui
yeah... i agree that soemthign is wrong there :D
could you possibly give a way to reproduce?
did it happen only that one time.. i guess it works with other AIs too (eg RAI and NullAI?)
i just had a short look at the code where it spits out these messages, and i could not see any obvious flaw, like wrong variable given for team number.

Re: Strange team identification in infolog

Posted: 28 Nov 2009, 12:40
by hoijui