Game Development Community

Adv bk Ch2, Debugger Ex., Ded. Server ?

by Rick Pingry · in Torque Game Engine · 03/08/2006 (6:35 pm) · 2 replies

I was working through the book example to use the debugger with the dedicated server. I went ahead and copied the A3D folder over to A3D_Server, so I could run the client from one folder and the server from another. (I had the problem with just the A3D folder as well).

Anyway, I started the dedicated server, set the debug parameters, started the client, opened the debugger, connected to the server, placed the break point, and then popped the debugger off the dialog stack. All went well so far.

Then I moved over to start a FPS client, and did a querry for the local client. Nothing showed up in the list.

I went back to the console window for the server, and noticed:
- Bad Master Server Address: 2:master.garagegames.com:28002

Actually, I got it running once and saw this extra stuff:
- Sending heartbeat to master server [IP:xxx.xxx.xxx.xxx:xxxx]
- got connect challenge request from IP:xxx.xxx.xxx.xxx:xxxx
- ccad from xxx.xxx.xxx.xxx:xxxx

And then I lost the server for a timeout after I hit the break-point.

I am working from a motel room, so the internet connection is dicey. Perhaps that is when I get the Bad Master Server Address stuff.

Anyway, When I am running a dedicated server from my own machine (localhost), why would I need an internet connection at all? Why is it trying to make all of these onnections to stuff out in the world?

I did hit the break-point when I got lucky on a connection once, then I got a message saying that my server had timed out, then I could not get a server listed anymore.

Any help is appreciated.
-- Rick

About the author

Recent Threads


#1
03/08/2006 (9:21 pm)
I did a search through all of the scripts for "master.garagegames" and found several places where there were lines like:
$pref::Master[0] = "2:master.garagegames.com:28002";

I opened each of those files and commented out those lines (only in my server code), along with deleting the .dso files so they would be sure to compile the changes.

When running the server again, I would see "No Master Servers Found" showing up every few seconds, but I was atleast able to work through the tutorial.

Hope this helps whomever is trying to work through these. I am not sure why the book did not mention this pitfall. Was this working for everyone else? Perhaps, like I said before, it was due to a flaky internet connection, but not sure why it should need an internet connection if I am running the client AND the server myself.

-- Rick
#2
03/14/2006 (9:50 am)
From reading some other posts, I can see that perhaps the reason for setting up a Master Server is so that your dedicated server can be listed with the master server. It looks like commenting the lines mentioned above out works well.

I still have not made it through all of the demo though. I am getting a server timeout and occasionally a server crash when I am in the debugger GUI. Anyone else see this kind of thing? Anyone know how to disable to timeout, or set the timeout to really hight so I can play with the debugger?

Thanks Again,
-- Rick

PS: Sorry to hear about you Laptop Ken