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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Multiplayer and AARs

Reply
 
Thread Tools Display Modes
  #1  
Old April 4th, 2008, 02:47 PM
sansanjuan's Avatar

sansanjuan sansanjuan is offline
Captain
 
Join Date: Dec 2007
Location: Minnesota, USA
Posts: 887
Thanks: 144
Thanked 40 Times in 36 Posts
sansanjuan is on a distinguished road
Default Re: README contents

Ich,
Nice work indeed!
-SSJ
__________________
"I think, therefore I am" - René Descartes

"I yam what I yam" - Popeye
Reply With Quote
  #2  
Old April 11th, 2008, 06:33 PM
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 Feedback

Well, yeah, this script was my very first and certainly most rewarding dom3-related programming experience so far. But it just so happens that just now I find the following switch in the Dom3 game help: Code:
--statfile      Create a player info file after each turn (stats.txt)


Was that always in there? That would have made the initial programming a little easier, I think.

Here's the easily parseable contents of one such stats.txt file: Code:
Statistics for game 'Test' turn 45

Arcoscephale is computer controlled
Ermor played this turn
T'ien Ch'i didn't play this turn
C'tis played this turn
Agartha played this turn
Helheim played this turn
Niefelheim didn't play this turn


The script now surpasses the functionality offered by this file. But to think that I could have just used this instead of reading from the file system and interpreting the results... and to think that I found the --scoresdump switch, but not this one... hehe

Maybe I will put this inside to be able to tell AI opponents and so on in a later version. This needs a rehaul, anyway.
__________________
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 May 7th, 2008, 03:41 PM

AStott AStott is offline
Private
 
Join Date: Jan 2004
Posts: 42
Thanks: 0
Thanked 1 Time in 1 Post
AStott is on a distinguished road
Default Re: Feedback

Ich, thanks for this script. It's perfect for me. I did make one tweak that I thought I'd pass on as a feature suggestion.

I altered the script so that you can add an extra "player" parameter. When this is specified on the main page that lists all the games, it adds an extra column that indicates whether or not the specified player has a new turn available. The cell will be blank if that player is not in that particular game.

This is nice for when a player is in multiple games, because it means they can check whether or not they have a turn up without having to go and check each of the individual game pages.

I'd send you my code change, but frankly I kind of hacked it in, and I'm sure you'd implement it more cleanly than I.
Reply With Quote
  #4  
Old May 7th, 2008, 03:44 PM

hunt11 hunt11 is offline
Sergeant
 
Join Date: Apr 2008
Posts: 288
Thanks: 26
Thanked 8 Times in 8 Posts
hunt11 is on a distinguished road
Default Re: Feedback

This makes checking out who has not played their turn, and how much time until the next turn starts makes checking the status of games really easy. Great job Ich
Reply With Quote
  #5  
Old May 7th, 2008, 03:48 PM
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: Feedback

Quote:
AStott said:
I'd send you my code change, but frankly I kind of hacked it in, and I'm sure you'd implement it more cleanly than I.
Just tell me the URL where your version can be viewed, I think that's enough for me to understand what you're talking about.
__________________
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
  #6  
Old May 13th, 2008, 01:07 PM

AStott AStott is offline
Private
 
Join Date: Jan 2004
Posts: 42
Thanks: 0
Thanked 1 Time in 1 Post
AStott is on a distinguished road
Default Re: Feedback

I sent the link in a message to you.
Reply With Quote
  #7  
Old July 3rd, 2008, 07:10 PM
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: Feedback

such a small file, why RAR 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!)
Reply With Quote
  #8  
Old July 8th, 2008, 09: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: Feedback

Quote:
Gandalf Parker said:
such a small file, why RAR it?
Basically, because it's more than one file.
__________________
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
Reply

Bookmarks


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 12:47 AM.


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