How to start and join a TGEA multi-player server?
by Aaron Clifford · in Torque Game Engine Advanced · 04/24/2007 (2:53 pm) · 11 replies
Hey,
I'm wondering if there are any guides/resources/tutorials to starting and joining a TGEA multi-player server?
Thanks,
Aaron.
I'm wondering if there are any guides/resources/tutorials to starting and joining a TGEA multi-player server?
Thanks,
Aaron.
#2
The starter.fps is working good on my computer.
Internet server with master server step by step:
1. off your firewalls ( or set up it, you need to enable the correct ports for your server/masterserver)
2. download the perl running enviroment from: http://www.perl.com/download.csp#win32
3. you can start a master server with active perl
4. set the masterservers ip in your game ( starter.fps/client/prefs.cs ), use your ip (http://www.whatismyip.com/)
5. start your game, and host a game
6. if your masterserver working, you will get some message in masterserver's perl console
7. send your working game, to your friends, host a server, and they will see your server
if you have a lan connection with your friend, you will see them without master server by pressing LAN button.
I hope It will help you.
Martin
p.s. Sorry for bad english, I'm hungarian :)
05/06/2007 (2:35 pm)
Hi Marc,The starter.fps is working good on my computer.
Internet server with master server step by step:
1. off your firewalls ( or set up it, you need to enable the correct ports for your server/masterserver)
2. download the perl running enviroment from: http://www.perl.com/download.csp#win32
3. you can start a master server with active perl
4. set the masterservers ip in your game ( starter.fps/client/prefs.cs ), use your ip (http://www.whatismyip.com/)
5. start your game, and host a game
6. if your masterserver working, you will get some message in masterserver's perl console
7. send your working game, to your friends, host a server, and they will see your server
if you have a lan connection with your friend, you will see them without master server by pressing LAN button.
I hope It will help you.
Martin
p.s. Sorry for bad english, I'm hungarian :)
#3
I think thats because there isn't a TGEA master server up (only a TGE master server)
05/06/2007 (3:32 pm)
"Have try the current console join server command but all we get is "Connection Timed Out"."I think thats because there isn't a TGEA master server up (only a TGE master server)
#4
05/06/2007 (4:36 pm)
What would I need to do to make a master server for TGEA. I would use it as a community one too so if anyone wants to help me out, this will be given to the community.
#5
you can download the final build from here: http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.8.820-MSWin32-x86-274739.msi
install it, and yes, click the c3masterserver.pl
you will get the following message: Listening for game server on port 28002.
Set the master server in your game, first try with your LOCAL ip (127.0.0.1)
your master0 prefs will be this:
$pref::Master0 = "2:127.0.0.1:28002";
start your game, and press the join game button, and press query master
if your masterserver working, you will get some message in the master server's window.
now, go back, and host a game with start new game, and check the host game box.
You will see your server in master server's window.
dont forget, you need to exchange the IP in prefs file before you send this stuff to the WAN, the 127.0.0.1 is working only with your computer.
I hope, it will help you.
Martin
p.s.: I can't create a master server with webhost, but I'm not a webmaster, so if somebody can do it, please write it to this topic. BUT, I can start master server on Virtual Private Server, or on a simple linux server.
05/07/2007 (1:55 pm)
Hi,you can download the final build from here: http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.8.820-MSWin32-x86-274739.msi
install it, and yes, click the c3masterserver.pl
you will get the following message: Listening for game server on port 28002.
Set the master server in your game, first try with your LOCAL ip (127.0.0.1)
your master0 prefs will be this:
$pref::Master0 = "2:127.0.0.1:28002";
start your game, and press the join game button, and press query master
if your masterserver working, you will get some message in the master server's window.
now, go back, and host a game with start new game, and check the host game box.
You will see your server in master server's window.
dont forget, you need to exchange the IP in prefs file before you send this stuff to the WAN, the 127.0.0.1 is working only with your computer.
I hope, it will help you.
Martin
p.s.: I can't create a master server with webhost, but I'm not a webmaster, so if somebody can do it, please write it to this topic. BUT, I can start master server on Virtual Private Server, or on a simple linux server.
#6
05/07/2007 (2:20 pm)
Alright, I got the master server up and running. It receives and sends heartbeats, and when you search for servers it will send a list. I started a server and it said it couldnt find anything. What could I be doing wrong?
#7
05/07/2007 (2:27 pm)
Ok I checked my console.log and it says its being filtered out because of rules set. I have no idea what to do or what this means.
#8
set the following to the client's init.cs
$Client::GameType = "MultiPlayer";
$Client::GameTypeQuery = "MultiPlayer";
$Client::MissionTypeQuery = "Any";
When the game type query equal the server's game type, the stuff will works. (I tested it today)
Marton
05/07/2007 (3:55 pm)
Hi Adam,set the following to the client's init.cs
$Client::GameType = "MultiPlayer";
$Client::GameTypeQuery = "MultiPlayer";
$Client::MissionTypeQuery = "Any";
When the game type query equal the server's game type, the stuff will works. (I tested it today)
Marton
#9
05/07/2007 (5:13 pm)
Ok everything works, Thanks!!
#10
04/12/2008 (12:28 am)
I have been having the same problems, so I followed all these steps and set up my own master server. I got that working then had the problem of it being filtered out because of rule sets. I changed the settings in the clients inti.cs yet it did not change anything. I am using the stronghold demo, but it says filtered out because of rules (multiplayer:Starter FPS) Is there something else I need to change?
#11
04/15/2008 (7:37 am)
The Client's GameType needs to match the GameType the server is providing. (The client is asking the master server to give it a list of servers running that specific type of game.)
Torque 3D Owner Marton Szucs
I have a starter.fps for TGEA and I can create a game server. You can get the starter.fps from site (use search),
or if it's not works I can share it. I have no code for server only ( without gfx ).
My starter.fps is working fine, I can create server or join to the game. I have a master server perl script, but you can download it from here (search "master server") . I hope, its enough to start your server.
Martin