Game Development Community

Crash after re-connecting to a server

by Dennis Lamers · in Torque Game Engine · 05/25/2015 (2:40 pm) · 1 replies

Hey all,

When ever I join a game or host one, everything is fine. When I decide to disconnect, get a drink downstairs and re-connect, the game crashes without reason. I have been checking earlier versions of the game and it came to my attention that the first version of the game doesn't have this.

The disconnect(); function is not edited, but somehow it crashes somewhere.
*** LOADING MISSION: starter.fps/data/missions/land.mis
*** Stage 1 load
*** Stage 2 load
Executing starter.fps/data/missions/land.mis.
*** Mission loaded
Connect request from: IPX:00570100:00030000005A:1
Connection established 1913
CADD: 1914 local
*** Sending mission load to client: starter.fps/data/missions/land.mis
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
Mapping string: MsgLoadInfo to index: 2
starter.fps/client/scripts/missionDownload.cs (127): Unable to find object: 'LOAD_MapName' attempting to call function 'setText'
Mapping string: MsgLoadDescripition to index: 3
starter.fps/client/scripts/missionDownload.cs (145): Unable to find object: 'LOAD_MapDescription' attempting to call function 'setText'
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to the server %1. to index: 6
Mapping string: Peekhead to index: 7
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: starter.fps/data/missions/land.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0

#1
05/25/2015 (3:05 pm)
Crash is fixed. For anyone who has this too, I echo'd the LOAD_MapName and LOAD_MapDescription lines in missionDownload.cs.