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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old May 4th, 2007, 01:01 AM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default HOWTO: Simultaneous 306 and 308

I tried setting up my Dom3 install with both 306 and 308. I want to run a 308 MP game in network server mode, but I'm in 3 MP games which at this point require a 306 client.

I'm using the following directory structure, Code:


lrwxrwxrwx 1 root root 34 May 4 12:14 /usr/local/bin/dom306 -> /usr/local/games/dominions306/dom3
lrwxrwxrwx 1 root root 34 May 4 12:15 /usr/local/bin/dom308 -> /usr/local/games/dominions308/dom3

lrwxrwxrwx 1 root root 15 May 4 12:19 /usr/local/games/dominions3 -> /usr/local/games/dominions308
drwxr-xr-x 8 root root 4096 May 4 12:09 /usr/local/games/dominions306
drwxr-xr-x 8 root root 4096 May 4 12:12 /usr/local/games/dominions308



But if I want to have a 308 game server always up and running, it may cause problems with the running server if I change the link to point to 306, in order to run a 306 client.

There is only one configuration file for Dom3 that I could find, /usr/local/.install_locations/dominions3, it contains just one line, Code:

/usr/local/games/dominions3



Has anyone figured out how to manage this? I don't see any command line switches available that would let me specify an alternate installation directory.
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
Reply With Quote
  #2  
Old May 4th, 2007, 03:07 AM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: 308 server and 306 clients, linux

Setting the environment variable dom3_data to /usr/local/games/dominions306 should do it. Otherwise use 308 data for all games. You will only run into problems for cave battles (incorrect battle replays there).
__________________
http://www.illwinter.com
Reply With Quote
  #3  
Old May 4th, 2007, 06:05 AM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Re: 308 server and 306 clients, linux

Thank you!

Edit: Actually, dom3_data didn't work but DOM3_DATA works fine.

So, if you set things up in separate directories, you can run either like this, Code:


DOM3_DATA=/usr/local/games/dominions308/ /usr/local/games/dominions308/dom3

DOM3_DATA=/usr/local/games/dominions306/ /usr/local/games/dominions306/dom3



And use whatever command line switches you normally specify.
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
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 05:17 PM.


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