View Full Version : Dedicated server
February 19th, 2007, 09:36 PM
Okay, somebody please direct me where to find this info...
How do I install the game on a dedicated multiplayer server which does not have X installed or any OpenGL/SDL library, I only want to use it via a remote SSH login in text mode? And how do I configure / start the server?
Thanks in advance...
February 20th, 2007, 02:07 AM
I dont know how to install the game onto a linux machine. But as for how to run a server in text mode, its pretty simple. The basic command is:
dom3 -ST --port <port> <various game command switches> <mods> <map> <game name>
Here is the full list of server command line arguments that Gandalf has compiled:
Additionally, I believe that Gandalf runs all his server games on linux? So you might want to send him a PM to see if he can help w/ whatever installation stuff you are doing.
February 20th, 2007, 02:19 AM
The simplest command line is
which says Text and Server mode. Since no other answers were provided it will walk you thru it asking for port number, game name, era, then it will wait for people to join. Once someone hits the start button it will number the maps that are available and ask you which one to use. The problem is that you have to stay connected. If you hang up then it will quit.
A more involved start would be
nohup dom3 -TS MyGame --port 9999 --era 1 --map aran.map -q &
which says no-hangup (keep running if I hang up)
Text mode Server
on port 9999
an Era 1 game
using the Aran map
the q (thats a small case Q, not a G) means quickhost whenever all the turns are in
You might also consider adding
--hours 24 along with quickhost this will host when 24 hours are up so that one player cant keep the game waiting for 4 or 5 days
--masterpass A1b2C3 the master password can help you alot when players fall out of the game so you can set them to AI
--indepstr 7 to make the game last longer
--renaming which is real popular with players
I also use --statfile --scoredump --preexec --postexec and -ddd (you probably wont want to use ddd on someone elses server since it creates a really big logfile)
Once you get used to the things its asking then you can script a game start. That way you can easily run the next game with a new name or add variables to a game
February 20th, 2007, 03:51 AM
Thanks. Where can I look up the nation numbers? Edit: Found some nation numbers in the mapedit.pdf file...
Also, since I don't have a graphical login, I would have to install the game by hand, or just copy it from a finished installation, right?
February 20th, 2007, 07:13 AM
I still get <font class="small">Code:</font><hr /><pre>error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory</pre><hr /> even when I am using "--noglext" which supposedly disables any OpenGL stuff. Well, it doesn't. Am I able to fix this, somehow?
Esben Mose Hansen
February 20th, 2007, 07:34 AM
You cannot run dominions without those libraries. It sucks, but that is the way it is. You don't actually have to run X, though, it just needs libX+friends.
July 30th, 2012, 12:48 PM
Sorry for necroing this thread, but does anybody know which libraries need to be installed to run it from command-line only server?
August 6th, 2012, 09:35 AM
vBulletin® v3.8.0, Copyright ©2000-2013, vBulletin Solutions, Inc.