View Single Post
  #17  
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