FreeOrion

Forums for the FreeOrion project
It is currently Fri May 25, 2018 1:05 pm

All times are UTC


Forum rules


Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Apr 01, 2018 9:57 pm 
Offline
Space Squid

Joined: Sat Nov 08, 2014 3:44 pm
Posts: 63
Hi all,

I play a lot of fairly slow multiplayer with a friend, and the network connection gets lots whenever one of us is AFK for more than about 15 mins. A dialog pops up saying "A saved game is in progress" which stays there forever unless you click Exit Without Saving, which leaves the game.

Assuming this isn't intentional, I'd be very keen to help debug it. I don't have the tools to build from source, but I'll happily install development versions, time how long it takes to crash, try reproducible things etc.

Ideally I'd like to be able to leave the game running 24/7 for days on end without anyone getting disconnected.

CC


Top
 Profile  
 
PostPosted: Mon Apr 02, 2018 3:13 am 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4609
I don't think that is intentional, and we're always glad to have help. The tools to build from source are free, but if you are not into programming I understand you might not want to pursue that route.

What version are you playing? You might actually be able to see some improvement with the most recent test version (here for Windows, here for MacOSX), because of some recent work that was directed towards the general issue of restoring player connections.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
PostPosted: Mon Apr 02, 2018 4:56 am 
Offline
Space Kraken

Joined: Sat Dec 10, 2011 5:46 am
Posts: 107
I also got same issue with my public server when leaving client in multiplayer lobby. When I'd closed client the server didn't noticed about disconnection.

Dilvish wrote:


It works only for authenticated users. Maybe implement some "cookie" system to enable restoring connection for unauthenticated one? Or implement pinging connection with some period?

_________________
Gentoo Linux amd64, gcc-6.4.0, boost-1.65.0
Ubuntu Server 18.04.0 x64, gcc-7.3, boost-1.65.1
Welcome to multiplayer public server at freeorion-test.dedyn.io. Version 2018-05-22.2e3c6f4
Donates are welcome: BTC: 14XLekD9ifwqLtZX4iteepvbLQNYVG87zK


Top
 Profile  
 
PostPosted: Mon Apr 02, 2018 8:48 am 
Offline
Space Squid

Joined: Sat Nov 08, 2014 3:44 pm
Posts: 63
Dilvish wrote:
I don't think that is intentional, and we're always glad to have help. The tools to build from source are free, but if you are not into programming I understand you might not want to pursue that route.

What version are you playing? You might actually be able to see some improvement with the most recent test version (here for Windows, here for MacOSX), because of some recent work that was directed towards the general issue of restoring player connections.


Thanks. Weirdly, after I wrote that, it didn't crash all night last night. But as soon as I tried to save the game this morning (anticipating a crash when I clicked End Turn), it crashed again. So I wonder if it is something to do with (auto)saving.

But the first thing is to update to the latest development version and report back. So far I've been sticking with 0.4.7.1 (which is excellent btw).

CC


Top
 Profile  
 
PostPosted: Sun Apr 08, 2018 10:11 pm 
Offline
Space Kraken

Joined: Sat Dec 10, 2011 5:46 am
Posts: 107
o01eg wrote:
Maybe implement some "cookie" system to enable restoring connection for unauthenticated one?


There is one: https://github.com/freeorion/freeorion/pull/2067

_________________
Gentoo Linux amd64, gcc-6.4.0, boost-1.65.0
Ubuntu Server 18.04.0 x64, gcc-7.3, boost-1.65.1
Welcome to multiplayer public server at freeorion-test.dedyn.io. Version 2018-05-22.2e3c6f4
Donates are welcome: BTC: 14XLekD9ifwqLtZX4iteepvbLQNYVG87zK


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group