View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003115 | Spring engine | General | public | 2012-06-14 05:55 | 2012-07-04 14:46 | ||||
Reporter | Google_Frog | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | random | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 88.0 | ||||||||
Target Version | Fixed in Version | 89.0 | |||||||
Summary | 0003115: Dedicated server ends game near game start | ||||||||
Description | About once every few days springie battles end during start location placement. I don't think it is a bug with the game over gadget and Licho doesn't think it is a but with springie so I am reporting this here. On the lua side Spring.GameOver is used once in luarules and has an echo before it that isn't in the infolog. http://code.google.com/p/zero-k/issues/detail?id=1419 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
||||||
|
![]() |
|
abma (administrator) 2012-06-14 09:32 |
demofile? |
Google_Frog (reporter) 2012-06-14 11:06 |
Apparently there isn't one for the dedicated server. But I have one as a client battle_83368_SandCastles2_88 |
abma (administrator) 2012-06-14 11:18 |
please upload then! :) |
Google_Frog (reporter) 2012-06-14 11:28 |
I thought I had but for some reason it didn't. |
abma (administrator) 2012-06-14 11:55 Last edited: 2012-06-14 12:11 |
hm, currently no idea... [f=0055682] > Game over, exiting it seems like gameover "started" in frame 055670 |
abma (administrator) 2012-06-14 12:21 Last edited: 2012-06-14 12:45 |
@Google_Frog: my suggestion to find the cause is: can you add some debug output to the game_end widget, that prints all teams and all players with the status of them? like: Game_Over! Team 1 Won: Team1: <id>: active : playername Team 2: <id>: inactive: playername ... or is this info already somewhere? i would expect some difference between the debug output and the ingame player status... |
abma (administrator) 2012-06-14 12:33 Last edited: 2012-06-14 12:36 |
in this replay 1/4 teams completely died / left the game, maybe thats the cause? currently it looks like a bug in the gameover gadget because the engine doesn't know win/lose condition. |
Google_Frog (reporter) 2012-06-14 14:14 |
Directly before Spring.GameOver is called the gadget prints a string ending in " wins!". "GAME OVER!!" occurs in gadget:GameOver() http://code.google.com/p/zero-k/source/browse/trunk/mods/zk/LuaRules/Gadgets/game_over.lua#137 http://code.google.com/p/zero-k/source/browse/trunk/mods/zk/LuaRules/Gadgets/game_over.lua#354 |
wolas (reporter) 2012-06-14 15:55 |
I m attaching many demos of failed to start games 2012-06-13 which occured one by one, also sometimes we were able to start and play game with !force when it was done quickly(just guessing that !force helped). I hope this will help. |
Google_Frog (reporter) 2012-06-15 08:44 |
The most common problem is that the autohost exits shortly after players join. It is as if the autohost thinks nobody has connected so auto-exits. |
Kloot (developer) 2012-06-16 01:32 Last edited: 2012-06-16 01:34 |
1) "Game over, exiting" is sent over the autohost interface by Springie when it gets a SpringEventType.SERVER_GAMEOVER event 2) SpringEventType.SERVER_GAMEOVER actually corresponds to NETMSG_QUIT 3) NETMSG_QUIT is broadcast by GameServer when it quits (really) 4) GameServer quits if and only if 1: it has no players connected at any point or 2: it is killed at any point (via "/kill" by some external process/user on the server machine) or 3: an autohost ip+port is specified but its socket cannot be bound at startup in either case 1 or case 3 there should be a message ("No clients connected" or "Failed to open socket") in the server's infolog, in case 2 it's not our problem. |
abma (administrator) 2012-06-16 10:25 |
means: server infolog.log is really needed...?! |
Google_Frog (reporter) 2012-06-16 14:16 Last edited: 2012-06-16 14:32 |
Get any springie battle log by changing the url of the zk site battle details page. Eg http://zero-k.info/Battles/Logs/83368 for my linked replay. Is this the right kind of log? Another http://zero-k.info/Battles/Detail/80791 |
Google_Frog (reporter) 2012-06-16 14:38 |
Ok turns out 83368 is a different bug because it exists mid game. Many games that exit near game start can be found here http://zero-k.info/Battles with a Duration parameter of -3 minutes. Here is a batch: http://zero-k.info/Battles/Detail/82006 http://zero-k.info/Battles/Detail/82003 http://zero-k.info/Battles/Detail/82413 Their logs all look basically like the one below. Using configuration source: "c:\springie_spring\springsettings.cfg" Available log sections: DedicatedServer, ArchiveScanner, VFS, AutohostInterface Enabled log sections: DedicatedServer(LOG_LEVEL_INFO) Enable or disable log sections using the LogSections configuration key or the SPRING_LOG_SECTIONS environment variable (both comma separated). Use "none" to disable the default log sections. LogOutput initialized. Spring 88.0 Build date/time: Mar 21 2012 20:47:30 Build environment: boost-104800, GNU libstdc++ version 20100429 Compiler: gcc-4.4.4 report any errors to Mantis or the forums. loading script from file: c:/springie_spring/script_Iodine1.txt Using read-write data directory: c:\springie_spring\ Scanning: c:\springie_spring\maps Scanning: c:\springie_spring\mods Scanning: c:\springie_spring\packages starting server... Binding UDP socket to IP (v4) 94.23.171.71 port 8787 [UDPListener] successfully bound socket on port 8787 Connecting to autohost on port 55753 Server started on port 8787 Connection attempt rejected: Packet too short |
Google_Frog (reporter) 2012-06-16 14:40 |
"Connection attempt rejected: Packet too short " seems to be a normal feature. All logs have this line. |
Kloot (developer) 2012-06-29 00:27 |
since this looks related to 3139: did any of the players involved in these games *time out* with a "lost connection to gameserver" in their infolog? |
Kloot (developer) 2012-07-04 14:46 |
no feedback --> fixed unless proven otherwise |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-06-14 05:55 | Google_Frog | New Issue | |
2012-06-14 09:32 | abma | Note Added: 0008768 | |
2012-06-14 11:06 | Google_Frog | Note Added: 0008769 | |
2012-06-14 11:18 | abma | Note Added: 0008770 | |
2012-06-14 11:28 | Google_Frog | File Added: battle_83368_SandCastles2_88.sdf | |
2012-06-14 11:28 | Google_Frog | Note Added: 0008771 | |
2012-06-14 11:55 | abma | Note Added: 0008772 | |
2012-06-14 12:11 | abma | Note Edited: 0008772 | |
2012-06-14 12:21 | abma | Note Added: 0008773 | |
2012-06-14 12:33 | abma | Note Added: 0008774 | |
2012-06-14 12:34 | abma | Note Edited: 0008774 | |
2012-06-14 12:36 | abma | Note Edited: 0008774 | |
2012-06-14 12:45 | abma | Note Edited: 0008773 | |
2012-06-14 14:14 | Google_Frog | Note Added: 0008776 | |
2012-06-14 15:55 | wolas | Note Added: 0008778 | |
2012-06-14 15:56 | wolas | File Added: game over.zip | |
2012-06-15 08:44 | Google_Frog | Note Added: 0008783 | |
2012-06-16 01:32 | Kloot | Note Added: 0008785 | |
2012-06-16 01:33 | Kloot | Note Edited: 0008785 | |
2012-06-16 01:34 | Kloot | Note Edited: 0008785 | |
2012-06-16 10:25 | abma | Note Added: 0008786 | |
2012-06-16 14:16 | Google_Frog | Note Added: 0008788 | |
2012-06-16 14:23 | Google_Frog | Note Edited: 0008788 | |
2012-06-16 14:32 | Google_Frog | Note Edited: 0008788 | |
2012-06-16 14:38 | Google_Frog | Note Added: 0008790 | |
2012-06-16 14:40 | Google_Frog | Note Added: 0008791 | |
2012-06-29 00:17 | Kloot | Relationship added | related to 0003139 |
2012-06-29 00:27 | Kloot | Note Added: 0008866 | |
2012-06-29 00:28 | Kloot | Status | new => feedback |
2012-07-04 14:46 | Kloot | Note Added: 0008889 | |
2012-07-04 14:46 | Kloot | Status | feedback => resolved |
2012-07-04 14:46 | Kloot | Fixed in Version | => 89.0 |
2012-07-04 14:46 | Kloot | Resolution | open => fixed |
2012-07-04 14:46 | Kloot | Assigned To | => Kloot |