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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old October 22nd, 2006, 08:28 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: Dom-III PBEM manager

1. Full config file:
[GENERAL]
# Windows values:
dom_path = D:\Program Files\dominions3
temp_turns_path = D:\temp
backup_path = D:\temp\domIII

host_email = name@gmail.com
host_pwd = 1234
sig_msg = Thanks, name
active_game = test

[GAMES]
games= test

[test1]
players = player1@gmail.com:mid_oceania, player2@yahoo.com:mid_pythium, player3@whocares.com:mid_vanheim

sent_turns_msg = have fun

2. /cygdrive, is for cygwin - a Linux flavour OS on top of MS windows. Just ignore it if you work on windows, use windows path instead.

3. Thanks for your interest

4. You should seriously consider upgrading to python 2.6. Also python is white space sensitive. The script was tested on windows and cygwin and should work ok. Could it be that the file was edited by mistake?- Maybe try to DL it again. If that fails please post here or PM me with the exact error you get and I'll look into it.
Reply With Quote
  #2  
Old October 22nd, 2006, 07:04 PM

Cheezeninja Cheezeninja is offline
Sergeant
 
Join Date: Mar 2004
Location: cali
Posts: 325
Thanks: 0
Thanked 0 Times in 0 Posts
Cheezeninja is on a distinguished road
Default Re: Dom-III PBEM manager

Okay. I think I've done everything right, I don't have libgmail in the python folder if that matters, which it doesn't seem like it should(?), or your module either. I open up the Python gui, open your file, and select run module. It gives me this error:

Error: Inconsistent indentation detected!

1) Your indentation is outright incorrect (easy to fix), OR

2) Your indentation mixed tabs and spaces.

To fix case 2, change all tabs to spaces by using edit->Select All followed by Format->Untabify Region and specify the number of columns used by each tab.

It also takes me to a line in the middle of your module and highlights the line that says "self.ga.login()"
Reply With Quote
  #3  
Old October 22nd, 2006, 07:37 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: Dom-III PBEM manager

Oh, I think I may have a hunch what's causing your issue.
Please make sure you follow step 3. of my first post.
After which libgmail should be correctly installed, please verify it as follows: open a shell (start->run->cmd in windows, or xterm in linux), run python (IDLE works as well), run import libgmail.
This should work w/o errors, if you hit an error this means libgmail isn't installed correctly. It should be fairly easy to install what with one command that installs it and up until now worked smoothly for me. Tell me if this helps.
Reply With Quote
  #4  
Old October 22nd, 2006, 07:58 PM

Cheezeninja Cheezeninja is offline
Sergeant
 
Join Date: Mar 2004
Location: cali
Posts: 325
Thanks: 0
Thanked 0 Times in 0 Posts
Cheezeninja is on a distinguished road
Default Re: Dom-III PBEM manager

I installed libgmail, I even managed to access the gmail account to make sure it worked, but I'm unsure what you mean by "run import libgmail" I don't see any import options, and doing a index search of the help documentation brings up a whole bunch of stuff I don't understand.
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 11:14 PM.


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