| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0000955 | Spring engine | General | public | 2008-06-17 11:25 | 2008-06-18 19:50 | ||||
| Reporter | zenzike | ||||||||
| Assigned To | Auswaschbar | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | 0.76b1+svn | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000955: Cannot host and spectate | ||||||||
| Description | I've made a startscript that allows me to spectate the game when 2 bots are fighting one another, and it worked fine in Spring 0.76b. However, it doesn't work in the svn version. If I launch this in 0.76b+, both AI teams get created and start playing. However, I am down as an Ally, rather than a Spectator, and I can control Team 1 units (at the same time as the AI -- it's actually quite entertaining, but really not what I want). The line of sight is also restricted -- ie, I really am considered a player, and not a spectator. Script attached. | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files |
| ||||||||
Notes |
|
|
Kloot (developer) 2008-06-17 16:25 Last edited: 2008-06-17 16:33 |
Happens because CGameServer always sends out a TEAMMSG_JOIN_TEAM in BindConnection() for player 0, which overrides the spectat** fields set in CGameSetup when CGame receives it. |
|
Auswaschbar (reporter) 2008-06-18 19:50 |
Fixed in rev6043. Thanks for the report. |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2008-06-17 11:25 | zenzike | New Issue | |
| 2008-06-17 11:25 | zenzike | File Added: startscript.txt | |
| 2008-06-17 16:20 | Auswaschbar | Status | new => assigned |
| 2008-06-17 16:20 | Auswaschbar | Assigned To | => Auswaschbar |
| 2008-06-17 16:25 | Kloot | Note Added: 0002336 | |
| 2008-06-17 16:33 | Kloot | Note Edited: 0002336 | |
| 2008-06-18 19:50 | Auswaschbar | Status | assigned => resolved |
| 2008-06-18 19:50 | Auswaschbar | Resolution | open => fixed |
| 2008-06-18 19:50 | Auswaschbar | Note Added: 0002349 | |


