PDA

View Full Version : Windows Server Questions


Ironhawk
May 21st, 2004, 04:50 AM
Hello, I'm trying to running a dom2 server on windows and I'm having some trouble. I was unable to find any kind of faq or guide on how to set up a server. Operating on the assumption that you start up a server for a specific game and it just runs indefinitely spawning turns when all the players haved turned in I came up with the following command line options:

--tcpserver --ipadr 67.170.113.128 --port 2000 --textonly --statfile Multi_test --quickhost

where "Multi_test" is the name of the game which I started up manually with a non-text server.

The problem is that this process starts and then immediately exits. Shouldnt in run indefinitely just waiting for more moves and spawning turns? What am I doing wrong? Is this even the right way to start a multiplayer game? I'm really confused as to why there is no guide on the subject.

Norfleet
May 21st, 2004, 04:59 AM
If this is a Windoze box, the process is just now invisible. Press ALT-CRTL-DEL, and you should see it on the task manager.

Unfortunately, in Windoze, there's no other real way to control or view the process. Text-only is intended primarily for Linuces.

Ironhawk
May 21st, 2004, 05:04 AM
No, I'm looking at the process list.

I run the command, its starts up and appears in the process list. Then like 4-5s later it disappears.

Norfleet
May 21st, 2004, 05:19 AM
I think you also shouldn't use the ipaddr switch: That's for clients, and makes no sense on a server. Perhaps it will not crash if you leave that switch out.

Me, for my hosting, I use:
dom2 -imqsST --port XXXX GameName

Ironhawk
May 21st, 2004, 05:30 AM
I tried using your command line and it still exits after a few seconds. I played around with the different options and its the quickhost that is making it quit. If I leave -q in it will exit, but if I take it out it will run normally.

Any idea why quickhost would make it exit? Isn't it just supposed to generate the next turn and sit there?

Norfleet
May 21st, 2004, 05:34 AM
How many players are in this game? If there's only one player, then the game ends because that player has won, thus ending the game.

Ironhawk
May 21st, 2004, 05:43 AM
Hahah! Yeah I did have only one player cause I was just testing out the multiplayer stuff. I thought I had all the command line settings right so that must be it. I'll try it again with 2 clients hopefully that should work.

Ironhawk
May 21st, 2004, 06:57 AM
Yeah norfleet, that was it. I got two clients connected and it works fine. Much thanks for the help!