Follow-up Comment #2, bug #16536 (project wesnoth): After some debugging I gathered the following:
The server closes the game because it receives a "leave_game" message. You can see that server::process_data_game encounters the "leave_game" and decides to delete the game in server/server.cpp:2143. See [0]. So, I needed to figure out where did the client sent this from. Turns out it comes from the destructor of network_game_manager. In network_game_manager, destroyed from multiplayer.cpp:468. See [0]. The problem appears to be that even though the res switch (multiplayer.cpp:455) is mp::ui::PLAY the play_game call didn't behave properly. Analyzing this a bit further I caught the following exception in Lua, coming from play_controller::fire_prestart in src/play_controller.cpp:462: [1]. silene, is this bug network related? It could still be the case. Cheers, Billy [0]: http://wesnoth.pastebin.com/vKgyNpBT [1]: http://wesnoth.pastebin.com/JLeNKXBN _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?16536> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list [email protected] https://mail.gna.org/listinfo/wesnoth-bugs
