Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] patch: allowconnect server option (PR#446)
Home

[Freeciv-Dev] patch: allowconnect server option (PR#446)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] patch: allowconnect server option (PR#446)
From: David Pfitzner <dwp@xxxxxxxxxxxxxx>
Date: Wed, 12 Jul 2000 06:39:10 -0700 (PDT)

This patch adds a server command 'allowconnect':

: > help allow
: Option: allowconnect  -  What connections are allowed
: Description:
:   This should be a string of characters, each of which specifies a type or
:   status of a civilization, or "player".  Clients will only be permitted to
:   connect to those players which match one of the specified letters.  This
:   only affects future connections, and existing connections are unchanged. 
:   The characters and their meanings are:
:       N = New players (only applies pre-game)
:       H = Human players (pre-existing)
:       A = AI players
:       D = Dead players
:       B = Barbarian players
:   Note that the first description from the _bottom_ which matches a player is
:   the one which applies, thus 'D' does not include Barbarians, 'A' does not
:   include dead AI players, and so on.  The case of the characters is not
:   significant.
: Status: changeable
: Value: "NHAD", Default: "NHAD"

Eg, this allows connecting to barbarians for testing, or disallowing
connections to dead players or AIs (may be connsidered cheating in some
cases), etc.  Disallowing N or H would be unusual, but there may be 
uses, eg with autotoggle and 'create' ?  But mainly they are there for
completeness...

Regards,
-- David

Attachment: allowconnect.diff.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] patch: allowconnect server option (PR#446), David Pfitzner <=