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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old June 18th, 2004, 08:50 PM

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: Network Hosting Problem - Cannot Creat File

This is a bug in dominions. I thought it was going to be corrected in 2.12, but sadly it was not.

Both the server process and your client process both use this temp file "dom16882/tmp_fl" and when either of them exits, it deletes that file. So, what is happening to you is this:

You start your server up and it makes the tmp_fl. You start your client up and it actually deletes and immediately recreates the tmp_fl so you dont notice any interruptions. Then when you exit your client cause your turn is done, the client erases the file. SO, when the server gets around to processing the turn after all players are in, it looks for the file and - uh oh - no file there anymore! CRASH.

Which is also why it will turn properly if your client is connected. In that case the file will not have been deleted, you see?

Anyway, I wrote a little program to get around this and I just run it alongside my server process. My server has been up for like 2-3 weeks now straight. I could possibly tailor the program for you if you like. Or alternately, you could just create the tmp_fl manually every time you exit your client
Reply With Quote
 

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 09:44 AM.


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