Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] [PATCH] spyoncmds, /endgame, mintimeout 40, used on civser
Home

[Freeciv-Dev] [PATCH] spyoncmds, /endgame, mintimeout 40, used on civser

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv developers <freeciv-dev@xxxxxxxxxxx>, Freeciv bug reports <bugs@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [PATCH] spyoncmds, /endgame, mintimeout 40, used on civserver.freeciv.org
From: Reinier Post <rp@xxxxxxxxxx>
Date: Thu, 23 May 2002 22:10:59 +0200

Attached are some patches that have been running on civserver.freeciv.org
since last summer.  They have been posted to freeciv-dev before:

  http://arch.freeciv.org/freeciv-dev-200108/msg00762.html
  http://arch.freeciv.org/freeciv-dev-200111/msg00974.html

but never to the bug tracking system.
They can also be found at

  http://civserver.freeciv.org/patches/cvs/

Attached are updated versions. They are automatically applied to
the CVS server every day.

They are all patches to command handling in to server/stdinhand.c.

The first patch sets the minimum timeout to 40 and is already in effect
on civserver.freeciv.org.  A timeout of 0 is still allowed as a special case.

The second makes it impossible for clients to /end a game.
(It does nothing to prevent them from typing /set endyear -3950).

The third notifies all players of the execution of a command.
This way you can point fingers in case of accidents or abuse.

The fourth is just a trivial comment change.

  mintimeout40.patch
  endgameishack.patch
  spyoncmds.patch
  commentremovecmd.patch

Note that mintimeout40.patch, which changes only one line,
won't apply unless you first apply autogame.patch, which will
be posted in my next message.

The mintimeout40.patch is essential to a public gameserver, where
setting the timeout to 10 or below effectively destroys the game.
I'm not sure if it should be applied to CVS.  The other 3 seem
suitable for CVS.

Please comment.

-- 
Reinier

Attachment: mintimeout40.patch
Description: Text document

Attachment: endgameishack.patch
Description: Text document

Attachment: spyoncmds.patch
Description: Text document

Attachment: commentremovecmd.patch
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]