|
|
|
|
 |
|

January 4th, 2008, 06:35 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: Columbus, OH
Posts: 2,204
Thanks: 67
Thanked 49 Times in 31 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
The part I waste the most time on with llamaserver games, and BTW I wouldn't play PBEM at all if you hadn't setup the awesomeness that is llamaserver, is the amount of time it takes me to download the attachment to the right folder, open up dominions, and then reattach it when I'm ready to go.
What would give me the most time savings is if there was a single program I could run that would...
1. Download the e-mail, or fetch it from a particular place. The second part is important, I don't want to have to run the program each time just to see if the turn has hosted. Part of the fun of PBEM or Velusion's IP servers is getting the notice in the mail letting you know it has. If the program could both log into a POP account as well as check your regular e-mail client's directory, that would be best.
2. Then open up dom 3 to that game.
3. When I close down dom 3, prompt if you want to send game.
That's pretty much it. That would make me a very happy camper. Llamaserver is great already though, so anything you add is just icing on the cake.
Jazzepi
|

January 4th, 2008, 07:21 PM
|
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
Jazzepi, can you just explain point 1 again for me? I understand (and agree with) the bit that getting an e-mail telling you the new turn is out is fun. But I don't understand the "or fetch it from a particular place. The second part is important." bit.
I like the idea that when you close down dom3 it prompts you to ask whether you want to send the 2h file.
I could almost do this myself (for Linux), if it weren't for my complete ignorance of GUI stuff, and the fact that I'm focussing on the server itself. I expect it would be easy for someone though.
|

January 4th, 2008, 07:42 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: Columbus, OH
Posts: 2,204
Thanks: 67
Thanked 49 Times in 31 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
Quote:
llamabeast said:
Jazzepi, can you just explain point 1 again for me? I understand (and agree with) the bit that getting an e-mail telling you the new turn is out is fun. But I don't understand the "or fetch it from a particular place. The second part is important." bit.
|
Well, there are two ways to get the file. One is to fetch it through an e-mail client. I use Thunderbird. So, accordingly when I fetch the file it should store it /somewhere/. I'm not sure how, or where, it stores e-mail attachments that have been downloaded from the pop server but not saved explicitly onto the hard drive. My thought was that the program would keep track of which turn attachment to look for, and pick out the newest one by creation date.
This would remove the need to even save the file from the attachment itself.
Actually, I guess you could avoid all of this if the program was able to reach out over the internet and grab its own new copy of the turn file when you ran it and you just used the e-mail alter/turn file as only an alert.
The whole idea was to remove the process of saving the attachment off the e-mail into the individual game folder.
Jazzepi
|

January 4th, 2008, 07:54 PM
|
|
General
|
|
Join Date: Oct 2007
Location: Poland
Posts: 3,414
Thanks: 26
Thanked 73 Times in 49 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
Jazzepi:
I think that Thunderbird has whole inbox, messages and attachments in one big file. It would be quite dangerous for it to just save attachments in any place.
|

January 4th, 2008, 08:04 PM
|
 |
Major General
|
|
Join Date: Jan 2004
Location: Columbus, OH
Posts: 2,204
Thanks: 67
Thanked 49 Times in 31 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
Quote:
Zeldor said:
Jazzepi:
I think that Thunderbird has whole inbox, messages and attachments in one big file. It would be quite dangerous for it to just save attachments in any place.
|
I was thinking that's the case =( Which would make trying to understand the file's architecture just to avoid a single step silly.
Would be easier if the program just fetched a new copy of the turn when you ran it, or looked in one place. Also, it would be nice if it gave you a selection to pick from, since I'm in multiple PBEM games.
Jazzepi
|

January 4th, 2008, 08:07 PM
|
 |
Major General
|
|
Join Date: Feb 2004
Location: Houston, Texas
Posts: 2,435
Thanks: 57
Thanked 662 Times in 142 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
my script is a batch file (for copying files around, launching dom, etc.) and an accompanying sendmail.exe which the bat invookes. How I have it set up is I just make a windows shortcut on my desktop for each game I'm playing and the shortcut is set to invoke the script passing in the args in for that game (game name, nation, etc). Get a turn notification, download the turn to my defauld download dir, click on the shortcut for that game and I'm good to go. I'm writing this from my phone, but when I attatch it tomorrow I'll post no brainer instructions so anybody can use it without needing a command prompt.
__________________
My guides to Mictlan, MA Atlantis, Eriu, Sauromatia, Marverni, HINNOM, LA Atlantis, Bandar, MA Ulm, Machaka, Helheim, Niefleheim, EA Caelum, MA Oceana, EA Ulm, EA Arco, MA Argatha, LA Pangaea, MA T'ien Ch'i, MA Abysia, EA Atlantis, EA Pangaea, Shinuyama, Communions, Vampires, and Thugs
Baalz good player pledge
|

January 4th, 2008, 08:13 PM
|
 |
Major General
|
|
Join Date: Feb 2004
Location: Houston, Texas
Posts: 2,435
Thanks: 57
Thanked 662 Times in 142 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
oh yeah, you don't have to dl it to the game folder, just the same folder ( ie c:/downloads) every time.
__________________
My guides to Mictlan, MA Atlantis, Eriu, Sauromatia, Marverni, HINNOM, LA Atlantis, Bandar, MA Ulm, Machaka, Helheim, Niefleheim, EA Caelum, MA Oceana, EA Ulm, EA Arco, MA Argatha, LA Pangaea, MA T'ien Ch'i, MA Abysia, EA Atlantis, EA Pangaea, Shinuyama, Communions, Vampires, and Thugs
Baalz good player pledge
|

January 4th, 2008, 08:40 PM
|
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
You're writing from a phone? Wow, I'm impressed. I hadn't quite internalised that that was really feasible yet. I sometimes feel like technology sneakily keeps on advancing when I turn my back.
|

January 4th, 2008, 07:22 PM
|
 |
Major General
|
|
Join Date: Feb 2004
Location: Houston, Texas
Posts: 2,435
Thanks: 57
Thanked 662 Times in 142 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
Coincidentally enough I was just putting the finishing touches on my own scripts that work close to what Jazz just outlined. Windows only but Linux should be easy enough. Already planned on releasing it to the community this weekend, just gotta finish testing it tomorrow. FWIW I set up a new gmail account just for this which the turns are sent from so you won't even need to configure any of that for the llamaserver if you're not too technical.
I've been using this script for a couple months and it just occurred to me to make it generic and available for all.
Basically you manually download your tun to the same place every time, launch the script, it launches your Dom game, you take your turn and exit Dom, the script mails your turn to llamaserver (unless you close that window before exitting Dom). No GUI, but easy to use and it works...
__________________
My guides to Mictlan, MA Atlantis, Eriu, Sauromatia, Marverni, HINNOM, LA Atlantis, Bandar, MA Ulm, Machaka, Helheim, Niefleheim, EA Caelum, MA Oceana, EA Ulm, EA Arco, MA Argatha, LA Pangaea, MA T'ien Ch'i, MA Abysia, EA Atlantis, EA Pangaea, Shinuyama, Communions, Vampires, and Thugs
Baalz good player pledge
|

January 4th, 2008, 07:24 PM
|
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: Community challenge: Automated PBEM e-mailing
WOW!!
Now that is a coincidence. Can't wait to give it a try. Good work Baalz!
What did you write it in? I am seriously ignorant of Windows programming, cos I've learnt most of my programming during my PhD, and the department computers use Linux.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|