Game Development Community

Question regarding V12 test server bug i found

by Matthew Shapiro · in Torque Game Engine · 08/20/2001 (1:23 pm) · 4 replies

i wasn't sure where to put it so sorry for putting it here. BAsically i found that when you run a dedicated server with V12test and then load v12test and query the master server, it doesn't query. any ideas why?

#1
08/20/2001 (7:58 pm)
You need to run the dedicated server as follows:

v12Test -dedicated -mission data/missions/test1.mis

Running it without a specified mission doesn't actually start the server, which is why it's not showing up in the master server list.
#2
08/21/2001 (2:06 am)
i did and NO servers showed up when i was running the dedicated server. It couldn't query the master server for soem reason untill i closed the dedicated server....
#3
08/21/2001 (9:06 am)
Ah, there is another issue. Since you are running both the client and the server from the same config files, they both try to bind the same local port (28000). Whichever one you run first will get it, the other will fail. If you look in your console history you'll see an error message saying the bind failed.

You can either setup a seperate set of config files for the server, modify the server mod to override the default port (server/main.cs), or manually set the port from the console using setNetPort(%portNumber);

If you want to try it manually do this:

v12Test -console

then on the console:

setNetPort(28001);
createServer("Multiplayer","data/missions/test1.mis");

You should be able to run your client at the same time, which will use port 28000.
#4
08/22/2001 (2:36 am)
ah gotcha that makes since. i didn't even see the logs...