| 
		
	
	
	
		
	Posts: 208Threads: 35
 Joined: Jul 2010
 
	
	
		hey so im trying to make a second server, i did it before but forgot now :/
 i already made a new port and and all that, but i just forgot how i make the second server, can someone help me please
 
		
	 
	
	
	
		
	Posts: 718Threads: 23
 Joined: Jun 2010
 
	
	
		Yup. You copy and paste another instance of the server .bat file, then you right click, and "edit" You change the -Cconfig/servercmdline.txt to the server commandline file for the second server. IE: -Cconfig/servercmdlinematch.txt, if you were also hosting a match server.
 And there you go
 
		
	 
	
	
	
		
	Posts: 208Threads: 35
 Joined: Jul 2010
 
	
	
		im kinda lost, like i made a copy of server_wizard, server, and servercmdline and changed all there names, and when i double clicked server2  it said ERROR assault cube error could not create server info into pocket
	 
		
	 
	
	
	
		
	Posts: 1,438Threads: 54
 Joined: Jun 2010
 
	
		
		
		14 Mar 11, 08:51AM 
(This post was last modified: 14 Mar 11, 08:51AM by DrauL.)
		
	 
		Then the port you have didnt work. http://wiki.cubers.net Wrote:could not create server info socketFailed to open port "base+1" (default 28764). Did you use '-f' to specify a 'cool' but non-working port number? Is the port already in use? For example, by another AC server? Do you need special permission to open a listening port? Is a software firewall blocking you?
 
You should paste the contents of the server2.bat and the yourcommandlineinfo.txt for us, with the exception of any admin passwords of course. :)
	
		
	 
	
	
	
		
	Posts: 327Threads: 20
 Joined: Jul 2010
 
	
		
		
		14 Mar 11, 07:20PM 
(This post was last modified: 14 Mar 11, 11:59PM by Joe Smith.)
		
	 
		just make a copy of the server bat. (name it anything you want) edit and in the server bat (bin_win32\ac_server.exe -Cconfig/servercmdline.txt %1 %2 %3 %4 %5 
pause) change it to ac_server2 ( or the name you changed it to), -Cconfig/servercmdline2 .
 
then make copies of your cmdline in your config folder along with nicknameblacklist, and serverpwd, and rename them and add a 2 at the end of the name Ex:  nicknameblacklist2 
 
also in your copied servercmdline2 in config folder you just made you need to add the swith  
-f(port) 
say you use 28763 for your first server, then you want 80808 as your second server add -f80808 switch to the servercmdline2 
 
or you can use this LINK
		
	 
	
	
	
		
	Posts: 533Threads: 33
 Joined: Jun 2010
 
	
	
		Default isn´t 28764, default is 28763 ;)
	 
		
	 
	
	
	
		
	Posts: 208Threads: 35
 Joined: Jul 2010
 
	
		
		
		14 Mar 11, 10:10PM 
(This post was last modified: 14 Mar 11, 10:48PM by BrickSquad.)
		
	 
		ok i got the second server, but there are still some problems, i cant run them at the same time, and the maprot and admin pass for server 1 is the same for server 2, but i changed all that, but they seem to be the same on server1 and 2, but the servercmdline2 is changed to fit for server2, and it does work, but maprot and serverpwd doesnt.
	 
		
	 
	
	
	
		
	Posts: 718Threads: 23
 Joined: Jun 2010
 
	
	
		Because in the servercmdline, you need to specify which maprotation to ues, and which serverpwd to use. Also, you need to specify which port you're using for the second server
	 
		
	 
	
	
	
		
	Posts: 2,136Threads: 50
 Joined: Jun 2010
 
	
	
		 (14 Mar 11, 07:20PM)Joe Smith Wrote:  ...say you use 28764 for your first server, then you want 80808 as your second server...  (14 Mar 11, 10:08PM)ärkefiende Wrote:  Default isn´t 28764, default is 28763 ;) Not only that, but don't try to use 80808; the maximum for UDP (and TCP) is 65535.
	 
		
	 
	
	
	
		
	Posts: 208Threads: 35
 Joined: Jul 2010
 
	
	
		ok thank you mai mee, i got it working so that i can run both servers, i forgot to add the -f in servercmdline, now this is the last thing lol, i dont know how to specify wich maprot to use and serverpwd to use in the servercmdline, could you explain that a little more for me please? i appreciate the help
	 
		
	 
	
	
	
		
	Posts: 327Threads: 20
 Joined: Jul 2010
 
	
	
		 (14 Mar 11, 11:33PM)jamz Wrote:   (14 Mar 11, 07:20PM)Joe Smith Wrote:  ...say you use 28764 for your first server, then you want 80808 as your second server...  (14 Mar 11, 10:08PM)ärkefiende Wrote:  Default isn´t 28764, default is 28763 ;)Not only that, but don't try to use 80808; the maximum for UDP (and TCP) is 65535. 
it was just an example :)
	 
		
	 
	
	
	
		
	Posts: 718Threads: 23
 Joined: Jun 2010
 
	
	
		the -r switch defines which maprotation to use, IE: -rconfig/matchmaprot.txt or -rconfig/matchmaprot.cfg. (Doesn't matter which one, it's easier to create a txt file really.)
 the -X switch determines the list of passwords. IE: -Xconfig/servpwd2.txt or -Xconfig/serverpwd2.cfg.
 
 Make sure you don't forget to capitalize X, that way it's not the -x switch.
 
		
	 
	
	
	
		
	Posts: 208Threads: 35
 Joined: Jul 2010
 
	
	
		thank you very much!! got it working now its all good, thank you and i really appreciate you helping me out :D
	 
		
	 
	
	
	
		
	Posts: 718Threads: 23
 Joined: Jun 2010
 
	
	
		You're welcome, and no problem, Bricksquad
	 
		
	 |