Search found 246 matches

by nef
Mon Oct 18, 2021 4:52 pm
Forum: Help wanted
Topic: Correct the rulesets civ1 and civ2
Replies: 107
Views: 68308

Re: Correct the rulesets civ1 and civ2

Just a point of clarification on ticket `41 (referenced by `42). There was a follow up discussion about the temporary fix using fire power and hitpoints of 2 but I can no longer find it so a key point may be lost. The problem was NOT the "(the Pearl Harbour rule)" as defined by the unit fl...
by nef
Mon Oct 11, 2021 5:18 pm
Forum: Wishlist
Topic: Use trade from previous TC in traderoute bonus calculation
Replies: 3
Views: 246

Re: Use trade from previous TC in traderoute bonus calculation

More than just worker placement. In the (modified) civ1 games I always stay in despotism for its shield production and (free) army support. When forming trade routes I temporarily change the CMA and also the government to democracy. The change is an increase of about 120% or more. Micro management i...
by nef
Mon Sep 13, 2021 4:24 pm
Forum: Wishlist
Topic: A few ideas relating to units
Replies: 10
Views: 4369

Re: A few ideas relating to units

I can't imagine loading any of my units on an ally's ship. I do it with caravans when I`m in a rush to set up routes before they do (and/or before railroad). If they have just delivered a caravan I will try to fully stack their ship. It will almost certainly return home to ferry ONE more caravan to...
by nef
Mon Aug 09, 2021 5:50 pm
Forum: Contribution
Topic: A Tale of Two Fixes.
Replies: 14
Views: 1595

Re: A Tale of Two Fixes.

Very generous, but I have the advantage of not having to write anything in c. I read your script (in the patch) with some interest and I had a real sense of deja vu since many of the features had been considered, but in the end, only a few survived as I progressively discovered the treacherous traps...
by nef
Mon Aug 02, 2021 6:11 pm
Forum: Contribution
Topic: A Tale of Two Fixes.
Replies: 14
Views: 1595

Re: A Tale of Two Fixes.

Everything to this point has been developed on the experimental version of fc 2.6.0 but has been qualified on fc 2.6.5 using my civ1 ruleset. I see no reason for any problems to occur with any 2.6 ruleset, or indeed, any 3.x ruleset as currently formulated.
by nef
Mon Aug 02, 2021 6:10 pm
Forum: Contribution
Topic: A Tale of Two Fixes.
Replies: 14
Views: 1595

Re: A Tale of Two Fixes.

In developing the replacement _freeciv_state_dump I discovered a character limit for log.normal() likely due to a limit in the client/server protocol but could be anywhere. The new vars script easily runs into this limit so I am also providing a function to print the script in pieces. This function ...
by nef
Mon Aug 02, 2021 6:03 pm
Forum: Contribution
Topic: A Tale of Two Fixes.
Replies: 14
Views: 1595

Re: A Tale of Two Fixes.

There are three reasons for considering this new version: 1. It doesn`t crash (AFAIK). 2. Much better facilities: a. correctly reconstructs Nonexistent b. tables can be saved 3. It is in clear text: a. you can see what`s going on, b. you can change it as you see fit. fsd.txt The replacement version ...
by nef
Mon Aug 02, 2021 6:00 pm
Forum: Contribution
Topic: A Tale of Two Fixes.
Replies: 14
Views: 1595

Re: A Tale of Two Fixes.

Design notes for saving tables. The first point to note is that in Lua any data type (except nil) can be used for the key, as well as the value for any table field. The replacement version of _freeciv_state_dump() UNDERSTANDS THIS. (The distro version does not!) The next is to realise that some data...
by nef
Mon Aug 02, 2021 5:55 pm
Forum: Contribution
Topic: A Tale of Two Fixes.
Replies: 14
Views: 1595

Re: A Tale of Two Fixes.

Nonexistent. Warning: this is long and boring meant only for the tragic Lua scribe. So first, what is this subtype? Well the idea appears to be that when fc data is destroyed it is replaced by a tolua analogue of the Lua type nil. What happens is that the original subtype (Player, City, Unit) is cha...
by nef
Mon Aug 02, 2021 5:50 pm
Forum: Contribution
Topic: A Tale of Two Fixes.
Replies: 14
Views: 1595

Re: A Tale of Two Fixes.

Userdata: Before discussing the issues it is worth briefly discussing the natue of userdata. In fc the userdata can be classified into two distinct classes: data and metadata. The distinction between these is that data is created, modified, and (typically) destoyed by in-game events. The userdata su...