.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 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old September 4th, 2004, 03:30 AM
PhilD's Avatar

PhilD PhilD is offline
First Lieutenant
 
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
PhilD is on a distinguished road
Default Re: How multiplayer is working out for you guys...

Quote:
Gandalf Parker said:

I think both --scoredump and --status create a file with the turn number in it. Ive been thinking along the same lines. There are already a couple Versions of programs to do that but they all require that the user have some programming environment loaded to run the scripts. I was going to "basic" it so that I could offer a stand-alone EXE but if you want to C it that would be great.
No, it was a bash script - my "solution" wrote a file that contained the turn number, and read from it each time. Like I said, it's ugly - and won't work properly if some turns are run without the script - but that's basically the only way I could think of for adding "permanent memory" to a script.
Reply With Quote
  #2  
Old September 4th, 2004, 11:09 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: How multiplayer is working out for you guys...

Quote:
PhilD said:
Quote:
Gandalf Parker said:

I think both --scoredump and --status create a file with the turn number in it. Ive been thinking along the same lines. There are already a couple Versions of programs to do that but they all require that the user have some programming environment loaded to run the scripts. I was going to "basic" it so that I could offer a stand-alone EXE but if you want to C it that would be great.
No, it was a bash script - my "solution" wrote a file that contained the turn number, and read from it each time. Like I said, it's ugly - and won't work properly if some turns are run without the script - but that's basically the only way I could think of for adding "permanent memory" to a script.
Then use --scoredump or --status and grep it.
__________________
-- 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
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 07:43 AM.


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