Game Development Community

TGEA 1.71 Multiplayer Issue

by Adam Beer · in Torque Game Engine Advanced · 11/03/2008 (7:56 pm) · 9 replies

I have been trying to get multiplayer to work in TGEA 1.71 for about a week now and have had no success. Connecting through the Join Game gui doesnt work, and doing a direct IP connect doesnt either (times out). Now I have no idea what the problem is but using the GG master server, my server never shows up and I cant get my own master server to work. Anyone got any ideas as to what the problem is?

#1
11/04/2008 (6:27 am)
Adam to save me writing it out again if you look at the last post I made on my Master Server resource here I've posted details on what should be being seen on both game servers, client and master server.

See if that information helps it's most commonly router configs, if not then as I've said in that post if you post your console log files here I'll take a look... I really should get round to releasing my uPnP code as a resource so that these router issues are a thing of the past.
#2
11/04/2008 (1:11 pm)
Thanks for the response Andy, but everything is communicating correctly already. I tested it with the GG master server and the game server and master server were communicating, my router was opened up and all ports were forwarded, and the game server didnt show up in the list.

The weird thing is, when someone did a direct connect to me "connect("xx.xx.xx.xx:28000);", I saw in the console connect request from xx.xx.xx.xx but on their end, it would just time out. I looked at the $Server and $Client variables for the game list, but im not sure what is what and where the variables are actually all set.
#3
11/04/2008 (1:47 pm)
Sorry to double post, but I have setup all the variables correctly, and now the only issue is the game server doesnt return ping requests, so the game server doesnt show up on the join server list. Is this a bug in TGEA 1.71?
#4
11/04/2008 (2:05 pm)
Try connecting locally, ie via two computers on the same intranet or just launch two Torque instances on the same machine and connect trough those. If that works then you got a routing issue.
#5
11/04/2008 (2:08 pm)
I already tried that. I started 2 versions, made a server with 1 and opened the Join Game gui with the other. When I push Query Master, it sees the server, tries to ping it, but the server doesnt ping back.
#6
11/05/2008 (5:02 am)
Would this be a bug in TGEA 1.71, or am I missing some setting for the server?
#7
11/05/2008 (5:26 am)
I've seen this behaviour before, but it could be all sorts of issues. In our case, it was a firewall issue in Vista.

Sure, could be a bug but since it happens all the time for you it sounds unlikely. Many of us are running 1.7.1 in a multiplayer environment. Incase you haven't tried, try connecting with stock Torque 1.7.1.

If you've already tried that, I'm out of suggestions. Only thing left is to debug and intercept those packages in NetInterface.
#8
11/05/2008 (12:56 pm)
I tried it on a clean 1.71 build, and I got this:

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:192.168.0.100:60333 (3)...
Pinging Server IP:192.168.0.100:60333 (2)...
Pinging Server IP:192.168.0.100:60333 (1)...
Pinging Server IP:192.168.0.100:60333 (0)...
Ping to server IP:192.168.0.100:60333 timed out.
ServerQuery: query Querying servers: 0 left... 0.5
ServerQuery: done No servers found. 1

I am not 100% sure as to what the problem could be, but Ill try testing it with another person, maybe that will work.
#9
11/05/2008 (2:19 pm)
Adam,

Connect directly to the machine. Skip the Master Server as it's another layer and it might complicate your efforts in finding the issue. You never know where the problem will end up. :)

I can say that with stock TGEA 1.7.1 (as well as 1.03 and 1.01) we've had no issues with either listening servers or dedicated ones.