Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Dangerous Danger (PR#914)
Home

[Freeciv-Dev] Dangerous Danger (PR#914)

[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] Dangerous Danger (PR#914)
From: Etrigan@xxxxxxxxxxxxxx
Date: Sat, 25 Aug 2001 22:40:35 -0700 (PDT)

Full_Name: Andy Roberts
Version: 1.12.0
Distribution: Built from source
Client: Gtk+
OS: Linux Mandrake 7.X
Submission from: (NULL) (208.31.75.100)


The server will crash and dump core (with a nice error message that says:
Dangerous Danger {gives a city name} and then a large number
(a large negative number, I'm pretty sure))
quite regularly if you do the following:

change the terrain.ruleset so that several types of terrain give high 
resources such as: making swamps, mountains (with coal), and forests
(with pheasant) give food=9 shield=9 trade=9

I thought it was because the cities were growing too quickly, but after
setting foodbox to 30 in the server vars, the server crashed with cities
of size 1.

Could this be a problem with a variable rolling over? production in a 
city goes too high, the var rolls over, and you get a negative production?
I dunno - never looked at the source.

Please let me know if there's some way to fix it. I like playing with that
edited terrain.ruleset, because it lets me play a whole game in 20-30 minutes.

Thanks -
Andy Roberts



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