|
|
|
 |

February 19th, 2007, 09:36 PM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Dedicated server
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
|
General
|
|
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
|
|
Re: Dedicated server
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:
http://www.dom3minions.com/docs/CommandLine.txt
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
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Dedicated server
The simplest command line is
dom3 -TS
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
called MyGame
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
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

February 20th, 2007, 03:51 AM
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: Dedicated server
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
|
 |
General
|
|
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
|
|
Re: Dedicated server
I still get Code:
error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
even when I am using "--noglext" which supposedly disables any OpenGL stuff. Well, it doesn't. Am I able to fix this, somehow?
|

February 20th, 2007, 07:34 AM
|
 |
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Dedicated server
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.
__________________
"It makes you wonder if there is anything to astrology after all. "Oh, there is," said Susan, "Delusion, wishful thinking and gullibility." (T. Pratchett)
|

July 30th, 2012, 11:48 AM
|
Private
|
|
Join Date: Aug 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Dedicated server
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, 08:35 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Dedicated server
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|