[Freeciv-Dev] (PR#39382) civ1 and civ2 rulesets crash, no sea barbarians, bad tech Never

2007-07-11 Thread Ulrik Sverdrup

http://bugs.freeciv.org/Ticket/Display.html?id=39382 >

To resolve the last item in this bug, the "bad tech Never" message for
the civ1 ruleset; trunk requires a req for Airbase that is always false.
Here is a small patch.
(The requirement "None" is always active, and negated it is never active)
Index: data/civ1/terrain.ruleset
===
--- data/civ1/terrain.ruleset	(revision 13094)
+++ data/civ1/terrain.ruleset	(arbetskopia)
@@ -939,8 +939,8 @@
 graphic_alt  = "-"
 activity_gfx = "unit.airbase"
 reqs =
-{ "type", "name", "range"
-  "Tech", "Never", "Player"
+{ "type", "name", "range", "negated"
+  "None", "", "", 1
 }
 gui_type = "Airbase"
 native_to= "Air", "Missile"
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#39382) civ1 and civ2 rulesets crash, no sea barbarians, bad tech Never

2007-05-28 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=39382 >

A patch for the sea barbarians had already been posted at PR#38387
many weeks ago.  Committed.



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#39382) civ1 and civ2 rulesets crash, no sea barbarians, bad tech Never

2007-05-27 Thread William Allen Simpson

http://bugs.freeciv.org/Ticket/Display.html?id=39382 >

Tried testing my civ3 oceans against civ2 and civ1, just to make sure my
code is behaving -- lo and behold, they already crash the server --
without my help

civ2
2: Loading rulesets
1: No sea barbarian nation defined. At least one required!

civ1
2: Loading rulesets
1: Invalid requirement Tech | Player |  |  | Never
1: Section airbase has unknown req: "Tech" "Never" (data/civ1/terrain.ruleset)
1: No sea barbarian nation defined. At least one required!



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev