View Single Post
  #3  
Old June 14th, 2008, 12:04 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: 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!)
Reply With Quote