Posts: 327
Threads: 20
Joined: Jul 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
Before i posted this i did look through all server threads and did not find an answer to my question.
My question is how to run/setup multi servers with one ip.
(before asking, yes i have all ports open)
i currently am running a server at the moment and was curious about running multi(2)servers.
whether anyone thinks its a bad or good idea, doesn't matter i would just like an answer.
i read in the readme/docs that you add -f#####, but doesn't explain what to do after that?
ex:make copies of certain files and rename
ex:make a copy of the ac_server
i don't know if anything like that is needed or would work just ex: of what i would like to be addressed in the answer.
Thankyou.
Posts: 1,981
Threads: 63
Joined: Jun 2010
Thanks: 18
Given 93 thank(s) in 51 post(s)
22 Jul 10, 09:03AM
(This post was last modified: 22 Jul 10, 09:05AM by Luc@s.)
You don't need to copy any file
you just have to start another server - with a different port- !
But you can use different files if you want, changing the conf. The documentation is your friend !
Note : you can choose the port you want. But don't use a port already used :p
Posts: 77
Threads: 0
Joined: Jun 2010
Thanks: 0
Given 1 thank(s) in 0 post(s)
It's not good to have "all" your ports open. Just limit the open ports to like xxx1-xxx10 and tell each seperate AC server to use a different port.
Posts: 1,438
Threads: 54
Joined: Jun 2010
Thanks: 2
Given 8 thank(s) in 5 post(s)
* DrauL h4x0Rz your open ports.
Posts: 77
Threads: 0
Joined: Jun 2010
Thanks: 0
Given 1 thank(s) in 0 post(s)
You can only h4x0rz his open ports if he has insecure services listening on them (like windows :X)
Posts: 156
Threads: 7
Joined: Jun 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
22 Jul 10, 12:20PM
(This post was last modified: 22 Jul 10, 12:24PM by Billybob.)
1) make a copy of your server.bat/server.sh file (OS dependent) and rename to server2.bat/server2.sh
2) make a copy of config/servercommandline.txt and rename it to servercommandline2.txt
3) edit server2.bat/server2.sh and change where it says servercommandline.txt to servercommandline2.txt
4) now edit servercommandline.txt with values for server1 (ie ip addy, port and such), then edit servercommandline2 with the values for server2.
5) run server.bat/server.sh for server1 and server2.bat/server2.sh to run server2.
you can even specify a different password list for each server by changing the relevent part of servercommandline.txt config and making a copy of the serverpwd.cfg file.
Posts: 327
Threads: 20
Joined: Jul 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
Thank you, VallDiGna,Billybob
yall answered my question thank you.
Posts: 327
Threads: 20
Joined: Jul 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
Another question,
once i do the steps, do i need to register this server with the new ports?
Posts: 1,823
Threads: 20
Joined: Jun 2010
Thanks: 0
Given 5 thank(s) in 1 post(s)
flowtron said it himself, the docs are either completely lacking or overly complicated. :D
Posts: 1,823
Threads: 20
Joined: Jun 2010
Thanks: 0
Given 5 thank(s) in 1 post(s)
Cause they are busy and the docs work fine for most of us (how else did we learn). No one's paying them.
Posts: 327
Threads: 20
Joined: Jul 2010
Thanks: 0
Given 0 thank(s) in 0 post(s)
yeah they are busy, they could have trusted people add things for them. anyway off topic.
thanks for your help everyone.