Trying to get a default server in TGEA 1.8.2 up and running.
by Tarly · in Torque Game Engine Advanced · 03/01/2010 (6:38 pm) · 12 replies
Hello all,
I need a little help here and I hope the community will have some ideas.
I am just trying to get a Stock Stronghold up and running and be able to be seen by a friend of mine in another state.
(Step 1)
I installed TGEA 1.8.2 after a clean download.
I opened strong hold and started a game. And checked host server.
I can see it on the LAN. Outside of the houses network it cannot be seen.
(Step 2)
I opened ports 28002 and port 28000 on the router and forwarded to my server.
(ip 192.168.1.240)
I repeated step 1. same result.
I put the server in the DMZ.
Repeated step 1. Same result.
Thinking server 2003 might be gining me heartburn, I uninstalled 1.8.2 on Win2003 box, and insatleld it on a Windows Xp sp3 machine. Repeated step 2 only forwarded to my XP box. (ip 192.168.1.100)
Repeated step 1. same result.
I booted up my apache web server on the XP box… added port 28000 and port 28002 to listen on and went to a online port scanner. Both ports show open and responding on the above listed ports. Took apache down, and repeated port scan. No response. Didn’t expect any as nothing was there to answer the scanner’s request.
Tried step one again. Same result.
Got mad that I was having trouble with a default install. Wrote into GG, got a response I should prob. Come to Support for router support. (Was crap answer, he didn’t seem to read the email I sent.) Used the link he sent me though, http://gnometech.com/ggmsframe.shtml
MY server never shows up there. The numbers didn’t change, this lead me to believe that maybe it in fact was a router issue. Torn down home network, plugged Cable modem into Win Xp sp3 machine.
Repeated step one.
Same result.
Booted to SMWN. Tried running game. FAILED.
Laughed, cried, cussed.. went and watched TV.
Came back and wrote this hoping someone might have some ideas.
Respectfully,
Clifford Brock
I need a little help here and I hope the community will have some ideas.
I am just trying to get a Stock Stronghold up and running and be able to be seen by a friend of mine in another state.
(Step 1)
I installed TGEA 1.8.2 after a clean download.
I opened strong hold and started a game. And checked host server.
I can see it on the LAN. Outside of the houses network it cannot be seen.
(Step 2)
I opened ports 28002 and port 28000 on the router and forwarded to my server.
(ip 192.168.1.240)
I repeated step 1. same result.
I put the server in the DMZ.
Repeated step 1. Same result.
Thinking server 2003 might be gining me heartburn, I uninstalled 1.8.2 on Win2003 box, and insatleld it on a Windows Xp sp3 machine. Repeated step 2 only forwarded to my XP box. (ip 192.168.1.100)
Repeated step 1. same result.
I booted up my apache web server on the XP box… added port 28000 and port 28002 to listen on and went to a online port scanner. Both ports show open and responding on the above listed ports. Took apache down, and repeated port scan. No response. Didn’t expect any as nothing was there to answer the scanner’s request.
Tried step one again. Same result.
Got mad that I was having trouble with a default install. Wrote into GG, got a response I should prob. Come to Support for router support. (Was crap answer, he didn’t seem to read the email I sent.) Used the link he sent me though, http://gnometech.com/ggmsframe.shtml
MY server never shows up there. The numbers didn’t change, this lead me to believe that maybe it in fact was a router issue. Torn down home network, plugged Cable modem into Win Xp sp3 machine.
Repeated step one.
Same result.
Booted to SMWN. Tried running game. FAILED.
Laughed, cried, cussed.. went and watched TV.
Came back and wrote this hoping someone might have some ideas.
Respectfully,
Clifford Brock
About the author
#2
Cool link though. TY for that one. now.. if I can just get the default Stonghold game to be able to be seen.. I'll be doing back flips.
CB
edited due to more information:
When pinging master.garagegames.com I get an ip of 74.63.12.22.
When I open the console (the ~ key) when running strong hold I see :
Recieved info request from a master server [IP:74.63.12.22:28002]
Recieved info request from a master server [IP:74.63.12.22:28002]
Sending heartbeat to master server [IP:74.63.12.22:28002]
To me, this says I have the game up and running and the master server should be able to see it,as well as my buddy.
Is this logic wrong?
I believe the link http://gnometech.com/ggmsframe.shtml may not update in real time.
CB
03/01/2010 (10:09 pm)
Nope. I just read your reply. Even removing the router and plugging the cable modem directly into the PC did not allow the default Stronghold server to be seen on GG master server link.Cool link though. TY for that one. now.. if I can just get the default Stonghold game to be able to be seen.. I'll be doing back flips.
CB
edited due to more information:
When pinging master.garagegames.com I get an ip of 74.63.12.22.
When I open the console (the ~ key) when running strong hold I see :
Recieved info request from a master server [IP:74.63.12.22:28002]
Recieved info request from a master server [IP:74.63.12.22:28002]
Sending heartbeat to master server [IP:74.63.12.22:28002]
To me, this says I have the game up and running and the master server should be able to see it,as well as my buddy.
Is this logic wrong?
I believe the link http://gnometech.com/ggmsframe.shtml may not update in real time.
CB
#3
03/02/2010 (1:28 pm)
you could try having your friend connect directly to your ip and see if he can join the server u are hosting
#4
03/02/2010 (6:54 pm)
Scooby, that is a great idea.. how do I do that ?
#5
03/03/2010 (4:32 am)
have your friend pull up the console in the menu with ~ and type in connect("yourIP:yourPort"); the ip and port must be in the quotes. In your console you should see a connect request if everything works correctly hosting wise
#6
03/03/2010 (6:52 am)
That is so cool... I will have to try that in a few days. Work right now has gone crazy. TYVM. I will let you know how it works out.
#7
1. client asks the master server for a list of user servers
2. master server replies with ip's and ports
3. client pings each ip it gets from the server
4. list pops up on your screen
5. you pick and the connect(); function is called
if we just skip steps 1 - 4 we can see if the master server is the culprit..hope it works
03/03/2010 (1:35 pm)
yea that is really how the whole multiplayer aspect works in script1. client asks the master server for a list of user servers
2. master server replies with ip's and ports
3. client pings each ip it gets from the server
4. list pops up on your screen
5. you pick and the connect(); function is called
if we just skip steps 1 - 4 we can see if the master server is the culprit..hope it works
#8
Any ideas?
03/03/2010 (8:55 pm)
Scooby.. that connect thing works like a champ.. but.. why does the default game not report to the master server so he can see it ?Any ideas?
#9
To explain what I am talking about in your "client/scripts/joinServerGui.gui" there shuld be this function:
the "$Client::GameTypeQuery" and "$Client::MissionTypeQuery" may not be set to the same thing that your server is reporting to the master server, so your friend may never see the game because the info doesn't match. The server variables are "$Server::GameType" and "$Server::MissionType". When "$Client::MissionTypeQuery" is set to "any" it list all servers whose "$Client::GameTypeQuery" matches "$Server::GameType" regardless of what game mode is being played ex. ctf, deathmatch, search and destroy.
you should try changing that function to:
and be sure to change in "server/scripts/game.cs"
after you make all of the changes you should zip up your modified stronghold and send it to your friend so all the changes match up accordingly
EDIT: and upon checking the stock stronghold example, "$Client::GameTypeQuery" and "$Server::GameType" DO NOT match. Therefore none of the stronghold examples will ever connect because the query information doesn't match up. This should be considered a bug in the stock scripts.
03/04/2010 (1:26 pm)
well in your earlier post you stated that in your console you were getting a response from the master server. The kit is reporting to the master server but I am unsure if the kit knows how to "ask" for the right information. To explain what I am talking about in your "client/scripts/joinServerGui.gui" there shuld be this function:
function JoinServerGui::query(%this)
{
queryMasterServer(
0, // Query flags
$Client::GameTypeQuery, // gameTypes
$Client::MissionTypeQuery, // missionType
0, // minPlayers
100, // maxPlayers
0, // maxBots
2, // regionMask
0, // maxPing
100, // minCPU
0 // filterFlags
);
}the "$Client::GameTypeQuery" and "$Client::MissionTypeQuery" may not be set to the same thing that your server is reporting to the master server, so your friend may never see the game because the info doesn't match. The server variables are "$Server::GameType" and "$Server::MissionType". When "$Client::MissionTypeQuery" is set to "any" it list all servers whose "$Client::GameTypeQuery" matches "$Server::GameType" regardless of what game mode is being played ex. ctf, deathmatch, search and destroy.
you should try changing that function to:
function JoinServerGui::query(%this)
{
$Client::GameTypeQuery = "StrongholdTest";
$Client::MissionTypeQuery = "any";
queryMasterServer(
0, // Query flags
$Client::GameTypeQuery, // gameTypes
$Client::MissionTypeQuery, // missionType
0, // minPlayers
100, // maxPlayers
0, // maxBots
2, // regionMask
0, // maxPing
100, // minCPU
0 // filterFlags
);
}and be sure to change in "server/scripts/game.cs"
// Server::GameType is sent to the master server. // This variable should uniquely identify your game and/or mod. $Server::GameType = "StrongholdTest"; // Server::MissionType sent to the master server. Clients can // filter servers based on mission type. $Server::MissionType = "Deathmatch";
after you make all of the changes you should zip up your modified stronghold and send it to your friend so all the changes match up accordingly
EDIT: and upon checking the stock stronghold example, "$Client::GameTypeQuery" and "$Server::GameType" DO NOT match. Therefore none of the stronghold examples will ever connect because the query information doesn't match up. This should be considered a bug in the stock scripts.
#10
Hey David, whom do we report to that Stronghold has some mismatched info in it to?
Thank you very much for the input.
Tarly.
03/04/2010 (7:42 pm)
I am confused why the default Stronghold would hhve dif type names in it though. I agree. Sounds like a bug.Hey David, whom do we report to that Stronghold has some mismatched info in it to?
Thank you very much for the input.
Tarly.
#11
1.8.2 is busted. :(
T.
03/06/2010 (12:33 pm)
Well, I just downloaded 1.8.1 with AFX.. and it works like a Champ. No mods needed to anything.1.8.2 is busted. :(
T.
#12
03/08/2010 (8:06 am)
Interesting. I'll report it. I have always tested with T3D rather than stronghold and it has always shown up in the list.
Associate David Montgomery-Blake
David MontgomeryBlake