Game Development Community

Master server using Torque Networking?

by Weston Elliott · in Torque Game Engine · 02/14/2007 (10:34 am) · 8 replies

I know this is my third thread on master servers, but I am still having a very hard time with the networking (sorry)...

What I am wanting to do is make a master server using the stock Torque networking. Is this possible? I cant find anything anywhere about making a master server using the stock Torque networking. I have looked and looked for the past week, but I am unable to find any information on it. There is a lot of information on the TNL, but I heard that the networking that the TGE 1.5 comes with is good enough to make decent games with too. So now I am interested in using the stock Torque networking.

How do I make a master server using the stock Torque networking?

#1
02/14/2007 (10:41 am)
Torque does not include the source code for the master server. You will have to create your master server which is specific to your game, controls the data you want it to control (such as information for ladders and such), and transmits data accordingly. That was why I pointed you to the TNL master server source code. It is a stripped down, simple server. From there, you should be able to determine what you are sending (with your Torque game) and how you need to match people up.
#2
02/14/2007 (11:20 am)
Okay.

I am just having a lot of problems trying to compile TNL for Windows with Microsoft Visual C++ Express Edition 2005.
#3
02/14/2007 (11:51 am)
Again and again, why would this not be possible, given that you have the source? It is really just a matter of creating a new connection type (begin with GameConnection and work from there).
#4
02/25/2007 (9:00 am)
Where can I download screen?
#5
02/25/2007 (11:24 am)
I have no idea what you are asking whatsoever.
#6
02/25/2007 (11:42 am)
I need to download Screen for my linux box so I can run my master server.
#7
02/25/2007 (11:48 am)
Why would you need screen? Why not just start the server process and test it?
#8
02/25/2007 (12:30 pm)
@Elliot

Have a look at this ressource :

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

It's not a masterserver but it give you basic connectivity in torque script so you can easily transform it to create a master server. I use this technique for automatic files updates, masterserver and slave server connectivity for a mmo. Work nicely. And it's simpler for you to code in script than messing with network class in C++.

The ressource here can in no doubt be also helpfull :

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


Hope that help.