View Issue Details

IDProjectCategoryView StatusLast Update
0005018Spring engineAIpublic2015-12-29 18:34
Reporteraeonios Assigned Tohokomoko  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version100.0 
Summary0005018: Game->getTeams() includes spectators
DescriptionThe documentation for getTeams() ((Game).getTeams() in java) suggests that it should only return the number of *active* teams, ie players and not specs, but it always includes specs which gives misleading/incorrect information about how many players are actually participating in the game.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

aeonios

2015-12-28 00:04

reporter   ~0015403

nevermind, after looking into the source to see how this worked it's a general property of the engine's code and not ai specific. I also see how to handle that in general (although it's a mess).

Jools

2015-12-29 13:38

reporter   ~0015406

*active* means the connection is active, ie not timed out. You can be active and spectator, or you can be inactive and player.

Issue History

Date Modified Username Field Change
2015-12-27 01:01 aeonios New Issue
2015-12-28 00:04 aeonios Note Added: 0015403
2015-12-29 13:38 Jools Note Added: 0015406
2015-12-29 18:34 hokomoko Status new => closed
2015-12-29 18:34 hokomoko Assigned To => hokomoko
2015-12-29 18:34 hokomoko Resolution open => no change required