Can't see dedicated server
by Jeff Sherwin · in Torque Game Engine · 03/10/2004 (9:11 am) · 14 replies
Is really odd linux -dedicated server is loading fine with the stronghold mission compiled directly from HEAD
make the mac client and the client cant see the linux server -
same with windows
server says is sending and receiving master stuffs
yesterday i could see the server
don't have a clue where to even begin looking
thanks if anyone knows anything to try or anythiing
Jeff
make the mac client and the client cant see the linux server -
same with windows
server says is sending and receiving master stuffs
yesterday i could see the server
don't have a clue where to even begin looking
thanks if anyone knows anything to try or anythiing
Jeff
About the author
#2
03/10/2004 (10:05 am)
Am going thru the script and code now - any hints on how to do that?
#3
03/10/2004 (2:39 pm)
Think my dns is screwed up o nthe server - back in a day or two once i resolve it
#4
i have tried connect(IPNUM) from the console but don't understand how to connect to the linux box direct
it says transmitting on port 28000
any help o nhow to do that or what to try next would be appreciated :)
03/11/2004 (5:22 am)
Okay resolved dns - it's correct now and the machine still doesn't register onthe query masteri have tried connect(IPNUM) from the console but don't understand how to connect to the linux box direct
it says transmitting on port 28000
any help o nhow to do that or what to try next would be appreciated :)
#5
03/17/2004 (11:25 am)
? no one knows how to do this?
#6
One thing you could do is make sure that your dedicated game server is visible from the master server. To do so, you could use the Master Server Monitor at www.gnometech.com. Just enter in your $Server::GameType into the Game Type field and press Search. This will at least tell you if you're getting out to the Master Server.
Are you behind a firewall? If so, you may need to forward the appropriate ports.
If all of your machines (Linux, Windows, and Mac) are on the same LAN, then try the LAN connection method rather than through the Internet.
Just some ideas...
- LightWave Dave
03/17/2004 (6:50 pm)
Greetings!One thing you could do is make sure that your dedicated game server is visible from the master server. To do so, you could use the Master Server Monitor at www.gnometech.com. Just enter in your $Server::GameType into the Game Type field and press Search. This will at least tell you if you're getting out to the Master Server.
Are you behind a firewall? If so, you may need to forward the appropriate ports.
If all of your machines (Linux, Windows, and Mac) are on the same LAN, then try the LAN connection method rather than through the Internet.
Just some ideas...
- LightWave Dave
#7
not behind a firewall and linux box is hosted elsewhere . . .
seems like i see the linux box send a heartbeat and get a query from the master server
appreciate you taking the time to help!
03/17/2004 (7:55 pm)
Cool will try the gnometech thingnot behind a firewall and linux box is hosted elsewhere . . .
seems like i see the linux box send a heartbeat and get a query from the master server
appreciate you taking the time to help!
#8
We recently had this problem with Lore, where our Linux servers just didn't show up no matter what we did. Although the gnometech monitor worked with them. We traced it down to the minCPU filter (default of 100mhz) which you would never have guessed to be the problem, but apparently the Linux code does not detect CPU speeds accurately. Ron Yackettas 1.8ghz box is detected at a lowly 200mhz, and the linux server which started our investigation is running at a smooth 0mhz apparently.
Unfortunately the detection code is apparently in the asm code, and not in any of our areas of expertise or knowledge so we cant fix the problem.
01/24/2005 (3:35 pm)
(I know this is an 'old' thread)We recently had this problem with Lore, where our Linux servers just didn't show up no matter what we did. Although the gnometech monitor worked with them. We traced it down to the minCPU filter (default of 100mhz) which you would never have guessed to be the problem, but apparently the Linux code does not detect CPU speeds accurately. Ron Yackettas 1.8ghz box is detected at a lowly 200mhz, and the linux server which started our investigation is running at a smooth 0mhz apparently.
Unfortunately the detection code is apparently in the asm code, and not in any of our areas of expertise or knowledge so we cant fix the problem.
#9
01/25/2005 (3:05 pm)
If anyone has a fix for the CPU speed bug on linux, I will gladly check it in. Please send it to me.
#10
This is what the console of the game is saying.
no servers show up under the list also note this server DOES however show up under lan. I have tried this with an out of lan server as well to check it and i get the same thing. Call me crazy but dosnt it say one servers and then say no servers found?
Any suggestions on this?
01/25/2005 (6:05 pm)
I have a linux box set up for the Master Server, this is what it gets when the client sends a requestServer list request from 69.179.199.206 Qflags: 0 Key: 393238 Gametype_size: 15 Gametype: 'FPS Starter Kit' Missiontype_size: 3 Missiontype: Any Min play: 0 Max play: 100 Region mask: 2 Version: 0 Filter flag: 0 Max bots: 0 Min CPU: 100 Buddy Count: 0 Sending serverlist part 0 of 1 Heartbeat recieved from 69.179.199.206
This is what the console of the game is saying.
Received server list packet 1 of 1 from the master server (1 servers). Pinging Server IP:69.179.199.206:28000 (3)... Pinging Server IP:69.179.199.206:28000 (2)... Pinging Server IP:69.179.199.206:28000 (1)... Pinging Server IP:69.179.199.206:28000 (0)... Ping to server IP:69.179.199.206:28000 timed out. ServerQuery: query Querying servers: 0 left... 0.5 ServerQuery: done No servers found. 1
no servers show up under the list also note this server DOES however show up under lan. I have tried this with an out of lan server as well to check it and i get the same thing. Call me crazy but dosnt it say one servers and then say no servers found?
Any suggestions on this?
#11
01/26/2005 (1:38 pm)
Just for the note I fixed this problem had to set config the router and make sure my game types were the same thanks alot for any who uhh even read my post
#12
01/26/2005 (1:50 pm)
I think i've been having tthis problem too (although not with lore). I was running a copy of my own game on my linux box as dedicated, and the only way i oculd reach it was via the internal ip addres using the connect arguement in the command line...
#13
01/26/2005 (4:11 pm)
Just for the note could someone explain to me, are you guys coding the deticated servers, or is there a method to start a server in deticated with the default scripts?
#14
"C:\Torque\SDK\example\torqueDemo.exe" -dedicated -mission demo/data/missions/fps.mis
On the Linux version, you run game server dedicated with a:
> ./demo.sh -dedicated -mission ./demo/data/missions/fps.mis
(Don't forget to "chmod 777 demo.*")
Of course you have to check the server/default.cs for:
$pref::Master[0] = "2:master.garagegames.com:28002";
$Pref::Server::Name = "Torque Demo Server";
next check server/prefs.cs, under Windows,
( ~/.garagegames/torqueDemo/demo/server/prefs.cs under Linux) for:
$Pref::Server::Name = "Torque Demo Server";
you also want to check server/scripts/game.cs for:
$Server::GameType = "TGE Demo";
and client/prefs.cs, under Windows,
(~/.garagegames/torqueDemo/demo/client/prefs.cs under Linux) for:
$pref::Master0 = "2:master.garagegames.com:28002";
$Pref::Server::Name = "Torque Demo Server";
and finally client/init.cs
$Client::GameType = "";
$Client::GameTypeQuery = "";
$Client::MissionTypeQuery = "Any";
There's a line in client/defaults.cs that you should leave commented:
// $pref::Master[0] = "2:master.garagegames.com:28002";
Earlier there was an accusation I bought into that dedicated Linux game servers were not properly sending heartbeat to master list servers. That's not true, they work fine, it just takes a great deal to make sure all the parameters in the different files are setup correctly.
02/04/2005 (3:44 pm)
Isaac, for the Windows boxes you just make a shortcut that feeds the .exe "-dedicated". So for example, my shortcut target reads:"C:\Torque\SDK\example\torqueDemo.exe" -dedicated -mission demo/data/missions/fps.mis
On the Linux version, you run game server dedicated with a:
> ./demo.sh -dedicated -mission ./demo/data/missions/fps.mis
(Don't forget to "chmod 777 demo.*")
Of course you have to check the server/default.cs for:
$pref::Master[0] = "2:master.garagegames.com:28002";
$Pref::Server::Name = "Torque Demo Server";
next check server/prefs.cs, under Windows,
( ~/.garagegames/torqueDemo/demo/server/prefs.cs under Linux) for:
$Pref::Server::Name = "Torque Demo Server";
you also want to check server/scripts/game.cs for:
$Server::GameType = "TGE Demo";
and client/prefs.cs, under Windows,
(~/.garagegames/torqueDemo/demo/client/prefs.cs under Linux) for:
$pref::Master0 = "2:master.garagegames.com:28002";
$Pref::Server::Name = "Torque Demo Server";
and finally client/init.cs
$Client::GameType = "";
$Client::GameTypeQuery = "";
$Client::MissionTypeQuery = "Any";
There's a line in client/defaults.cs that you should leave commented:
// $pref::Master[0] = "2:master.garagegames.com:28002";
Earlier there was an accusation I bought into that dedicated Linux game servers were not properly sending heartbeat to master list servers. That's not true, they work fine, it just takes a great deal to make sure all the parameters in the different files are setup correctly.
Associate Kyle Carter