Game Development Community

Help with Master Server

by Elgin Perry · in Technical Issues · 01/22/2008 (1:56 pm) · 6 replies

I found this link below:

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9226

It provides code for handling Master Server request locally. I was able to edit the shown files and got a clean compile. I created the different perf cs files.

I then execute the master_pref and 3 other dedicated instances.


But when I Query Master from client, I dont see any of my servers, but I do see one server that isnt mine? Is there something I am missing about telling the client which Master Server to look for ?

#1
01/23/2008 (6:42 am)
Are you providing the ip and port for the master server?
#2
01/23/2008 (7:40 am)
Thanks for the reply David,

Yes, I changed the info in the CS files as described in the link above and I am pointing the Master Server to my IP and using port 28111 in my master_pref.cs. I can see servers if I point to garagegames master, so you would think it isnt a firewall issue or these wouldnt be allowed in. I go get the block or unblock messages when I start my dedicated servers, so it appears to be hitting the correct IP.

I will continue to play with it. I just started with TGE about 4 days ago, so there are still areas that I can work in, this isn't stopping me from coding, but I would like to figure it out so I can manage my own Master Server.
#3
01/23/2008 (7:58 am)
Turn off the firewall rather than just allowing access to the program and see if that changes anything. Firewall exception rules can be finicky.
#4
01/24/2008 (11:49 am)
I have turned off both firewalls. I am running turbodemo /dedicated using the default.cs and hitting the GG master server. Main.cs is set to Starter.FPS

In the server window, I see;

Sending heartbeat to master server [IP:69.64.50.217:28002]
Recevied info request for a master server [IP:69.64.50.217:28002]
Recevied info request for a master server [IP:69.64.50.217:28002]
Sending heartbeat to master server [IP:69.64.50.217:28002]
Recevied info request for a master server [IP:69.64.50.217:28002]

...repeating


It is showing the GG master Server IP and port number in both messages.

When I load the client and join server, then query master server, I see other servers but not mine?

Any ideas
#5
01/24/2008 (1:28 pm)
Not sure. Are you showing up on GnomeTech's Master Server Query?
#6
01/24/2008 (2:11 pm)
No, it should show the server name from the cs file. I change the name to be game_1 and it didnt show.

I seem to be receiving the Request, but should I be getting a connect message?