Game Development Community

Query master server or servers in LAN

by gamer · in Technical Issues · 03/13/2006 (11:34 pm) · 1 replies

Which port numbers are torque using by default when querying master server or servers in the LAN? how can I config them?
thanks

#1
03/14/2006 (6:16 am)
Here is a post that talks about creating your own master server and it has a section about the ports:

www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9226

Quote:Now we are ready to test the changes, we can do this on a single workstation, using starter.fps.

We need to change the default master server that our build will use, open \example\starter.fps\server\defaults.cs

Edit the master server address on line 9 from:

"2:master.garagegames.com:28002"; to "2::28111"

example: "2:192.168.2.4:28111" (although your IP will likley be different!)
Note: do not use 127.0.0.1 because this address is filtered out by code in Net::process(), you must use your workstations IP


Hope this helps you out.