Re: Script to create a display page for mp gamae?
The simplest thing is to run the game with
--scoredump Create a score file after each turn(scores.html)
Then if you also have
--postexec CMD Execute this command after each turn eneration
you can have a script or bat file move the scores.html to the web directory each time the host processes
You can even have it rotate the files there so that you have
scores.html
scores-1.html
scores-2.html
scores-3.html
etc etc etc
__________________
-- 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!)
|