Networking issues
by Sabrecyd · in Torque Game Engine · 06/28/2002 (5:44 am) · 4 replies
Hi,
There's a couple questions I have about some networking things. Hope someone can help.
1 - what is this exactly - $pref::Master[0] = "2:v12master.dyndns.org:28002"; It's in the defaults.cs file in the fps server folder.
Is this trying to connect to a GG server on the internet?
I've noticed when I run a dedicated server while connected to the internet I get an IP address of "216.116.33.156". If I run a dedicated server w/o an internet connection. I get a "bad server" message.
2 - Where is that extra player image coming from when you connect 2 computers on a LAN? It can't be killed or controlled. I start a multiplayer game and then do the connect ("x.x.x.x"); function to connect the second computer to the first. There are two working players plus that 3rd "freak".
Any insight would be greatly appriciated. Maybe I missed something in another thread, but I couldn't find anything.
Thanks,
-Sabrecyd
There's a couple questions I have about some networking things. Hope someone can help.
1 - what is this exactly - $pref::Master[0] = "2:v12master.dyndns.org:28002"; It's in the defaults.cs file in the fps server folder.
Is this trying to connect to a GG server on the internet?
I've noticed when I run a dedicated server while connected to the internet I get an IP address of "216.116.33.156". If I run a dedicated server w/o an internet connection. I get a "bad server" message.
2 - Where is that extra player image coming from when you connect 2 computers on a LAN? It can't be killed or controlled. I start a multiplayer game and then do the connect ("x.x.x.x"); function to connect the second computer to the first. There are two working players plus that 3rd "freak".
Any insight would be greatly appriciated. Maybe I missed something in another thread, but I couldn't find anything.
Thanks,
-Sabrecyd
About the author
#2
When a dedicated server is run, it registers itself with the master server so that game players can find it.
Games & servers also broadcast on their local lan to find lan games.
07/01/2002 (1:33 pm)
The $pref::master is the address of the master server which the game will try to contact for a list of game servers. The default has been changed to master.garagegames.com, but the address you have should work fine.When a dedicated server is run, it registers itself with the master server so that game players can find it.
Games & servers also broadcast on their local lan to find lan games.
#4
Bryan
07/02/2002 (12:11 pm)
So Tim just by replacing that line you can have the game look for your own master server, that you can make. Correct? Or is the GG master server have some special things it in that Torque looks for...Bryan
Torque Owner Sabrecyd