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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old November 14th, 2008, 10:41 PM
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 Playing turns on a network server

When you're hosting a network game, your own turn files are saved to the same directory as the server directory. The server can become confused and think you're ready for a quickhost if you just save your turn half-done.

I tried running as a different user, but even after 'xhost +', dom dies with a Gick Fel, "Failed to init OpenGL"

One solution to the problem is to change your dominions save directory, like this:

mkdir /home/me/localsave
export DOM3_SAVE=/home/me/localsave
dom321

Connect to the localhost server, disconnect immediately after entering your password, and play the new turn. Any .2h you save will just go into localsave, and you can reconnect to localhost and upload your turn when you are ready.

I'm sure there's loads of other ways around the problem, but this works best for me.
__________________
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 November 14th, 2008, 11:55 PM
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: Playing turns on a network server

In Windows I tend to copy all of the dominions directory and files to a different directory and make that the "server" copy.

On Linux I use a different user to run server games so that the directories and files stay different.
Reply With Quote
  #3  
Old November 14th, 2008, 11:57 PM
archaeolept's Avatar

archaeolept archaeolept is offline
Lieutenant General
 
Join Date: Feb 2004
Posts: 2,687
Thanks: 20
Thanked 54 Times in 39 Posts
archaeolept is on a distinguished road
Default Re: Playing turns on a network server

yah, just copying the folder and running from there works in windows.
Reply With Quote
  #4  
Old November 15th, 2008, 04:36 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: Playing turns on a network server

In windows you can just connect to the server, get the turn but don't open it. Disconnect. Play the turn at your leisure and only when you're ready to submit, reconnect to the server. Its been so long since I last played on a server that I actually forgot the exact steps to do when d/ling the turn, but its possible and I used to do this all the time for dom-II and in my first games of dom-III.
Reply With Quote
  #5  
Old November 15th, 2008, 05:33 PM
JimMorrison's Avatar

JimMorrison JimMorrison is offline
Lieutenant General
 
Join Date: May 2008
Location: Utopia, Oregon
Posts: 2,676
Thanks: 83
Thanked 143 Times in 108 Posts
JimMorrison is on a distinguished road
Default Re: Playing turns on a network server

Quote:
Originally Posted by WraithLord View Post
In windows you can just connect to the server, get the turn but don't open it. Disconnect. Play the turn at your leisure and only when you're ready to submit, reconnect to the server. Its been so long since I last played on a server that I actually forgot the exact steps to do when d/ling the turn, but its possible and I used to do this all the time for dom-II and in my first games of dom-III.
I think he was saying that if you are also the host, since it saves the turn in the same folder, that it will consider you done, the first time you open and close the turn, whether you are actually "logged in" to the server or not.

I agree though, easiest way to deal with that is to have 2 seperate copies of the game (though the clever scripting can save you 700mb of disk space ).
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 04:36 PM.


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