.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Dedicated server (http://forum.shrapnelgames.com/showthread.php?t=33424)

lch February 19th, 2007 09:36 PM

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...

Ironhawk February 20th, 2007 02:07 AM

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.

Gandalf Parker February 20th, 2007 02:19 AM

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

lch February 20th, 2007 03:51 AM

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?

lch February 20th, 2007 07:13 AM

Re: Dedicated server
 
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

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.

Joku July 30th, 2012 11:48 AM

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?

Gandalf Parker August 6th, 2012 08:35 AM

Re: Dedicated server
 
http://forum.shrapnelgames.com/showthread.php?t=36319


All times are GMT -4. The time now is 09:03 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.