Game Development Community

Setting Up Multiplayer

by Skylar Kelty · in Torque Game Engine · 05/18/2006 (8:50 am) · 27 replies

Hi,
How do I set up a multiplayer game?
(Assuming im using stock tge)
Do I just have to check host multiplayer or is there more?
Page «Previous 1 2
#1
05/18/2006 (8:56 am)
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 (3 servers).
Pinging Server IP:87.6.236.193:28000 (3)...
Pinging Server IP:195.29.119.222:28000 (3)...
Pinging Server IP:72.192.24.98:28000 (3)...
Pinging Server IP:87.6.236.193:28000 (2)...
Pinging Server IP:195.29.119.222:28000 (2)...
Pinging Server IP:72.192.24.98:28000 (2)...
Pinging Server IP:87.6.236.193:28000 (1)...
Pinging Server IP:195.29.119.222:28000 (1)...
Pinging Server IP:72.192.24.98:28000 (1)...
Pinging Server IP:87.6.236.193:28000 (0)...
Pinging Server IP:195.29.119.222:28000 (0)...
Pinging Server IP:72.192.24.98:28000 (0)...
Ping to server IP:87.6.236.193:28000 timed out.
ServerQuery: ping Pinging servers: 2 left... 0.166667
Ping to server IP:195.29.119.222:28000 timed out.
ServerQuery: ping Pinging servers: 1 left... 0.333333
Ping to server IP:72.192.24.98:28000 timed out.
ServerQuery: query Querying servers: 0 left... 0.5
ServerQuery: done No servers found. 1
Server query canceled.
#2
05/18/2006 (10:23 am)
That's all you have to do as far as TGE is concerned. However if you have a firewall and are trying to host over the net, you'll need to open ports 28000:28002.
#3
05/18/2006 (11:49 am)
I can't get it to work, what about if you have a router?
#4
05/18/2006 (1:58 pm)
Same thing, open ports 28000-28002.
#5
05/18/2006 (1:59 pm)
Thanks
#6
05/19/2006 (8:03 am)
I turned off my firewall and still nothing
#7
05/19/2006 (8:04 am)
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)...
Requesting the server list from master server IP:216.116.32.49:28002 (1 tries left)...
ServerQuery: update Retrying the master server... 0
Requesting the server list from master server IP:216.116.32.49:28002 (0 tries left)...
ServerQuery: update Retrying the master server... 0
Server list request to IP:216.116.32.49:28002 timed out.
There are no more master servers to try!
ServerQuery: done No master servers found. 0
Server query canceled.
#8
05/19/2006 (8:09 am)
Did you log onto your router and open those ports?
#9
05/19/2006 (10:21 am)
Well I forwarded those ports to my pc on the router, there was no option to open them
#10
05/19/2006 (10:27 am)
Are you sure you have ports forwarded to you from your ISP?
#11
05/19/2006 (10:43 pm)
What do you mean: contact my isp or adjust settings on the router?
In my router Ihave a virtual server setup forwarding those three ports to my pc
#12
05/19/2006 (10:46 pm)
Server Name | External Port Start | External Port End | Protocol | Internal Port Start | Internal Port End
DawnOfMen | 28000 | 28002 | TCP | 28000 | 28002

Server IP Address
192.168.1.2


Thats the virtual server setup
#13
05/20/2006 (3:16 am)
I am having similar problems. What is your ISP? Mine is Verizon DSL.
#14
05/20/2006 (3:18 am)
Pipex - I think it's the router
#15
05/20/2006 (3:43 am)
I got it working - it was a linein init.cs in the client folder

How do I create a game other than FPS Starter kit on the server?
#16
05/20/2006 (6:58 am)
I got it working, cameback 10min later and its not working again?
#17
05/20/2006 (10:03 am)
Delete your init.cs.dso and recheck your init.cs file to make sure your changes are still there.
#18
05/20/2006 (11:02 am)
Yeah, I have deleted the dso's the changes are still in init.cs
#19
05/20/2006 (4:11 pm)
The only other thing I can think of is to delete the config and pref files.
I know the starter.fps demo works out of the box, so checking the code there should help you greatly.
Also, in common/main.cs there is some masterServer code.
#20
05/20/2006 (5:10 pm)
Actually, I can't get 1.4 stock to work. Same problem as he describes. No servers found, I think it was having a problem with the master server. Only thing different with me is that I am NOT using a router.
Page «Previous 1 2