![]() |
Auto Emailing After Host and others re MP
Hi
I'm using Windows XP and just testing the hosting options (hosting a small game). I want to send an auto email after the game has been hosted - I assume that this is done by the execute a command, is there a program that can be run to send an email to x people. I use Thunderbird for my email client My second question - can I mix and match network and pbem, can I even have it that some people I send .trn files to and just copy their .h file in and others connect via the network. Third question I see it is pretty resource efficient - Kudos devs! Is there a way of minimising it to the system tray rather than having it run on my toolbar. Many thanks Tals |
Re: Auto Emailing After Host and others re MP
OK regarding the email looks like i've found the solution http://forum.shrapnelgames.com/images/smilies/happy.gif
http://www.ss64.com/nt/mapisend.html If anyone can assist with the other queries that would be appretiated. Tals |
Re: Auto Emailing After Host and others re MP
OK can someone assist me on the command line I need to achieve to autostart my Dom Server:
Port 1025 Command to execute after execution c:\postie\oo_aran.bat quickhost No auto turn generate Tals |
Re: Auto Emailing After Host and others re MP
And a second useful command
Run dom 2, connect to network game at ip a.b.c.d port zzzz Can it go one stage further and actually go to the race as well? That way I can advise my players to run that everytime a turn is sent Tals |
Re: Auto Emailing After Host and others re MP
Are you trying to join a game (ie hosted elsewhere) or wanting to host one ?
If you're connecting you cannot create your race there, cause the game should have started already ... Else you should choose "host a game", not connect http://forum.shrapnelgames.com/images/smilies/wink.gif |
Re: Auto Emailing After Host and others re MP
I think you misunderstood what I was trying to achive - just a simple way for people to connect to my game and also for me to be able to run the host easily.
So for the client: "C:\Program Files\dominions2\dom2.exe" --tcpclient --ipadr a.b.c.d --port 2013 -i --nointro gamename For the Host (i.e to start host) "C:\Program Files\dominions2\dom2.exe" --tcpserver --port 2013 -q --preexec c:\postie\gamename_back.bat --postexec c:\postie\gamename.bat gamename Was what I was looking for:) In terms of the other questions: Quote:
Quote:
Quote:
[/quote] Run dom 2, connect to network game at ip a.b.c.d port zzzz Can it go one stage further and actually go to the race as well? That way I can advise my players to run that everytime a turn is sent [/quote] This was a misunderstanding on the way the tcpip game works. The game determines what player you are by the .trn file in the gamename directory of the client. So this is not necessary. Tals |
Re: Auto Emailing After Host and others re MP
Tals,
Yes, I totally missed your point, sorry http://forum.shrapnelgames.com/images/smilies/wink.gif BTW, I'm pretty interested in any "auto emailing" system/batch/whatever that could remove the hassle of detaching/hosting/sending the pbem turn files. Some french player (at lavigie.org) juste made some vbs script to manage this through ftp instead, but it looks like you've made some neat stuff too. Could you elaborate about "postie" and so on ? Thx http://forum.shrapnelgames.com/images/smilies/happy.gif |
Re: Auto Emailing After Host and others re MP
Yeah np
Postie is a free command line email program. You can download it from here http://www.infradig.com Basically just extracts into a single directory which you run it from. I then have a batch file (my post command) which I then have the postie command in. For me this looks like <font class="small">Code:</font><hr /><pre> c:\postie\postie -host:mailserverip -from:myemailaddress -to:person_i_am_sending_to_email -s:"Dominions 2:OO_Aran Next Turn" -file:"c:\postie\oo_aran.txt"</pre><hr /> This then has a Subject in the email of Dominions 2:OO_Aran and includes the text of the file oo_aran.txt in the body of the email. You can actually have a command to attach a file - so for example if you wanted it as a pbem game you can attach the turn file. I have a line for each player in the game, ending with me so I get a notification as well as knowing all is still well. Once i'd done the above really the network game became glorious - you could of course just have the batch file which you ran after hosting if you just wanted it to send the emails. Ask away http://forum.shrapnelgames.com/images/smilies/happy.gif Tals |
All times are GMT -4. The time now is 03:19 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.