Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pbem ruleset errors #23

Open
SunrisePink opened this issue Apr 18, 2020 · 1 comment
Open

Pbem ruleset errors #23

SunrisePink opened this issue Apr 18, 2020 · 1 comment

Comments

@SunrisePink
Copy link

If you chose a MP2 ruleset for pbem games two AI players (so you have 6 at maximum) are created and the game will be broken.

@drdogbot7
Copy link
Contributor

drdogbot7 commented Apr 27, 2020

I experimented with this before. In order for PBEM to work, there are some special server settings that need to be set. Normally when you start a PBEM game this is done automatically, but when you change rulesets, I think some of these get reset.

Here are the special PBEM settings:
https://github.com/freeciv/freeciv-web/blob/develop/publite2/pubscript_pbem.serv

Ideally, these would be re-applied when you switch rulesets, but you should be able to set these options manually in the console, before starting the game:

I think these are the critical settings:

/set phasemode PLAYER
/set aifill 1
/set civilwarsize 1000
/set barbarians disabled

phasemode makes players alternate moves (instead of moving simultaneously). The other settings are basically all preventing the game from creating any AI players.

These next ones may or may not be necessary. You'd have to experiment:

/set nettimeout 120
/set netwait 15
/set pingtime 30
/set pingtimeout 120
/set maxconnectionsperhost 256
/set scorelog enabled
/set ec_info=enabled
/set ec_max_size=20000
/set ec_turns=32768
/set contactturns=0

I think contactturns=0 essentially disables diplomacy, which doesn't really work in PBEM.

These last ones are just preferences. PBEM normally starts you with extra money and units, and makes techs easier to research.

/set startunits=ccccccwwwwwx
/set landm 50
/set gold 500
/set sciencebox 50

https://freeciv.fandom.com/wiki/Server_options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants