View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004253 | Spring engine | AI | public | 2014-01-05 12:19 | 2014-01-05 15:33 | ||||
Reporter | abma | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 96.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004253: when playing on a relayhost with many ai's a timeout is very likely to timeout on gamestart | ||||||||
Description | because on init, all ai's initialize which totaly blocks spring. then spring-dedicaded assumes a timeout it seems | ||||||||
Steps To Reproduce | host battle on relayhost - add some ai's (RAI / KAIK / AAI) - use "big" map (DeltaSiegeDry mostly is enough) press start game... ingame it will initialize than instantly change to "undecided game result" | ||||||||
Additional Information | not sure which timeout applies here: "HangTimeout": { "InitialNetworkTimeout": { "NetworkTimeout": { "ReconnectTimeout": { doesn't happen with NullAI | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
abma (administrator) 2014-01-05 12:21 |
we should increase the timeout on gamestart... ?! |
Kloot (developer) 2014-01-05 14:02 Last edited: 2014-01-05 14:13 |
HangTimeout is the best fit but it won't fix the problem to increase that. In theory AI's could be loaded in a separate thread while the main thread just loops and sends a heartbeat signal to the host, but better (MUCH less complex) would be to invert this and spawn a temporary heartbeat thread while AI's are loading. (LoadScreen.cpp already has such a thread but it joins *before* AI's are instantiated) |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-05 12:19 | abma | New Issue | |
2014-01-05 12:21 | abma | Note Added: 0012604 | |
2014-01-05 12:22 | abma | Summary | when playing on a relayhost with many ai's a timeout is very likely => when playing on a relayhost with many ai's a timeout is very likely to timeout on gamestart |
2014-01-05 14:02 | Kloot | Note Added: 0012608 | |
2014-01-05 14:08 | Kloot | Note Edited: 0012608 | View Revisions |
2014-01-05 14:09 | Kloot | Note Edited: 0012608 | View Revisions |
2014-01-05 14:13 | Kloot | Note Edited: 0012608 | View Revisions |
2014-01-05 15:33 | Kloot | Changeset attached | => spring develop 86638c5b |
2014-01-05 15:33 | Kloot | Assigned To | => Kloot |
2014-01-05 15:33 | Kloot | Status | new => resolved |
2014-01-05 15:33 | Kloot | Resolution | open => fixed |