Game Development Community

Query Master not returning server/host

by John Klima · in Torque Game Engine · 09/15/2007 (5:20 pm) · 3 replies

Hi all,

okay i've been banging my head on this for a while, and for the life of me i can't see my host in the query master list.

i am using stock 1.52, starter.fps
i have all firewalls disabled, both on my dsl router and in winXP
i have a gametype defined, so i know which is mine
when i set gametypequery = "all" i see everything, a big fat list, except i'm not on it.
i am not trying to run dedicated.
i can not see myself in query lan either.
i am sending heartbeats to the master.
i am receiving info requests from the master .

Received info request from a master server [IP:69.64.50.217:28002].
Sending heartbeat to master server [IP:69.64.50.217:28002]

that said, when i actually do start a dedicated server, i can see my gametype in the query LAN, and i can join 2 instances of the game using torqueDemo_DEBUG.exe, however there is still no entry in query MASTER.

here is output from queryMaster button press:

ServerQuery: start Querying master server 0
No master servers found in this region, trying IP:69.64.50.217:28002.
Requesting the server list from master server IP:69.64.50.217:28002 (2 tries left)...
Received server list packet 1 of 1 from the master server (1 servers).
Pinging Server IP:96.224.179.94:50137 (3)...
Pinging Server IP:96.224.179.94:50137 (2)...
Pinging Server IP:96.224.179.94:50137 (1)...
Pinging Server IP:96.224.179.94:50137 (0)...
Ping to server IP:96.224.179.94:50137 timed out.
ServerQuery: query Querying servers: 0 left... 0.5
ServerQuery: done No servers found. 1

what the heck am i doing wrong? everything seems to be perfectly okay. i scoured the forums and tried whatever i could find, to no avail.

any assistance appreciated!

#1
09/15/2007 (5:50 pm)
If 96.224.179.94 is the address of your server or router I'd say your firewall is setup incorrectly.

You probably need to have your router forward port 28002 to your internal server computer so that the ping and find the computer and not just the router (or if this is not the case then the firewall may be blocking it).

It looks like it finds one server (probably yours) but is unable to ping it so it ignores it.

Also check to see if your router/firewall is allowing your server machine to receive/respond to pings.
#2
09/15/2007 (6:14 pm)
Thanks for quick reply, but there is no firewall enabled on anything. my router allows all traffic as does winXP

where is the 96.224.179.94 coming from? i don't understand what you mean by this indicating that my (non-existent) firewall is setup incorrectly.

btw, when i run dedicated my server IS appearing in the gnometech list when i search on gametype = "pguitar", my game type.
#3
09/15/2007 (8:12 pm)
If i understand this correctly, the 96.224.179.94::50137 is the IP that the master server is returning for my specific gametype, which should be the IP of my router, or what my dsl provider assigns to it when i log on.

so lemme get this right, what i should be seeing instead of 50137 is 28002, or maybe 28000, and some valid IP address? i definitely have those ports open on the router, and again no firewall, all packets are transferring.

when i look at my router config connection summary i see "IP Network Address PPP " and it just happens to be the same as what is being pinged in query master server. it's the port that is wonky, and interestingly that port number, always somewhere in the 50000's, is not always the same (nor is the ip for that matter). i guess this changes each time i log into my dsl provider.

so why is that port number so whacked? i'm staring at my router config and i have port forwarding enabled on 28002 and 28000, for both UDP and TCP

this just doesn't make sense