|
|
|
|
November 14th, 2008, 10:41 PM
|
|
General
|
|
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
|
|
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?
|
November 14th, 2008, 11:55 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
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.
|
November 14th, 2008, 11:57 PM
|
|
Lieutenant General
|
|
Join Date: Feb 2004
Posts: 2,687
Thanks: 20
Thanked 54 Times in 39 Posts
|
|
Re: Playing turns on a network server
yah, just copying the folder and running from there works in windows.
|
November 15th, 2008, 04:36 PM
|
|
General
|
|
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
|
|
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.
|
November 15th, 2008, 05:33 PM
|
|
Lieutenant General
|
|
Join Date: May 2008
Location: Utopia, Oregon
Posts: 2,676
Thanks: 83
Thanked 143 Times in 108 Posts
|
|
Re: Playing turns on a network server
Quote:
Originally Posted by WraithLord
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 ).
|
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
|
|
|
|
|