Host multiplayer does not work ?
by Philippe C · in Torque Game Engine · 02/28/2006 (9:03 am) · 10 replies
The test has been done on windows with Torque 1.4. and the demo : starter.fps
I have modified the starter.fps files in order to have a unique name for my game 'PhilippeC':
I have send the files to my friend. My friend host the game in multiplayer , his ip adress is : 86.207.249.157
I start the same game on my PC , "join server" => "query master" , i get the folowing message :
"no servers found"
in the console on my PC i can read :
When my friend is not connected , i have the folowing messages in the console windows :
It seems that from my PC I can see the friend's "host server" but a "timed out" occurs.
any idea ?
I have done a test with my house's lan and it works well when I do "query lan" , "PhilippeC" appears , I can select it and we can play.
=> this means that the server name is ok ?
I have modified the starter.fps files in order to have a unique name for my game 'PhilippeC':
---------- Find in Files ---------- > Searching for the string 'PhilippeC'... C:\Torque\SDK\example\starter.fps\client\init.cs(37,30): $Client::GameTypeQuery = "PhilippeC"; C:\Torque\SDK\example\starter.fps\client\prefs.cs(81,24): $Pref::Server::Name = "PhilippeC"; C:\Torque\SDK\example\starter.fps\client\client\init.cs(37,30): $Client::GameTypeQuery = "PhilippeC"; C:\Torque\SDK\example\starter.fps\client\client\prefs.cs(76,24): $Pref::Server::Name = "PhilippeC"; C:\Torque\SDK\example\starter.fps\server\defaults.cs(12,24): $Pref::Server::Name = "PhilippeC"; C:\Torque\SDK\example\starter.fps\server\prefs.cs(9,24): $Pref::Server::Name = "PhilippeC"; C:\Torque\SDK\example\starter.fps\server\scripts\game.cs(26,25): $Server::GameType = "PhilippeC"; C:\Torque\SDK\example\starter.fps\server\server\prefs.cs(9,24): $Pref::Server::Name = "PhilippeC"; > 8 occurrence(s) have been found.
I have send the files to my friend. My friend host the game in multiplayer , his ip adress is : 86.207.249.157
I start the same game on my PC , "join server" => "query master" , i get the folowing message :
"no servers found"
in the console on my PC i can read :
Received server list packet 1 of 1 from the master server (1 servers). Pinging Server IP:86.207.249.157:50724 (3)... Pinging Server IP:86.207.249.157:50724 (2)... Pinging Server IP:86.207.249.157:50724 (1)... Pinging Server IP:86.207.249.157:50724 ... Ping to server IP:86.207.249.157:50724 timed out. ServerQuery: query Querying servers: 0 left... 0.5 ServerQuery: done No servers found. 1
When my friend is not connected , i have the folowing messages in the console windows :
ServerQuery: start Querying master server 0 No master servers found in this region, trying IP:216.116.32.49:28002. Requesting the server list from master server IP:216.116.32.49:28002 (2 tries le ft)... Received server list packet 1 of 1 from the master server (0 servers). ServerQuery: done No servers found. 1
It seems that from my PC I can see the friend's "host server" but a "timed out" occurs.
any idea ?
I have done a test with my house's lan and it works well when I do "query lan" , "PhilippeC" appears , I can select it and we can play.
=> this means that the server name is ok ?
#2
ping 86.207.249.157
That port number is also very unusual (50724)...Torque normally searches for games on port 28000 which is the default port that hosts will host on as well. If you have his computer do a
netstat - an
you can find out what port his host is actually waiting on, and confirm that things are correct.
02/28/2006 (9:48 am)
It appears that his firewall filter ping packets by default, so they aren't being returned. You can confirm (or deny) this by opening up a normal (windows I assume) cmd window and typing:ping 86.207.249.157
That port number is also very unusual (50724)...Torque normally searches for games on port 28000 which is the default port that hosts will host on as well. If you have his computer do a
netstat - an
you can find out what port his host is actually waiting on, and confirm that things are correct.
#3
i autorise on my livebox sagem the port 28000 and everything works , I can kill my "friend"
arrrh , it is wonderfull....
:-)
Thanks
for you information
pc@josie:~$ netstat -an
Connexions Internet actives (serveurs et
02/28/2006 (12:36 pm)
Thanks for you advise i autorise on my livebox sagem the port 28000 and everything works , I can kill my "friend"
arrrh , it is wonderfull....
:-)
Thanks
for you information
pc@josie:~$ netstat -an
Connexions Internet actives (serveurs et
#4
but with linux => windows I get the following message when I try to connect a game hosted by : 81.251.14.222 which is a windows platform
Is someone used linux in order to test torque in multiplayer ? Contact me on msn : phc.c@wanadoo.fr
02/28/2006 (1:35 pm)
With windows it works : I am very happy.but with linux => windows I get the following message when I try to connect a game hosted by : 81.251.14.222 which is a windows platform
ServerQuery: start Querying master server 0 No master servers found in this region, trying IP:216.116.32.49:28002. Requesting the server list from master server IP:216.116.32.49:28002 (2 tries left)... Received server list packet 1 of 1 from the master server (2 servers). Pinging Server IP:83.200.235.135:28000 (3)... Pinging Server IP:81.251.14.222:28000 (3)... You do not meet the minimum protocol for server IP:81.251.14.222:28000. ServerQuery: ping Pinging servers: 1 left... 0.25 Pinging Server IP:83.200.235.135:28000 (2)... Pinging Server IP:83.200.235.135:28000 (1)... Pinging Server IP:83.200.235.135:28000 (0)... Ping to server IP:83.200.235.135:28000 timed out.
Is someone used linux in order to test torque in multiplayer ? Contact me on msn : phc.c@wanadoo.fr
#5
You will want to take a look at the various threads in the Torque SDK-->Linux forums to work on bringing your linux build up to 1.4.
03/01/2006 (6:10 am)
The current linux build is 1.3, not 1.4, which is why you cannot connect the two.You will want to take a look at the various threads in the Torque SDK-->Linux forums to work on bringing your linux build up to 1.4.
#6
Thanks
I compile torque 1.4 and it works. But i test only between windows xp and linux
I would like to do a test between linux / linux , I can provide the binary if the people don't know how to compile.
If you want more information in order to compile => have a look on the post : www.garagegames.com/mg/forums/result.thread.php?qt=40612
03/04/2006 (11:06 am)
@ StephenThanks
I compile torque 1.4 and it works. But i test only between windows xp and linux
I would like to do a test between linux / linux , I can provide the binary if the people don't know how to compile.
If you want more information in order to compile => have a look on the post : www.garagegames.com/mg/forums/result.thread.php?qt=40612
#7
I install firestarter and I authorise the port 28000 on my pc => now it works fine
if someone want to test : download the test application : eviwo.free.fr/download/example.tar.gz
and contact me on msn : phc.c@wanadoo.fr
03/06/2006 (1:32 pm)
Last point : with ubuntu I have installed a firewall by default and it blocks me in order to host the game .I install firestarter and I authorise the port 28000 on my pc => now it works fine
if someone want to test : download the test application : eviwo.free.fr/download/example.tar.gz
and contact me on msn : phc.c@wanadoo.fr
#8
How would one edit TGE (and all files) to reflect a new name (or game) that would be listed on the master server.
03/06/2006 (1:34 pm)
SO,How would one edit TGE (and all files) to reflect a new name (or game) that would be listed on the master server.
#9
I am not sure to understand your post well.
the files to edit are the following in oder to customise you server name : the server name is "PhilippeC" and this server name will appear in "join server" window in demo "starter.fps"
03/06/2006 (1:39 pm)
@ allynI am not sure to understand your post well.
the files to edit are the following in oder to customise you server name : the server name is "PhilippeC" and this server name will appear in "join server" window in demo "starter.fps"
starter.fps/client/client/prefs.cs:$Pref::Server::Name = "PhilippeC"; starter.fps/client/client/init.cs: $Client::GameTypeQuery = "PhilippeC"; starter.fps/client/prefs.cs:$Pref::Server::Name = "PhilippeC"; starter.fps/client/init.cs: $Client::GameTypeQuery = "PhilippeC"; starter.fps/server/scripts/game.cs: $Server::GameType = "PhilippeC"; starter.fps/server/server/prefs.cs:$Pref::Server::Name = "PhilippeC"; starter.fps/server/prefs.cs:$Pref::Server::Name = "PhilippeC"; starter.fps/server/defaults.cs:$Pref::Server::Name = "PhilippeC";
#10
03/06/2006 (1:50 pm)
Thats what i ment =)
Torque 3D Owner Sebastien Bourgon
Actually fairly common problem with TGE and routers/hubs. Checking to make sure that the port is being forwarded properly, or being the DMZ, etc are usual solutions. Cant offer much more help without knowing specifics on the network setup.