2025-07-20 22:14 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004253Spring engineAIpublic2014-01-05 15:33
Reporterabma 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version96.0 
Target VersionFixed in Version 
Summary0004253: when playing on a relayhost with many ai's a timeout is very likely to timeout on gamestart
Descriptionbecause on init, all ai's initialize which totaly blocks spring. then spring-dedicaded assumes a timeout it seems
Steps To Reproducehost 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 Informationnot sure which timeout applies here:

"HangTimeout": {
"InitialNetworkTimeout": {
"NetworkTimeout": {
"ReconnectTimeout": {

doesn't happen with NullAI
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0012604

abma (administrator)

we should increase the timeout on gamestart... ?!

~0012608

Kloot (developer)

Last edited: 2014-01-05 14:13

View 4 revisions

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)

+Notes

-Issue History
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
+Issue History