Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] dynamic timeout (PR#1356)
Home

[Freeciv-Dev] dynamic timeout (PR#1356)

[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] dynamic timeout (PR#1356)
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 30 Mar 2002 21:25:43 -0800 (PST)

With help from Per, here is the next go around of the magically
increasing timer. How it works:

set timeout <timeout>

people should hopefully be familiar with that part. The new part:

timeoutincrease <turn> <turninc> <value> <valuemult>
                        
Description:
  Every <turn> turns, add <value> to timeout timer, 
  then add <turninc> to <turn> and multiply <value> 
  by <valuemult>.

sound complicated? yes it is, but with about a minute of thought you'll
see how powerful and flexible it is.

I'm not terribly good at parsing text, so please try it out and try to
break it.

-mike

Attachment: timeoutincrement3.patch
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] dynamic timeout (PR#1356), Mike Kaufman <=