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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars > Multiplayer & AARs

Reply
 
Thread Tools Display Modes
  #11  
Old July 23rd, 2006, 02:55 PM
BigJMoney's Avatar

BigJMoney BigJMoney is offline
Second Lieutenant
 
Join Date: Sep 2005
Location: North Carolina, USA
Posts: 403
Thanks: 0
Thanked 0 Times in 0 Posts
BigJMoney is on a distinguished road
Default Re: PBEM scripts

I am wondering if anyone of you guys who mentiond creating Python scripts have had a chance to work on them any more. Right now I'm trying to figure out how to host a provate PBEM game myself, but I can't seem to find the right thread about how to do it.

=$= Big J Money =$=
__________________
Reply With Quote
  #12  
Old July 23rd, 2006, 02:58 PM

shovah shovah is offline
Colonel
 
Join Date: Aug 2005
Posts: 1,606
Thanks: 0
Thanked 0 Times in 0 Posts
shovah is on a distinguished road
Default Re: PBEM scripts

to host a pbem game look at your manual, it tells you how.
Reply With Quote
  #13  
Old July 23rd, 2006, 04:27 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: PBEM scripts

Quote:
BigJMoney said:
I am wondering if anyone of you guys who mentiond creating Python scripts have had a chance to work on them any more. Right now I'm trying to figure out how to host a provate PBEM game myself, but I can't seem to find the right thread about how to do it.

=$= Big J Money =$=
I have started to do some more work on generalizing my script and adding a CLI and GUI to it (currently I run it from python shell, directly accessing public methods), then came my work and just sucked me into a high profile project.
I haven't forgotten about this nor have I lost my motivation, I will complete this script and it will be ready, hopefully sometime in the near future.
Reply With Quote
  #14  
Old August 25th, 2006, 03:34 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: PBEM scripts

update, CLI version of my script is nearly done. It is tested and confirmed to work on cygwin (and for that matter, Linux, Solaris etc).

I need to finish up some last touches of functionality and testing, then I can either post the script here, or do another round of improvements before posting, including:
1.Test functionality on windows systems.
2. Release the script as an exe, so that python installation and libgmail installation aren't needed.

Last phase of improvements is to add a GUI. but I'll do that after releasing the CLI.

The script works only if the host has a gmail account, please be aware of that. Of course if there's sufficient demand it's possible to add support for yahoo accounts as well (I get lazy at times )...

The script can do the following:
1. Retrieve turns files from gmail (regexp subject)
2. Verify that the turns are valid and report invalid ones.
3. Backup (on request and prior to hosting)
4. Broadcast messages to players.
5. Send status notifications that include invalid/missing turns reports to players.
6. Host
7. Distribute turn files to players.

EDIT, most probably it will also work for dom-III (if not, I'll update it so that it will).
Reply With Quote
  #15  
Old August 27th, 2006, 05:54 PM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: PBEM scripts

Tested functionality for windows platform, all works fine in my tests.

About releasing the script as an exe, I'm not that sure it's the right thing to do, as it will be impossible to view the code this way. I can do that if there's a specific request.

I will add a GUI and transition this to dom-III.

Instructions.
1. Install python. whatever platform you're using doesn't matter, the utility doesn't contain platform specific code.

2. Extract the zip file attached, it contains one screenshot, a configuration file and the utility.

3. Edit the file .domII_PBEM_conf for the configuration values. It's a text file that contains explanations.

4. Run domII_PBEM_utils.py.

5. Follow the CLI instructions.
Attached Files
File Type: zip 440639-domII_PBEM_utils.zip (91.1 KB, 718 views)
Reply With Quote
  #16  
Old August 30th, 2006, 09:17 AM
WraithLord's Avatar

WraithLord WraithLord is offline
General
 
Join Date: Sep 2003
Location: Tel Aviv, Israel
Posts: 3,465
Thanks: 511
Thanked 162 Times in 86 Posts
WraithLord is on a distinguished road
Default Re: PBEM scripts

Well, probably an exe would be more convenient for ppl, I give up to such popular demand

Attached is the script as a windows exe, just double click to run...

*** trying to upload ***

OK, so it seems it's not possible to upload exe files

I can send the file upon request.
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 02:06 PM.


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