iDamN
Unregistered
Thanks:
Given thank(s) in post(s)
1!) Copy:
server.bat -> server2.bat
ac_server.exe -> ac_server2.exe
nicknameblacklist -> nicknameblacklist2
serverblacklist -> serverblacklist2
servercmdline -> servercmdline2
maprot -> maprot2 (optional)
serverpwd -> serverpwd2 (optional)
2!) Edit the server2.bat:
bin_win32\ac_server.exe -Cconfig/servercmdline.txt %1 %2 %3 %4 %5
pause -> bin_win32\ac_server2.exe -Cconfig/servercmdline2.txt %1 %2 %3 %4 %5
pause
3!) Edit the servercmdline2.txt with your server information
4!) Run your Servers with the server.bat & server2.bat
IMPORTANT:
"You need new ports to run a second server!"
server 1 servercmdline: -f28763 (=28763/28764)
server 2 servercmdline2: -f28765 (=28765/28766)
Posts: 718
Threads: 23
Joined: Jun 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
... What OS is this even for? I'll assume Windos.
First off, you don't need two separate Blacklists. Never. Not for any reason.
Also, you don't need two exes, or at least I don't.
Posts: 718
Threads: 23
Joined: Jun 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
iDamN, I'm on Windows 7, unless there's a discrepancy between Windows 7 and Vista that I don't remember, you don't need two exes.
Now, if you're on another Windows, then you may be correct
Posts: 156
Threads: 7
Joined: Jun 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
You dont need 2 exe files to run 2 seperate servers, you just pass different parameters to the same server.exe file. one batch file will open 1 instance of the server with 1 set of parameters and the other batch file will open a new instance of the server with the 2nd set of parameters.
Posts: 112
Threads: 8
Joined: Dec 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
I don't know about windows, but on linux I can make the process fork (via &) so I can just use one script to launch both/all of my servers. So really you should only need separate servercmdline.txt files, and maybe separate motd and extended info files. Also, I can 100% certainly confirm that you only need one .exe
Still a good idea to post this tutorial, I'm sure it will help someone once you revise it.
Posts: 1,051
Threads: 55
Joined: Nov 2010
Thanks: 29
Given 81 thank(s) in 45 post(s)
The only thing you must separate to run more than one server is the BAT file launcher (Meaning two launchers). Everything else can stay exactly the same with no problem. Multiple servers can use all of the same files including Server.exe. So in reality you only have to duplicate server.BAT or whatever you call it and change your server switches.
Posts: 260
Threads: 16
Joined: Oct 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
Ok i bet you, MasterKaen is going to be in DES|, or at least a ac Dev at some point.... Hes too clever... lol
Posts: 718
Threads: 23
Joined: Jun 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
"MasterKaen is going to be in DES|, or at least a ac Dev at some point"
Somehow I think you got the importance of those two wrong...
No offense to DES of course
Posts: 414
Threads: 12
Joined: Feb 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
dam it! if everyone in DES is supposed to be clever I'm in all kinds of trouble ;)
Posts: 992
Threads: 35
Joined: Mar 2011
Thanks: 2
Given 45 thank(s) in 19 post(s)
I think Godsmack is in all kinds of trouble too Andy :P