.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

ATF: Armored Task Force- Save $8.00
War Plan Pacific- Save $8.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old February 19th, 2007, 09:36 PM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default 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...
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #2  
Old February 20th, 2007, 02:07 AM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default 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.
Reply With Quote
  #3  
Old February 20th, 2007, 02:19 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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!)
Reply With Quote
  #4  
Old February 20th, 2007, 03:51 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default 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?
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #5  
Old February 20th, 2007, 07:13 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default 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?
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #6  
Old February 20th, 2007, 07:34 AM
Esben Mose Hansen's Avatar

Esben Mose Hansen Esben Mose Hansen is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Copenhagen, Denmark
Posts: 410
Thanks: 0
Thanked 0 Times in 0 Posts
Esben Mose Hansen is on a distinguished road
Default 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)
Reply With Quote
  #7  
Old July 30th, 2012, 11:48 AM

Joku Joku is offline
Private
 
Join Date: Aug 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Joku is on a distinguished road
Default 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?
Reply With Quote
  #8  
Old August 6th, 2012, 08:35 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Dedicated server

http://forum.shrapnelgames.com/showthread.php?t=36319
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:26 AM.


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