Game Development Community

Running dedicated server for default 3d torque

by Ace · in Torque 3D Beginner · 12/15/2014 (11:10 am) · 15 replies

[please note] I learn by example all those fancy documentation and fancy tech talk wont learn me a whole lot. Altho i do breeze through them but mostly after a few minutes of that and my eyes kinda glaze over.[/please note]

I am running a dedicated torque 3d server called NoESCape Server, from github.com/GarageGames/Torque3D default 32bit from the download, the only thing changed was The server name in script.

I opened 28000 port in my router, so by clicking on Query Master, NoESCape Server does show up (as it does by clicking query lan).

So now anyone with the default 3d torque demo can find my server and join it?
I just need to verify this in a way that i understand.

This is where my project starts. Thanks. well after i make a new syte :)


(this site captcha is really annoying but understandable)

About the author

Ace Owner of NoESCape.sytes.net starting from the beginning on 3d torque


#1
12/16/2014 (5:54 am)
Opening the port is one step - ensuring that your router is forwarding that port to your server is the next.

If your port is open and the router is forwarding to the server then yes, given the address someone could connect to your server. Next, you'll probably want to open a range from 28000~28100 and forward that to the server as well to ensure joining players can actually join your served game. At that point, if you're using GarageGames' master server (default) then anyone should be able to see it in the list and join.

Setting up your own master server seems to work best if you set it up on its own machine separate from the game server and forward the master server port to it instead. Then have your game server use that address for its master server.

In theory.

Over the years there has been much consternation from those unable to set it up and much confusion from those of us who never had any sort of trouble with it trying to help.
#2
12/16/2014 (7:01 am)
Open port 28000 and 28002, the second is used by the master server, if you did not change it.
#3
12/16/2014 (1:53 pm)
Thank for confirming i been running dedicated games for along time, i am just unfamiliar with the new torque. Yes everything gets forwarded to the server. Ill just add a few more ports 28000-28100 like you said ty,

Im actually going to run an older version of torque also (on different ports) A project i created 10 years ago:

www.garagegames.com/community/forums/viewthread/18652/1
Im going to update this to current torque 3d.
It will be a good place for me to get used to torque again and give me somthing to do...this time around i wont try to do it all my self ....but not know th way gg is now days i may find im doing it alone anyways.
#4
12/16/2014 (4:32 pm)
Well, GG isn't really in it much anymore - Open source and community-driven and all that....
#5
12/17/2014 (11:42 am)
Quote:Well, GG isn't really in it much anymore - Open source and community-driven and all that....
Correct. GG has no involvement in Torque at an official, day-to-day level.

Quote:all those fancy documentation and fancy tech talk wont learn me a whole lot.

i.imgur.com/SExFvg3.gif
#6
12/17/2014 (12:41 pm)
Well that information may change things for me.

Whos in control of the site?
Or more important whos running the Master server?

Can i get a copy of the master server files?

I just went through ("a certain game dropping support and no more master server") type deal.

Which means since i could never write a waster server alone, if i cant get the current master server files for torque 3d then i may as well delete my 4.76 gb of resources for torque from ten years ago and not try to relearn torque.

#7
12/17/2014 (1:20 pm)
Quote:Whos in control of the site?
GarageGames controls GarageGames.com

Quote:Or more important whos running the Master server?
I didn't even know it was still up. If it is, we are likely keeping it on life support.

Quote:Can i get a copy of the master server files?
Possibly. Gotta find them first, though.

Quote:if i cant get the current master server files for torque 3d then i may as well delete my 4.76 gb of resources for torque from ten years ago and not try to relearn torque.
I have absolutely no idea what you mean and how they are related at all, but that doesn't sound good. Hopefully someone with the master server files can chime in here.
#8
12/17/2014 (6:45 pm)
basically without me having the master server files it wont be worth my while to get into this again .

since torque is now open source i would imagine the master server files wont be a problem to release also

I run a battlefield 2 server game created by electronic Arts, this yr e.a. dropped support for the game and the login master server went down. The community was still huge and not ready to give it up.

Someone that was running a mod (project reality) reverse engineered the master server and created one that got you into the game github.com/AncientMan2002/PRMasterServer

Well i compiled that and have it so i can run my bf2 anytime now, and thats whats got me worried about torque, gonna have to be some one way smarter then me to create a master server.

I m really surprised GG didnt go all out and make some kind of defult torque game in stead of just the demo. Torque had great potential back in the beginning for that and it looks even better now.

Well i got older now and tend to ramble on I put my torque plans on hold pending on the master server files
thanks


#9
12/17/2014 (10:48 pm)
I'm making a default torque game, not much yet, still need more players to test, but at least a working game (with multiplayer), maybe you want to look into it. www.moddb.com/games/uebergame
#10
12/18/2014 (6:19 am)
There are a dozen examples of how to set up a master server - it's not Torque-specific and there have been master servers set up to run on Apache, IIS, and stand-alone using a C# program.

This one will cost you $50 - http://www.garagegames.com/community/blogs/view/21145

This one is free:
http://www.garagegames.com/community/blogs/view/21126

Google is your friend.
#11
12/18/2014 (7:23 am)
@Duion
single player and co-op is the direction i would like to set my sites/project on eventually, since its been a good long while i will start on recreating my single player kit to get familiar with torque again

@ richard
Thanks for your input , but i would rather have the code that is actually running torque now as it is most likely torque specific and i know it already works.
#12
12/18/2014 (8:15 am)
@Ace - I'll have to check on it. It could be that the reason it wasn't released is the very same reason TGE and TGEA aren't open source. I'm not sure, though. I don't even know where the actual source files for the master server are. I wouldn't invalidate what Richard suggested. The old master server isn't the only solution. It's not something magical that can't be replaced.

Quote:I m really surprised GG didnt go all out and make some kind of defult torque game in stead of just the demo.
Time, resources, priorities, etc. There were games made in-house with one variant or another of Torque, such as Legions and Rocketball. They just weren't made available as example projects.
#13
12/18/2014 (8:31 am)
thanks Michael
#14
12/18/2014 (8:46 am)
Robert Fritzen has also a master server in php, it costs only $7.
There are also multiple examples of free master servers, but they all need some knowledge and/or fixing to make them work.
#15
12/18/2014 (6:35 pm)
Actually, it's not Torque-specific - that was kind of my point; you just need to examine what Torque sends and expects to receive from the master server and supply it. And we've been asking for the source to GG's master server for years now - they've been too busy to clean out stuff that conflicts with the MIT license and so it hasn't been released (business before charity, understandable when you have a staff to pay). Hopefully that will change shortly, but who knows. So, wait if you wish but there are plenty of resources available to get you moving sooner than later....