Master Server problems again
by Leslie Young · in Torque Game Engine · 01/12/2004 (1:35 pm) · 14 replies
I tried running a dedicated server and connect to it with the game client, but it fails.
From the dedicated server i get these messages:
*** Mission loaded
Engine initialized...
Sending heartbeat to master server [IP:216.116.32.49:28002]
Received info request from a master server [IP:216.116.32.49:28002].
Received info request from a master server [IP:216.116.32.49:28002].
and from the client this:
...
Binding server port to default IP
UDP initialized on port 0
Engine initialized...
No master servers found in this region, trying IP:216.116.32.49:28002.
Requesting the server list from master server IP:216.116.32.49:28002 (2 tries left)...
Received server list packet 1 of 1 from the master server (0 servers).
No master servers found in this region, trying IP:216.116.32.49:28002.
Requesting the server list from master server IP:216.116.32.49:28002 (2 tries left)...
Received server list packet 1 of 1 from the master server (0 servers).
what does this message "No master servers found in this region" mean?
any clues as to where i can start to get this fixed.
i did have firewall off too, and it still didnt work.
From the dedicated server i get these messages:
*** Mission loaded
Engine initialized...
Sending heartbeat to master server [IP:216.116.32.49:28002]
Received info request from a master server [IP:216.116.32.49:28002].
Received info request from a master server [IP:216.116.32.49:28002].
and from the client this:
...
Binding server port to default IP
UDP initialized on port 0
Engine initialized...
No master servers found in this region, trying IP:216.116.32.49:28002.
Requesting the server list from master server IP:216.116.32.49:28002 (2 tries left)...
Received server list packet 1 of 1 from the master server (0 servers).
No master servers found in this region, trying IP:216.116.32.49:28002.
Requesting the server list from master server IP:216.116.32.49:28002 (2 tries left)...
Received server list packet 1 of 1 from the master server (0 servers).
what does this message "No master servers found in this region" mean?
any clues as to where i can start to get this fixed.
i did have firewall off too, and it still didnt work.
About the author
#2
I dont really get this, and from the above dump it looks like the server doenst send the game info to the master server as it keep getting info requests.
Btw, I'm located in South Africa.
01/13/2004 (11:27 am)
Erm, so each country have a different region code? Will that mean my game server will not work if someone in japan try to run it, bacause the region code is set to US, or whatever?I dont really get this, and from the above dump it looks like the server doenst send the game info to the master server as it keep getting info requests.
Btw, I'm located in South Africa.
#3
The traffic is getting through.
As far as I know, the region code is just a number set in the preferences. The game has no means of detecting where geographically you are. So the value in the prefs might be set wrong.
01/13/2004 (12:26 pm)
Requesting the server list from master server IP:216.116.32.49:28002 (2 tries left)... Received server list packet 1 of 1 from the master server (0 servers).
The traffic is getting through.
As far as I know, the region code is just a number set in the preferences. The game has no means of detecting where geographically you are. So the value in the prefs might be set wrong.
#4
is there a list of region codes as used by torque?
maybe i should look into hosting my own master server here and see if that works.
01/13/2004 (12:59 pm)
Ok, i'll play with this some more to see if i can get it working.is there a list of region codes as used by torque?
maybe i should look into hosting my own master server here and see if that works.
#5
You might check your query to see what form it's in. Also, the master can take some time to update...
Running a local master server may be challenging. :)
01/13/2004 (6:36 pm)
The region codes are just integers. If the client and the server have the same region code all should be fine.You might check your query to see what form it's in. Also, the master can take some time to update...
Running a local master server may be challenging. :)
#6
i couldn't get this working with the examples either. i'll download a copy of rw to see if that might work.
01/14/2004 (1:07 pm)
Yeh, the query on the cleint side uses "2" and the server too uses a 2, so its not that. :/i couldn't get this working with the examples either. i'll download a copy of rw to see if that might work.
#7
If you want to check if your game server is indeed getting through, you could try my GG Master Server Monitor at Gnometech (see the left bar of the home page). This should give you a third-party verification.
If you're just trying to run the demo, you could give your game server a unique name (such as Leslie's Server) and check under the TestApp blue arrow. Note: don't change the server's game type for this to work, just the server name.
If your server is getting through to the GG Master Server, and it doesn't take longer than 5 seconds to respond to my web host, it should show up in the list of game servers.
You could also do this test with RW.
Hopefully that'll help.
- LightWave Dave
01/14/2004 (2:47 pm)
Greetings!If you want to check if your game server is indeed getting through, you could try my GG Master Server Monitor at Gnometech (see the left bar of the home page). This should give you a third-party verification.
If you're just trying to run the demo, you could give your game server a unique name (such as Leslie's Server) and check under the TestApp blue arrow. Note: don't change the server's game type for this to work, just the server name.
If your server is getting through to the GG Master Server, and it doesn't take longer than 5 seconds to respond to my web host, it should show up in the list of game servers.
You could also do this test with RW.
Hopefully that'll help.
- LightWave Dave
#8
01/14/2004 (3:14 pm)
Thanks, LWDave :)
#9
01/17/2004 (2:48 pm)
Thanks, I'll check that out
#10
Damien
05/25/2005 (7:51 am)
Im having a similiar kind of issue. Im trying to run a link up between England and Milan. However, the guys cannot connect to each other. I tried that Gnome page (thanks by the way!), and it sees my server in England, but cannot see the server that is set up in Milan. The guys in Milan cannot see the server in England either it seems. Any help would be greatly appreciated!Damien
#11
Make certain you have all of the necessary ports open to communicate not just with the master server but with the machine that you are intending to connect with.
As a FYI here is the port information that we give people for Lore Invasion. Most people only tell you to open the Master Server ports and not the join and request ports on your machines as well.
28000 thru 28002 - Master server communication port
1031 - Join request port
1048 - Join port
05/25/2005 (8:15 am)
@DIAG Make certain you have all of the necessary ports open to communicate not just with the master server but with the machine that you are intending to connect with.
As a FYI here is the port information that we give people for Lore Invasion. Most people only tell you to open the Master Server ports and not the join and request ports on your machines as well.
28000 thru 28002 - Master server communication port
1031 - Join request port
1048 - Join port
#13
On Dave's monitor today I always get a timed out for my games. In turn no one can remotely join ...
Anyone that knows the server listing/master server code front the back care to draw up the big picture for TDN?
09/12/2006 (9:36 pm)
I still have trouble with this from time to time. In fact we had what seemed like sporatic game selection at IGC last year on the LAN! The server listing code is anything but tight in my experience. I'm tempted to simply use my own system but I'd really like to understand fully the current master server setup and why it works for other games. For my own it can work from one moment to the next without changing a thing.On Dave's monitor today I always get a timed out for my games. In turn no one can remotely join ...
Anyone that knows the server listing/master server code front the back care to draw up the big picture for TDN?
#14
We currently have a Windows LAN setup that accesses a DSL Router/Modem (with dedicated ip) through a hub. It has several ports routed to different local ip's (192.168.xxx.xxx). One computer on the LAN is setup as a web server running Apache, PHP and MySql with port 80 routed and is known as localhost: (can't seem to figure out how to change the name) it also has port 21 routed for ftp, and is running the web site www.atomixworld.com
The web site works great and I have had no problems keeping it up and running, but I have another computer on the LAN that has the ports 28000 - 28002 routed to it's local ip and there I execute a dedicated instance of our game. It just sets there looking for a master server and nothing else. I can connect to it through another computer by executing the connect() function with the dedicated ip and port I have setup. My problem is getting listed on the Master Server and then connecting to the dedicated server correctly. Every time I execute the connect() function through the console it crashes the dedicated server after connection. It also lost my player options (player skin, etc.). I'm not what I am doing wrong except it would help a lot if I could get listed on the Master Server and be able to join my game from the JoinServer gui. I also have set my game types as follows:
$Client::GameTypeQuery = "Atomix World";
$Client::MissionTypeQuery = "Any";
in client/init.cs
$Server::GameType = "Atomix World";
$Server::MissionType = "Any";
server/scripts/game.cs
11/11/2007 (7:17 am)
Before I get started I need to mention that my test setup uses two separate high speed lines, both DSL with dedicated ip, and Comcast Cable simply as a user. I setup the server(s) on the static ip DSL network and then use Comcast Cable as my client.We currently have a Windows LAN setup that accesses a DSL Router/Modem (with dedicated ip) through a hub. It has several ports routed to different local ip's (192.168.xxx.xxx). One computer on the LAN is setup as a web server running Apache, PHP and MySql with port 80 routed and is known as localhost: (can't seem to figure out how to change the name) it also has port 21 routed for ftp, and is running the web site www.atomixworld.com
The web site works great and I have had no problems keeping it up and running, but I have another computer on the LAN that has the ports 28000 - 28002 routed to it's local ip and there I execute a dedicated instance of our game. It just sets there looking for a master server and nothing else. I can connect to it through another computer by executing the connect() function with the dedicated ip and port I have setup. My problem is getting listed on the Master Server and then connecting to the dedicated server correctly. Every time I execute the connect() function through the console it crashes the dedicated server after connection. It also lost my player options (player skin, etc.). I'm not what I am doing wrong except it would help a lot if I could get listed on the Master Server and be able to join my game from the JoinServer gui. I also have set my game types as follows:
$Client::GameTypeQuery = "Atomix World";
$Client::MissionTypeQuery = "Any";
in client/init.cs
$Server::GameType = "Atomix World";
$Server::MissionType = "Any";
server/scripts/game.cs
Associate Kyle Carter
Firewall is not the issue here, as the packets can be seen to be going back and forth.