![]() |
Script to create a display page for mp gamae?
Is there a mod/script for displaying the nations statistics
in a mp game on a separate page? I know velusion had a page that showed all the nations statistics when you clicked a link and you did not have to log into the game. And I thought I saw a sticky with a script that did that at one time, but i forget where. |
Re: Script to create a display page for mp gamae?
I think that you can find one in my sig.
|
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 |
Re: Script to create a display page for mp gamae?
Here is an example
http://game.dom3minions.com/games/mid_Unlucky/ stats file is another that is good to generate and send to the web dir. Of course you can always make a nice webpage linking to the files since they will always be named the same then overwriting them each day wont cause a problem |
All times are GMT -4. The time now is 09:31 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.