Strange team identification in infolog

Strange team identification in infolog

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
jepperc
AI Developer
Posts: 13
Joined: 11 Oct 2009, 19:05

Strange team identification in infolog

Post 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)
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Strange team identification in infolog

Post 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.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Strange team identification in infolog

Post by hoijui »

Post Reply

Return to “Help & Bugs”