.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old June 13th, 2008, 11:24 AM

Xietor Xietor is offline
Lieutenant General
 
Join Date: Feb 2007
Location: New Orleans
Posts: 2,741
Thanks: 21
Thanked 28 Times in 17 Posts
Xietor is on a distinguished road
Default 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.
__________________
"War is an art and as such is not susceptible of explanation by fixed formula."
- General George Patton Jr.
Reply With Quote
  #2  
Old June 13th, 2008, 11:58 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: Script to create a display page for mp gamae?

I think that you can find one in my sig.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
  #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
  #4  
Old June 14th, 2008, 12:11 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?

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
__________________
-- 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
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:30 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.