Noobee needs help...
by Dalle, Rene · in Technical Issues · 07/25/2007 (10:59 am) · 2 replies
I am new at scripting with Torque v1.4 that I got with Ken Finley's book. I am able to get he programm start, but when I get to the player interface display, TGE crashes on an addresing exception ar address 55e20d. The screen displays the terrain OK with all the HUD elements but crashes immediatly.
Any idea of what I would be missing? I have basically the Book chapter 6 modules with all the models, except for the car, the hovels and towers (removed from the mission file!)
Cheers...
RD
Any idea of what I would be missing? I have basically the Book chapter 6 modules with all the models, except for the car, the hovels and towers (removed from the mission file!)
Cheers...
RD
#2
---- Stage 2 Load
Loading compiled script Control/Data/Maps/game.mis.cs.
Object 'LoonSound' is not a member of the 'AudioProfile' data block class
Object 'MultiLoonSound' is not a member of the 'AudioProfile' data block class
Object 'CampfireEmitterNode' is not a member of the 'GameBaseData' data block class
Object 'CampfireEmitter' is not a member of the 'ParticleEmitterData' data block class
Control/Data/Maps/game.mis.cs (0): Register object failed for object (null) of class ParticleEmitterNode.
Object 'CampfireSmokeEmitterNode' is not a member of the 'GameBaseData' data block class
Object 'CampfireSmokeEmitter' is not a member of the 'ParticleEmitterData' data block class
Control/Data/Maps/game.mis.cs (0): Register object failed for object s of class ParticleEmitterNode.
Object 'WFall1EmitterNode' is not a member of the 'GameBaseData' data block class
Object 'WFallAEmitter' is not a member of the 'ParticleEmitterData' data block class
Control/Data/Maps/game.mis.cs (0): Register object failed for object w1 of class ParticleEmitterNode.
Object 'WFall2EmitterNode' is not a member of the 'GameBaseData' data block class
Object 'WFallBParticleEmitter' is not a member of the 'ParticleEmitterData' data block class
Control/Data/Maps/game.mis.cs (0): Register object failed for object (null) of class ParticleEmitterNode.
---- Mission Loaded ----
and here are the last lines of the log, when the game starts:
Leaving ServerCmdMissionStartPhase3Ack() - return 1407
Mapping string: MissionStart to index: 11
Could not register dust emitter for class: MaleAvatar
Could not register dust emitter for class: MaleAvatar
Could not register dust emitter for class: MaleAvatar
Entering GameConnection::InitialControlSet(1395)
---- Setting Initial Control Object ----
Entering [CanvasCursor]GuiCanvas::setContent(Canvas, PlayerInterface)
Entering LoadScreen::onSleep(1294)
Leaving LoadScreen::onSleep() - return
Entering Compass::onWake(1204)
Entering Compass::updateCompass(1204)
Leaving Compass::updateCompass() - return 3
Leaving Compass::onWake() - return 3
Entering PlayerInterface::onWake(1196)
Activating DirectInput...
keyboard0 input device acquired.
Leaving PlayerInterface::onWake() - return
Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
Entering cursorOff()
Leaving cursorOff() - return
Leaving [CanvasCursor]GuiCanvas::checkCursor() - return
Leaving [CanvasCursor]GuiCanvas::setContent() - return
Leaving GameConnection::InitialControlSet() - return
Entering DoYaw(514)
Leaving DoYaw() - return 5.14
Entering DoPitch(-137)
Here is the screen display: [image]rene.dalle.ca/projects/TGE/First Screen.png[/image]
09/08/2007 (1:37 pm)
Screen size is 800x600x32 and NO errors appears in the console except the mention of missing objects during the mission load:---- Stage 2 Load
Loading compiled script Control/Data/Maps/game.mis.cs.
Object 'LoonSound' is not a member of the 'AudioProfile' data block class
Object 'MultiLoonSound' is not a member of the 'AudioProfile' data block class
Object 'CampfireEmitterNode' is not a member of the 'GameBaseData' data block class
Object 'CampfireEmitter' is not a member of the 'ParticleEmitterData' data block class
Control/Data/Maps/game.mis.cs (0): Register object failed for object (null) of class ParticleEmitterNode.
Object 'CampfireSmokeEmitterNode' is not a member of the 'GameBaseData' data block class
Object 'CampfireSmokeEmitter' is not a member of the 'ParticleEmitterData' data block class
Control/Data/Maps/game.mis.cs (0): Register object failed for object s of class ParticleEmitterNode.
Object 'WFall1EmitterNode' is not a member of the 'GameBaseData' data block class
Object 'WFallAEmitter' is not a member of the 'ParticleEmitterData' data block class
Control/Data/Maps/game.mis.cs (0): Register object failed for object w1 of class ParticleEmitterNode.
Object 'WFall2EmitterNode' is not a member of the 'GameBaseData' data block class
Object 'WFallBParticleEmitter' is not a member of the 'ParticleEmitterData' data block class
Control/Data/Maps/game.mis.cs (0): Register object failed for object (null) of class ParticleEmitterNode.
---- Mission Loaded ----
and here are the last lines of the log, when the game starts:
Leaving ServerCmdMissionStartPhase3Ack() - return 1407
Mapping string: MissionStart to index: 11
Could not register dust emitter for class: MaleAvatar
Could not register dust emitter for class: MaleAvatar
Could not register dust emitter for class: MaleAvatar
Entering GameConnection::InitialControlSet(1395)
---- Setting Initial Control Object ----
Entering [CanvasCursor]GuiCanvas::setContent(Canvas, PlayerInterface)
Entering LoadScreen::onSleep(1294)
Leaving LoadScreen::onSleep() - return
Entering Compass::onWake(1204)
Entering Compass::updateCompass(1204)
Leaving Compass::updateCompass() - return 3
Leaving Compass::onWake() - return 3
Entering PlayerInterface::onWake(1196)
Activating DirectInput...
keyboard0 input device acquired.
Leaving PlayerInterface::onWake() - return
Entering [CanvasCursor]GuiCanvas::checkCursor(Canvas)
Entering cursorOff()
Leaving cursorOff() - return
Leaving [CanvasCursor]GuiCanvas::checkCursor() - return
Leaving [CanvasCursor]GuiCanvas::setContent() - return
Leaving GameConnection::InitialControlSet() - return
Entering DoYaw(514)
Leaving DoYaw() - return 5.14
Entering DoPitch(-137)
Here is the screen display: [image]rene.dalle.ca/projects/TGE/First Screen.png[/image]
Dustin Mullen