![]() |
Re: Hosting for Absolute Beginners
Quote:
|
Re: Hosting for Absolute Beginners
Quote:
sorry |
Re: Hosting for Absolute Beginners
Getting back to the initial topic http://forum.shrapnelgames.com/images/icons/icon7.gif
Has anyone got the command line to setup a host, gens when all turns are submitted + 24 hr if not. Additionally to spice it up, i;ve seen one send an email when the turn is genned is that possible. I'm playing 2 games at the mo one ip one pbem. Usually I swear by pbem but Doms 2 ip is very well done. Tals |
Re: Hosting for Absolute Beginners
Quote:
sorry </font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">If you have a router, and the machine that is supposed to be the server is on a LAN that's connected to the internet through the router, then most likely asking for the IP# of the machine will give you some "internet-invalid" address like 192.168.0.? If that's the case, then you need to figure out what the IP address of the router is, setup the router to forward anything it receives on port YYY to 192.168.0.whatever (the local IP of your machine), port ZZZ. Then launch the server on port ZZZ, and tell other players to connect to (the IP of your router), port YYY. Essentially, the router makes it so that anything it receives on a certain port arrives on one of the machines on your LAN, at another (or the same) port. Thus, several servers, running (apparently) on the same IP address, only at different ports, could in fact run on different machines. |
Re: Hosting for Absolute Beginners
Quote:
|
Re: Hosting for Absolute Beginners
Windows OS.
Tals |
Re: Hosting for Absolute Beginners
Quote:
nohup dom2 -STq --nonationsel --port 7011 -g RyanEye -t 0 0 -t 1 0 -t 2 0 -t 3 0 -t 4 0 -t 5 0 -t 6 0 --postexec /home/dominion/dominions2/RyanEye.cmd >/dev/null 2>>RyanEye.err & The -q does a quick processing if everyone gets their turns in. The -t commands say at each day (0 1 2 3 4 5 6) at midnight (0) process if there wasnt a quickturn. I think thats what you were most interested in. The postexec calls a .cmd command script which updated a web page and sent emails. I wasnt mailing back turns though so now I would probably use the new --preexec so I could add a directory view of the game files. That would give me an email record of who did and didnt turn in turns. Who was first, who was Last, who didnt get one in at all. For sending out turns --postexec would be better. I host in linux and play in windows. Im not sure how to do things with a postexec or preexec script in windows (a batch file with .bat extension probably). The only thing I would use it for would be to play a sound and let me know to do another turn for directly connected games. [ March 30, 2004, 16:44: Message edited by: Gandalf Parker ] |
Re: Hosting for Absolute Beginners
hold it, HOLD IT!!!
I am the master of Windows OS hosting. What seems to be the problem? Hmm? What SEEEMS!!! to BE!!! thE ProBLEM!!!?? WHAT!! SEEMS!!! TO!!! BE THE!!!! PROBLEM?!?!? EHY??? TELL ME, COME ON!!! WEEE!! |
Re: Hosting for Absolute Beginners
Quote:
Has anyone got the command line to setup a host, gens when all turns are submitted + 24 hr if not. Additionally to spice it up, i;ve seen one send an email when the turn is genned is that possible. to which we can now add "for Windows" [ March 30, 2004, 20:48: Message edited by: Gandalf Parker ] |
Re: Hosting for Absolute Beginners
Has anyone got the command line to setup a host, gens when all turns are submitted + 24 hr if not.
Additionally to spice it up, i;ve seen one send an email when the turn is genned is that possible. Arrite, there is no command line to send e-mails. It is probably a 3rd party program. Quickhosting AND 24 hour turn generation is not a good idea. It is one or the other. The reason for this is the Last person could take their turn at 7pm and the turn generates. Then the same person takes their turn at 7:05pm. 5 hours later, the turn is hosted and only that person who took their turn at 7:05pm got their turn in because no one else knew the game hosted at 7:00pm. Here is the command line I use: "C:\Program Files\Dominions 2\dom2.exe" --port #### --tcpserver -wqxxx FileName --port specifies the port used --tcpserver makes the shortcut run a server -w windows mode -q quickhost -xxx use lowest graphics possible FileName is what you named the game/folder [ March 30, 2004, 22:04: Message edited by: Argitoth ] |
All times are GMT -4. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.