Author Topic: advanced dedicated configuration, multiple servers  (Read 1083 times)

Hi all,

I'm running into a few walls while configuring my dedicated server. At the moment I have a private server which is protected by a password. The goal is to run a second dedicated server as a public.

Normally a single configuration seems to needed for all servers; therefore I created a separate configs for both the servers (public.cs en private.cs) which I execute from the command line after the server has been started. The server name and its configuration is loaded without any problem when I start 1 dedicated server.

When I start a second dedicated server it says that it cannot connect to port 28000 (which make sense) and the server will be started at port 28001. When I execute the configuration (including the settings for port 28000 and 28001) I cannot find the server running at port 28001 in the server list. It doesn't matter which configuration I load first, only the server on port 28000 appears in the list.

When looking at the output of "netstat -a" I see that something is listening to port 28000 and 28001.

I hope someone encountered this problem as well and found the problem and hopefully and fix.


Beside this problem I have an other (probably strange) question. For monitoring the availability of the server (or servers) I need some extra information about the communication protocols used by Blockland. Is there a command which can be send though an UDP connection to the server where the server will always respond the same back if it is running?

If any more information is needed, just ask and I will provide you with the requested information as soon as I can.

I'm looking forward to the replies.

With kind regards,

sPENKMAN

I'm not looking at everything you said, but I host two servers. The ports on the second server need start at least the number of players (plus 1) of the first server+ the starting port for the first server. What I am currently running at is 28030 and 28100. You should also change the port before starting the second server.

I'm not looking at everything you said, but I host two servers. The ports on the second server need start at least the number of players (plus 1) of the first server+ the starting port for the first server. What I am currently running at is 28030 and 28100. You should also change the port before starting the second server.

I'll give that a try first thing when I get back from work tomorrow, thanks for the tip.

Being that it is 11 at night here, I didn't understand much of that though I believe I can help a bit. I believe Blockland runs on several ports and that 28000 is just a starting port and it actually runs through 28000 to 28030 according to portforward.com. In answer to your second question Blockland (well, the torque engine) has Telnet support, I do not know if this will help but the command for it is:

Code: [Select]
telnetSetParameters(PORT,READ PASS,RW PASS);

Badspot

  • Administrator
The port needs to be set before the server is started.  You can initialize the port from the command line by adding the -port <number> switch.

Example:
Blockland.exe -dedicated -port 28100 -mission base/data/missions/bedroom.mis