View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005018 | Spring engine | AI | public | 2015-12-27 01:01 | 2015-12-29 18:34 |
| Reporter | aeonios | Assigned To | hokomoko | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 100.0 | ||||
| Summary | 0005018: Game->getTeams() includes spectators | ||||
| Description | The 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. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
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). |
|
|
*active* means the connection is active, ie not timed out. You can be active and spectator, or you can be inactive and player. |
| 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 |