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!)
|