Game Development Community

Connect to Server Master

by Raquel Ventero · in Torque Game Builder · 03/08/2011 (1:02 am) · 4 replies

Hello,

I have a problem trying to connect to server master. I have my ports forward, but when I start a server I never get the line "Received info request from a master server" after "Sending heartbeat to master server". Any ideas?

Thanks

About the author

Award-Winning film & video game score composer. Specialized in film scoring at Berklee College of Music. I know what a scene needs to become epic or to be emotionally charged. For licensing inquiries visit: www.raquelventero.com


#1
03/08/2011 (3:57 am)
Currently the GG master server is down.
#2
03/11/2011 (12:24 am)
OK, thanks.
#3
03/14/2011 (4:30 am)
Hello again,

I am still having problems connecting to the server. I am not trying to connect to GG master server, but to my own. I run the perl script in my server but I cannot connect from my game. If I try it from localhost everything works fine, the perl console shows when my game sends a heartbeat and when it connects, etc... But in the server the console starts listening to port, but no connections with the game are made. I have talked to the host support center and the ports are open, so I should be able to connect, right?.

I don't know much about server, networking and stuff. Is there anything else that I should checkout?

Thanks.

EDIT: Seems like I can't connect to my server using UDP, I have to use TCP instead (security issues or something). As far as I know, Torque uses UDP... is there any way to connect using TCP?
#4
03/23/2011 (5:01 am)
Hello again,

I still can't make it work. My problem now is that although I set port 28000 in $pref::Net::Port, the server script prints "Heartbeat received from 85.52.161.83 port 64709", so they never communicate. It doesn't matter which port I put, it always uses a different one...

If I run it in local, the ports are the same and the connections works. Does anyone know what the problem could be?

Thanks.

EDIT: I think that the problem is that I am trying to create the server and connect from the same machine. I create the server, and when I query for master server, it returns the IP, but when it tries to ping that IP, it fails.

I have tried to create server from one machine and connect from a different one, but I can't connect to master server from the last one. The IP of the machine I work with is opened in the server so I can access it using SSH, and that is the only machine I can connect from. I guess there is some kind of connection there... But, shouldn't any script in any machine access the opened socket? Is there anything else I should do in the server?