Page 1 of 1

Accidentally set timeout

Posted: Tue Mar 21, 2017 12:17 pm
by drdogbot7
I was fiddling around with the options and accidentally set a timeout value in a PBEM game.

Is there any way to remove this once it's been set?

Re: Accidentally set timeout

Posted: Tue Mar 21, 2017 4:34 pm
by edd
/set timeout 0 is the usual way. Does it work for you?

Re: Accidentally set timeout

Posted: Tue Mar 21, 2017 5:35 pm
by drdogbot7
Using the UI on the options page, I can enter the "0" as the value but it doesn't take. It just retains the previously input timeout value.

Using the console and entering:

Code: Select all

/set timeout 0
I get the message "You are not allowed to set timeout values less than 30 seconds".

The best solution I've come up with is to set the timeout value to 3600 (1 hour), which is more than enough time.

Re: Accidentally set timeout

Posted: Tue Mar 21, 2017 6:03 pm
by AndreasR
Thanks for reporting this problem. Using /set timeout 3600 should solve the problem for now.
I have made a change so that the timeout value can not be changed by accident in the UI in the options panel in PBEM games from now on.

The reason that you are not allowed to set the timeout to less than 30 seconds in Freeciv, is to prevent someone from setting the timeout to -1 (autogame) or a very low value (eg 2 seconds) to "attack" the public server by making the server run lots of turns very fast. Unfortunately, this also prevents setting the timeout value to 0. The source is here. (I consider this a bug in the Freeciv server..)

Re: Accidentally set timeout

Posted: Wed Mar 22, 2017 2:37 pm
by sveinung
AndreasR wrote:(I consider this a bug in the Freeciv server..)
I agree.