Game Development Community

Removing Master Server...

by Alastair Paterson · in Torque Game Engine · 12/16/2002 (6:32 am) · 7 replies

Heya,

I'm just starting out developing with the engine.

I'd like to compeletely remove the Master Server sections in our game development and just have the client either connect via a manual "-connect servername" command line, or in game get a list of LAN games using server discovery via broadcasting.

The game I am developing is for a University project and is LAN only. In fact there may be situations where Internet access is not possible in which case there can be no access to the Master Server.

Any help with this would be appreciated.

Cheers,

Ali Paterson

#1
12/16/2002 (7:00 am)
If you set $Pref::Net::DisplayOnMaster = "Never" in fps/server/prefs.cs, then your server won't talk to the master anymore.
#2
12/16/2002 (10:13 pm)
If you're _really_ worried, you can delete or comment out the code in engine/game/net/serverQuery.cc that actually does the querying.
#3
09/09/2003 (2:26 pm)
John Quigley wrote:
Quote:If you set $Pref::Net::DisplayOnMaster = "Never" in fps/server/prefs.cs, then your server won't talk to the master anymore.

Just a heads-up for Torque rookies like me: the parameter setting above should be terminated by a semicolon. =)

$Pref::Net::DisplayOnMaster = "Never";

-Marc
#4
09/26/2003 (9:50 am)
Oo, this one is interesting :) However, can we run our own "master server"? How would we go about doing that?
#5
09/26/2003 (10:15 am)
Well, there's not much reason to if you want to use a vanilla master. GG runs one for free. If you write your own, then it's a moot point.

www.pblabs.com/projects.php has a basic master server.
#6
09/26/2003 (10:57 am)
Hmm wait, if GG runs it's own, then when a client logs on, it will only show the servers it can connect to? Not all the other games like, for example Realm Wars?
#7
09/26/2003 (12:39 pm)
You can specify filters for gametypes in your queries. Just "hardcode" your game to only query your own gametype.

Else you would need to run your own server, yeah.