|  | 
| 
 
 
 
 
 
 
 
 
    
    
 |  | 
 
 
	
		|  |  
	
	
		
	
	
	| 
			
			 
			
				May 21st, 2004, 04:50 AM
			
			
			
		 |  
	| 
		
			
			| 
 General |  | 
					Join Date: May 2004 Location: Seattle, WA 
						Posts: 3,011
					 Thanks: 0 
		
			
				Thanked 45 Times in 35 Posts
			
		
	      |  |  
    
	| 
				 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.
 |  
	
		
	
	
	| 
			
			 
			
				May 21st, 2004, 04:59 AM
			
			
			
		 |  
	| 
		
			
			| 
 Major General |  | 
					Join Date: Jan 2004 
						Posts: 2,425
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 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.
 |  
	
		
	
	
	| 
			
			 
			
				May 21st, 2004, 05:04 AM
			
			
			
		 |  
	| 
		
			
			| 
 General |  | 
					Join Date: May 2004 Location: Seattle, WA 
						Posts: 3,011
					 Thanks: 0 
		
			
				Thanked 45 Times in 35 Posts
			
		
	      |  |  
    
	| 
				 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.
 |  
	
		
	
	
	| 
			
			 
			
				May 21st, 2004, 05:19 AM
			
			
			
		 |  
	| 
		
			
			| 
 Major General |  | 
					Join Date: Jan 2004 
						Posts: 2,425
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 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
 |  
	
		
	
	
	| 
			
			 
			
				May 21st, 2004, 05:30 AM
			
			
			
		 |  
	| 
		
			
			| 
 General |  | 
					Join Date: May 2004 Location: Seattle, WA 
						Posts: 3,011
					 Thanks: 0 
		
			
				Thanked 45 Times in 35 Posts
			
		
	      |  |  
    
	| 
				 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?
 |  
	
		
	
	
	| 
			
			 
			
				May 21st, 2004, 05:34 AM
			
			
			
		 |  
	| 
		
			
			| 
 Major General |  | 
					Join Date: Jan 2004 
						Posts: 2,425
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 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. |  
	
		
	
	
	| 
			
			 
			
				May 21st, 2004, 05:43 AM
			
			
			
		 |  
	| 
		
			
			| 
 General |  | 
					Join Date: May 2004 Location: Seattle, WA 
						Posts: 3,011
					 Thanks: 0 
		
			
				Thanked 45 Times in 35 Posts
			
		
	      |  |  
    
	| 
				 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. |  
	
		
	
	
	| 
			
			 
			
				May 21st, 2004, 06:57 AM
			
			
			
		 |  
	| 
		
			
			| 
 General |  | 
					Join Date: May 2004 Location: Seattle, WA 
						Posts: 3,011
					 Thanks: 0 
		
			
				Thanked 45 Times in 35 Posts
			
		
	      |  |  
    
	| 
				 Re: Windows Server Questions 
 Yeah norfleet, that was it.  I got two clients connected and it works fine.  Much thanks for the help! |  
	
		
	
	
	
	
	
	
	| Thread Tools |  
	|  |  
	| Display Modes |  
	
	| 
		 Linear Mode |  
	| 
	|  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 
 |  |  |  |  |