.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old May 21st, 2004, 04:50 AM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old May 21st, 2004, 04:59 AM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default 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.
Reply With Quote
  #3  
Old May 21st, 2004, 05:04 AM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default 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.
Reply With Quote
  #4  
Old May 21st, 2004, 05:19 AM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default 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
Reply With Quote
  #5  
Old May 21st, 2004, 05:30 AM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default 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?
Reply With Quote
  #6  
Old May 21st, 2004, 05:34 AM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default 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.
Reply With Quote
  #7  
Old May 21st, 2004, 05:43 AM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default 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.
Reply With Quote
  #8  
Old May 21st, 2004, 06:57 AM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default Re: Windows Server Questions

Yeah norfleet, that was it. I got two clients connected and it works fine. Much thanks for the help!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:53 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.