Game Development Community

Multiplayer Internet Connecting Problems

by John Eckhardt · in Torque 3D Professional · 09/07/2009 (4:08 pm) · 3 replies

Hey, first off, let me say that Torque 3D is pretty awesome.

Secondly, let me ask why I am not getting the multiplayer to work. I'm using Beta 5, and LAN works fine. However, I run into problems when attempting to connect via internet.

I had TGE1.5.2 connecting just fine; forwarded the ports 28000-2 to my computer and I could have tons of people connect. Now, we are unable to see eachother's game when we query master. The server successfully sends the heartbeat and receives the request from the server, so I'm not sure what's wrong.

Does anybody have any idea what would cause this? I'm afraid I'm missing something very simple which is causing the game to not appear.

#1
10/21/2009 (4:57 pm)
Hello.

I'm having the same problem. Master server gets other's game, but I can't see it. My Torque3D exec detects there are other games created, but when it pings to the other who has created the game, it doesn't answer, and so it doesn't appear into the games list.

That computer had firewall disabled. When I do ping directly to that computer, ping works.

If anyone can drop us an idea...
#2
10/21/2009 (6:22 pm)
I have seen that somewhen in the past on an own prototype.

What I found out was actually that it was my error in the end though and a pretty stupid one: differences in the client and server prefs on the network prefs end. especially the port must be identical or it won't work
#3
10/21/2009 (6:59 pm)
Thanks Marc,

I've got:
$pref::Net::Port = 28000;
$Pref::Server::Port = 28000;


Also, I've got port 28002 for master server.