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:
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
|
Use a program called postie - very neat and allows batch written sending of emails
Quote:
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.
|
I believe it is possible but the likelihood is that you'll end up loosing a persons turn. A tcpip game uses the gamename as the way of tracking the turn, a pbem game doesn't have the requirement to have the same gamename on the client as the server. Ultimately it just is too complicated and i'd recommend against it - I no longer give this option. It also is a possible cause of Dom2 inconsistancy bug - but that is just a gut feel.
Quote:
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.
|
Yeah this wouldn't be a problem - then again it's really only applicable if the PC is being actively used and you want to free your task bar up. Lots of freebie progs allow you todo this.
[/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