PDA

View Full Version : [RESOLVED Feature Request] Multiple servers


Cadavre
08-19-2009, 06:14 AM
Restarting / Shutting down individual servers ran by the same binary would be swell. It's starting to get pretty frustrating running a server when 1 out of 6 needs to be restarted for some reason.

Also ip-configuration and port configuration should be available in the servers.txt instead. Makes migrations of servers easier as you don't need to edit each individual serveroptions.txt-file.


something like this:
total_servers = 2
server_1 = Harmonia
server_1_ip = AUTO
server_1_port = 14801
server_1 = Graal2001
server_1_ip = 81.223.43.121
server_1_port = 14802
server_1 = Graal Classic
server_1_ip = 81.223.43.120
server_1_port = 14803

Beholder
08-19-2009, 06:17 AM
It's starting to get pretty frustrating running a server when 1 out of 6 needs to be restarted for some reason.
I'll admit the logic for that had always confused me, its fine and dandy, but its a bitch to debug and handle the servers individually.
But I suppose the option is there, "you don't have to host them all on one console"

LoakeyRonso
08-19-2009, 08:31 AM
a RC command to restart a server would be nice. least for those of us who are not hosting our server and have to ask the person who is to do it for us.

Cadavre
08-19-2009, 10:56 AM
Yeah, that would be nifty.

Beholder
08-19-2009, 11:04 AM
Well in the case of hosting a single server, a batch file + /shutdown works well as a restarter.

Cadavre
08-19-2009, 11:25 AM
it's easier to update one binary than 6 individual. :P

Cadavre
08-19-2009, 02:24 PM
Yeah. I've been procrastinating on adding this support. I need to do the following:
A) Provide the ability to restart an individual server.
B) Program in a way to determine if a server constantly fails to load and stop it from loading.

___Merged doublepost__________________

It is all incredibly complicated by how the multithreading works. I will have to re-program the main() function.

Oh.

What about putting ip and port in the servers.txt though?

LoakeyRonso
08-19-2009, 03:23 PM
a RC command to restart a server would be nice. least for those of us who are not hosting our server and have to ask the person who is to do it for us.

sorry but ive been doing it for years, i think it makes it easyer to ready so you dont miss a period here and there or a ,. <----see how that works out.

Agret
08-19-2009, 11:34 PM
What the?

LoakeyRonso
08-20-2009, 08:29 AM
i dont like to type out comma when i can just drop one of the ,'s .

Beholder
08-20-2009, 03:38 PM
Then at least wrap the son of a bitch in quotes o_o

LoakeyRonso
08-20-2009, 04:04 PM
Then at least wrap the son of a bitch in quotes o_o

then everyone would be able to understand it . and whats the fun in it if you dont make them work for it ?

Beholder
08-20-2009, 04:20 PM
Our point exactly. You should go work for it.

Cadavre
08-30-2009, 08:52 AM
You are awesome, Nalin! I hope you know that already. :D

Cadavre
08-30-2009, 05:53 PM
Yeah, I noticed that. Along with like 5 more commits with bugfixes and stuff. I'll recompile my binary tomorrow when people are not playing or working on any of the servers I'm hosting. :)