|
|
|
|
|
March 29th, 2004, 06:54 PM
|
|
Corporal
|
|
Join Date: Jan 2004
Posts: 151
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Hosting for Absolute Beginners
Quote:
Originally posted by Minrhael:
Not to hijack the thread, but since it's here, I think I finally got mine set up host but as I really don't know what I'm doing, anyone want to try to connect to 192.168.1.100 6060 and tell me if it's working? Thanks!
|
I take it you're behind a router. 192.168.1.100 is no adress that can be seen from the outside but a local one assigned from dhcp. So you need to get the real ip adress of your router and setup port fowarding to the machine that is running dominions.
|
March 29th, 2004, 07:02 PM
|
|
Lieutenant Colonel
|
|
Join Date: Jan 2004
Posts: 1,276
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Re: Hosting for Absolute Beginners
Quote:
Originally posted by Torvak:
quote: Originally posted by Minrhael:
Not to hijack the thread, but since it's here, I think I finally got mine set up host but as I really don't know what I'm doing, anyone want to try to connect to 192.168.1.100 6060 and tell me if it's working? Thanks!
|
I take it you're behind a router. 192.168.1.100 is no adress that can be seen from the outside but a local one assigned from dhcp. So you need to get the real ip adress of your router and setup port fowarding to the machine that is running dominions. Torvak, were you replying to me? Well I play Dii on different computers, depending on where I am. Does figuring out the "real" IP of the router something different than that /cmd thingy mentioned in those previous Posts? Is the IP of the router different than that of the computer?
sorry
|
March 29th, 2004, 07:20 PM
|
|
Corporal
|
|
Join Date: Oct 2003
Location: UK
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Hosting for Absolute Beginners
Getting back to the initial topic
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
|
March 29th, 2004, 09:59 PM
|
|
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Hosting for Absolute Beginners
Quote:
Originally posted by tinkthank:
quote: Originally posted by Torvak:
quote: Originally posted by Minrhael:
Not to hijack the thread, but since it's here, I think I finally got mine set up host but as I really don't know what I'm doing, anyone want to try to connect to 192.168.1.100 6060 and tell me if it's working? Thanks!
|
I take it you're behind a router. 192.168.1.100 is no adress that can be seen from the outside but a local one assigned from dhcp. So you need to get the real ip adress of your router and setup port fowarding to the machine that is running dominions. Torvak, were you replying to me? Well I play Dii on different computers, depending on where I am. Does figuring out the "real" IP of the router something different than that /cmd thingy mentioned in those previous Posts? Is the IP of the router different than that of the computer?
sorry 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.
|
March 29th, 2004, 10:18 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Hosting for Absolute Beginners
Quote:
Originally posted by Tals:
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.
|
For which operating system? Solaris? Mac? Linux? WIndows? (it does make a difference. Especially for question 2)
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
March 30th, 2004, 07:10 AM
|
|
Corporal
|
|
Join Date: Oct 2003
Location: UK
Posts: 114
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Hosting for Absolute Beginners
Windows OS.
Tals
|
March 30th, 2004, 06:41 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Hosting for Absolute Beginners
Quote:
Originally posted by Tals:
Windows OS.
|
Ouch. All I can offer is an example of what I used in Linux which is probably twice as complicated as you need....
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 ]
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
March 30th, 2004, 10:26 PM
|
|
Lieutenant Colonel
|
|
Join Date: Oct 2003
Location: Gilbert, AZ
Posts: 1,375
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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!!
|
March 30th, 2004, 10:47 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: Hosting for Absolute Beginners
Quote:
Originally posted by Argitoth:
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!!!
|
Well his original question was.....
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 ]
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
March 31st, 2004, 12:03 AM
|
|
Lieutenant Colonel
|
|
Join Date: Oct 2003
Location: Gilbert, AZ
Posts: 1,375
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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 ]
|
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
|
|
|
|
|