TGE crashes when Joining a Server
by Bruno Campolo · in Torque Game Engine · 09/08/2006 (8:55 am) · 8 replies
Hi, when using the stock Starter.fps, I tried to Query Master Server and occassionally it will pull up one or two running servers. I click join and during the early part of loading it crashes TGE with a windows error. I've searched the forums and haven't turned up an exact answer. Is there a known issue/fix for this?
Thanks,
Bruno
Thanks,
Bruno
About the author
Creator of Bantam City Games, a one-man independent game development studio. To learn more, check out 'A Game Developer's Saga', a game development blog at: http://www.bantamcity.com/blog
#2
The most likely case is that you are joining someone else's server who is running a different copy of Torque than you.
People seem to be lazy when it comes to changing the network identity of their Torque application. Everyone just seems to be using the shipped settings.
Anyhow, an invalid packet or something like that is most likely causing the crash, and as I mentioned above this isn't really a bug.
09/08/2006 (9:07 am)
I doubt this is an error or a bug in the engine. The most likely case is that you are joining someone else's server who is running a different copy of Torque than you.
People seem to be lazy when it comes to changing the network identity of their Torque application. Everyone just seems to be using the shipped settings.
Anyhow, an invalid packet or something like that is most likely causing the crash, and as I mentioned above this isn't really a bug.
#3
09/08/2006 (10:52 am)
So shouldnt' the engine handle an invalid packet more gracefully than just crashing? or is it a problem in the stock script that is not handling it? I'm at work now, but I'll check the console log when I get home and let you guys know.
#4
In short, it's not GG's fault everyone hosts their games using the complimentary test server without changing their game's network identity.
09/08/2006 (11:01 am)
Quote:Yes, but you might find the problem stems deeper than that.
So shouldnt' the engine handle an invalid packet more gracefully than just crashing?
In short, it's not GG's fault everyone hosts their games using the complimentary test server without changing their game's network identity.
Quote:Yes, a console report would help.
I'm at work now, but I'll check the console log when I get home and let you guys know.
#5
No master servers found in this region, trying IP:69.64.50.217:28002.
Requesting the server list from master server IP:69.64.50.217:28002 (2 tries left)...
Received server list packet 1 of 1 from the master server (2 servers).
Pinging Server IP:213.224.218.79:28000 (3)...
Pinging Server IP:62.193.246.108:28000 (3)...
ServerQuery: ping Pinging servers: 1 left... 0.25
ServerQuery: query Querying servers: 2 left... 0.5
Querying Server IP:213.224.218.79:28000 (3)...
Querying Server IP:62.193.246.108:28000 (3)...
ServerQuery: query Querying servers: 1 left... 0.75
ServerQuery: query Querying servers: 0 left... 1
Server IP:62.193.246.108:28000 filtered out by player count.
ServerQuery: done One server found. 1
Server query canceled.
Adding a pending connection
Sending Connect challenge Request
Got Connect challenge Response
Sending Connect Request
Connection established 1390
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
Mapping string: MsgLoadDescripition to index: 3
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Poser to index: 6
Mapping string: Welcome to the Torque demo app %1. to index: 7
Mapping string: Poser.1 to index: 8
Mapping string: MissionStartPhase1 to index: 9
*** New Mission: starter.fps/data/missions/stronghold.mis
*** Phase 1: Download Datablocks & Targets
Sending request for file starter.fps/data/sound/takeme.wav
09/09/2006 (5:59 am)
ServerQuery: start Querying master server 0No master servers found in this region, trying IP:69.64.50.217:28002.
Requesting the server list from master server IP:69.64.50.217:28002 (2 tries left)...
Received server list packet 1 of 1 from the master server (2 servers).
Pinging Server IP:213.224.218.79:28000 (3)...
Pinging Server IP:62.193.246.108:28000 (3)...
ServerQuery: ping Pinging servers: 1 left... 0.25
ServerQuery: query Querying servers: 2 left... 0.5
Querying Server IP:213.224.218.79:28000 (3)...
Querying Server IP:62.193.246.108:28000 (3)...
ServerQuery: query Querying servers: 1 left... 0.75
ServerQuery: query Querying servers: 0 left... 1
Server IP:62.193.246.108:28000 filtered out by player count.
ServerQuery: done One server found. 1
Server query canceled.
Adding a pending connection
Sending Connect challenge Request
Got Connect challenge Response
Sending Connect Request
Connection established 1390
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
Mapping string: MsgLoadDescripition to index: 3
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Poser to index: 6
Mapping string: Welcome to the Torque demo app %1. to index: 7
Mapping string: Poser.1 to index: 8
Mapping string: MissionStartPhase1 to index: 9
*** New Mission: starter.fps/data/missions/stronghold.mis
*** Phase 1: Download Datablocks & Targets
Sending request for file starter.fps/data/sound/takeme.wav
#6
That's most likely the cause of the crash. I know it casued my copy of Torque to crash from time to time. The solution is to open server/scripts/audioProfiles.cs and comment out that datablock. Either that or place a wave file in data/sound named takeme.wav.
Keep me updated in your progress.
09/09/2006 (6:13 am)
Quote:
Sending request for file starter.fps/data/sound/takeme.wav
That's most likely the cause of the crash. I know it casued my copy of Torque to crash from time to time. The solution is to open server/scripts/audioProfiles.cs and comment out that datablock. Either that or place a wave file in data/sound named takeme.wav.
Keep me updated in your progress.
#7
Thanks!
Bruno
09/11/2006 (5:49 am)
I think this did the trick, however the game I joined was downloading all kinds of Mission data and dts files so I canceled it after a few minutes and will try again later.Thanks!
Bruno
#8
09/11/2006 (6:21 am)
Quote:As I mentioned, it's doing this because you're joining someone else's unique game. It's likely that even if you hung around and waited for everything to download it still won't work. Ideally, you should be networking with someone that is running an identical copy as you. I can't stress this enough. Perhaps you can pass a copy on to a friend (no source code) or organize for someone here to go online at the same time as you with a virgin install of 1.4.
however the game I joined was downloading all kinds of Mission data and dts files so I canceled it after a few minutes
Torque Owner CdnGater
Duggan Software Studio
What is the windows error you get? What does the console log say? It's hard to give an answer to such a general request.