(April 10th, 2020, 10:57)4298redo Wrote: I really wanna play CIV IV BTS in multiplayer with more human players than four. I understand that pitboss is the option for that.
But I need help...
What do I need to do from scratch to acctually host a pitboss game and make other players see my game?
How do I host a pitboss game?
How do I know that others can see my game?
Does the computer have to run the game all the time 24/7?
Happy easter everyone!!!
/4298redo
Hello,
the answer depends on your requirements
Quote:How do I host a Pitboss game?
1. The fastest/minimal solution without any mod:
Download
Civ4BeyondSword_PitBoss2014.exe and put it in the installation folder of Civ4:BTS
Start this executable and loop through the dialogs to create a new DirectIP game.
Give your users access to Port 2056 on this machine. (Depends on your network setup.)
• If you use the Steam version you had to select the branch with DirectIP support.
• You could also use the original pitboss binary, but then you will hit an annoying timeout during two dialogs. (Program requests Gamespy website, but gets no reply)
If you just want play a short game, this could be your choice.
2. The better solution with the improvements of the last years:
The normal Pitboss server had several flaws…
• Disconnecting users leads to permanent network traffic
• Restart of games only possible over dialog clicking marathon.
• Hosting difficult on Linux machine with headless setup.
• Old Civstats-Webinterface only show stats but not allow management of the game.
• ...
We developed a Mod, a server side environment, and the PBSpy-webinterface to solve this problems:
https://github.com/YggdrasiI/PBStats/
As player the Mod 'PB Mods_v9' needs to be used (or an mod which includes it.)
As server host you had to setup a game in the 'PBs' folder. Copy it from
above repository. Then copy 'PBs/seed' to 'PBs/PB1', open a terminal and use startPitboss.py (preferred) or startPitboss.bat to start the server.
Some environment variables had to be set before it works, e.g in PBs/startPitbossEnv.py and PBs/PB1/CivilizationIV.ini
More details are written in the PBStats Readme.
Quote:How do I know that others can see my game?
If you use the PBStats approach,
PBSpy can be used to show the game status to others. Setup will be done in the configuration file 'PBs/PB1/pbSettings.json)
Quote:Does the computer have to run the game all the time 24/7?
The server needs to run 24/7. Or you develop a solution, which wake up it if an user wants join