[Freeciv-tickets] [freeciv] #45949: Expand flexibility of contactturns

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Sat Oct 22 17:37:07 JST 2022


#45949: Expand flexibility of contactturns

  Open Date: 2022-10-22 14:29
Last Update: 2022-10-22 17:37

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/45949
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45949

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-10-22 17:37 Updated by: lexxie9952

Comment:

Reply To cazfi
Isn't all that possible already? While we don't have requirement type for "active contact", it's implicit from the fact that you can have the meeting at all.
Did something happen lately in 3.2? My understanding is you have "contactturns" on and this allows all pacts, or you have it off and embassy is required. There is no way to make cease-fire and peace pacts allowable with contact, but all other pacts allowed only by embassy. ... Or it used to be this way, unless something changed I don't know about.

---------------------------------------------------------------------
Ticket Status:

      Reporter: lexxie9952
         Owner: (None)
          Type: Feature Requests
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: (None)
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

In multiplayer games with high number of players, the default state of "War" after meeting can create some ridiculous situations, such as huge cost of diplomacy making 15 diplomats just to get a status other than "War" with nations in the region. Well, just ignore it and make a verbal peace deal, right? No, because "War" diplrel has in-game consequences such as disallowing players to make alliances and in some cases can even break people's pacts etc.
At FCW, several years ago we hard-coded an emergency playability patch using "contactturns", where, you are allowed to do Cease-fire or Peace without embassy based on "contactturns" meeting. BUT require embassy for all other pacts. This has worked so well that people can't even imagine (large multiplayer) games without it. However, it remains an ugly hack-patch living in a fork of the main project. What the rest of the project needs and deserves is to selectively allow/disable certain types of pacts based on embassy AND/OR contactturns. That is, some pacts require contactturns, other pacts require embassy, and the ruleset or game settings can decide it.
Afterthought:
Always when making things like this, it's good to think ahead, whether 3 easy lines of code can expand functionality to other cases. e.g., how hard was it to add "Always" flag for tp_defense instead of just "Alight" and "Block"? In the spirit of such good practices, I fell that in addition to "Contact" and "Embassy" another req condition for pacts can be "Always", since it almost codes itself into the solution anyway.


-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/45949
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45949



More information about the Freeciv-tickets mailing list
Zurück zum Archiv-Index