![]() |
Windows Server Questions
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. |
Re: Windows Server Questions
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. |
Re: Windows Server Questions
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. |
Re: Windows Server Questions
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 |
Re: Windows Server Questions
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? |
Re: Windows Server Questions
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.
|
Re: Windows Server Questions
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.
|
Re: Windows Server Questions
Yeah norfleet, that was it. I got two clients connected and it works fine. Much thanks for the help!
|
All times are GMT -4. The time now is 02:05 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.