uruiamme wrote:26. Caravans/Freight Traderoute Establishment Broken. I have seen this on a lot of different games now.
I made a lot of changes to this area of Freeciv some months ago. It is possible that I accidentally changed the rules. If this is the case I would appreciate a save game and instructions to reproduce the problem.
uruiamme wrote:In these cases, the only real offerings are Keep Moving (which works as above) or to Enter Marketplace and just get a few gold pieces.
I also changed Freeeciv-web so it wouldn't offer to establish a trade route when the result would be that the unit would enter the marketplace without a new trade route being established. Before this change the real result would be visible in the messages but easy to overlook. It is possible that you used to press "Establish Trade Route" but ended up entering the market place without noticing.
uruiamme wrote:There is often a problem in which some cities will not engage in a traderoute, even though they are more than 9 squares away (sometimes much further) and even though they have few, if any, traderoutes already.
Are you sure that the city don't have as many trade routes (established by you or by an AI player) as is allowed? It is only possible to replace an old trade route if the new trade route is more profitable. Are you sure that the two cities don't have a trade route to each other already?
uruiamme wrote:I am not sure how the trade route is calculated, but it is aggravating when I guess wrong and a traderoute can't be established and it slows the game down a lot if there are no railroads or I have a lot of caravans.
It is complicated. Some of it is ruleset specific. I don't have the time right now to write all the rules in precise and understandable English targeted at players. Stop reading here unless you wish to find out your self and aren't afraid of reading something targeted at ruleset authors:
You can read more about the hard coded stuff in the "Actions and their hard coded requirements" section of Freeciv's doc/README.actions
. Look for "Establish Trade Route".
Freeciv-web uses the fcweb ruleset by default. You can read the fcweb ruleset at https://github.com/freeciv/freeciv-web/tree/master/freeciv/data/fcweb
. According to [actionenabler_traderoute] in game.ruleset the unit can establish a trade route if it has the TradeRoute unit type flag. Both Caravan and Freight has that flag. You may also wish to read the [trade] section in the same file. There is also some effects (see effects.ruleset) involved. I don't remember the exact effects. Freeciv's doc/README.effects
has a list of all effects in Freeciv.
If Freeciv-web don't behave as the ruleset and the documentation suggests there is a bug in Freeciv, in Freeciv-web or in the documentation.