Problem with mission lighting
by Roshan Kuriyan · in Torque Game Engine Advanced · 05/18/2006 (12:43 am) · 6 replies
I am trying to load a mission file using TSE.
The program crashes at the end when it comes to GameConnection::initialControlSet function.
In the mission lighting process the .ml file is beeing created.
the last part of my console log is pasted here.
could anyone help me
THANKS in advance..
Roshan
*** Phase 3: Mission Lighting
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
130.1063 -430.3746 137.681
dir/control/player.cs (89): Unknown command startFade.
Object PlayerShape(6) PlayerShape -> MYPlayer -> PlayerData -> ShapeBaseData -> GameBaseData -> SimDataBlock -> SimObject
Mapping string: MissionStart to index: 3
clientCmdMissionStart: Unknown command.
Could not register dust emitter for class: PlayerShape
Could not register dust emitter for class: PlayerShape
Could not register dust emitter for class: PlayerShape
The program crashes at the end when it comes to GameConnection::initialControlSet function.
In the mission lighting process the .ml file is beeing created.
the last part of my console log is pasted here.
could anyone help me
THANKS in advance..
Roshan
*** Phase 3: Mission Lighting
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
130.1063 -430.3746 137.681
dir/control/player.cs (89): Unknown command startFade.
Object PlayerShape(6) PlayerShape -> MYPlayer -> PlayerData -> ShapeBaseData -> GameBaseData -> SimDataBlock -> SimObject
Mapping string: MissionStart to index: 3
clientCmdMissionStart: Unknown command.
Could not register dust emitter for class: PlayerShape
Could not register dust emitter for class: PlayerShape
Could not register dust emitter for class: PlayerShape
#2
like this.
2nd load
*** Sending mission load to client: dir/mission/mission.mis
Mapping string: MissionStartPhase1 to index: 0
*** New Mission: dir/mission/mission.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0
end of
Mapping string: MissionStartPhase2 to index: 1
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissionStartPhase3 to index: 2
dir/common/missiondownload.cs (203): Unable to find function onPhase2Complete
dir/common/missiondownload.cs (204): Unable to find function StartClientReplication
dir/common/missiondownload.cs (205): Unable to find function StartFoliageReplication
*** Phase 3: Mission Lighting
mission file is created but it shows 0 KB. after which tse stops executing .
help in fix.
thanks in advance
05/18/2006 (8:10 pm)
Thank u dave , i got a particle solution , it was just script edit mistake.Still i am geting at my console like this.
2nd load
*** Sending mission load to client: dir/mission/mission.mis
Mapping string: MissionStartPhase1 to index: 0
*** New Mission: dir/mission/mission.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 0
end of
Mapping string: MissionStartPhase2 to index: 1
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissionStartPhase3 to index: 2
dir/common/missiondownload.cs (203): Unable to find function onPhase2Complete
dir/common/missiondownload.cs (204): Unable to find function StartClientReplication
dir/common/missiondownload.cs (205): Unable to find function StartFoliageReplication
*** Phase 3: Mission Lighting
mission file is created but it shows 0 KB. after which tse stops executing .
help in fix.
thanks in advance
#3
05/18/2006 (8:24 pm)
This happens to me alot, the problem for me was certain DIFs being loaded. Try taking out all Difs from the missoin file and add one dif in world editor then relight scene, keep doing this to all the Difs one at a time until it crashes on the one that is the problem. TSE is either bugged or just much more sensitive when it comes to Difs. Hope this helps.
#4
but my mission contains only a terrain ,sky and a sun no Dif's.
Actually the program stops when it comes to the UpdateLightingprogress in the Lighting Mission part.
the last part of my console log is
*** Phase 3: Mission Lighting
!!!dir/data/mission/mission.mis
Lighting mission....
Leaving clientCmdMissionStartPhase3() - return
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 3
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 5
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 6
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 7
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 8
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 9
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 10
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 11
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 12
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 13
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 14
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 15
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 16
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 17
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 18
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 19
Entering updateLightingProgress()
and this where it stops.
Thanks in advance
05/18/2006 (11:29 pm)
Thats right Andrew,but my mission contains only a terrain ,sky and a sun no Dif's.
Actually the program stops when it comes to the UpdateLightingprogress in the Lighting Mission part.
the last part of my console log is
*** Phase 3: Mission Lighting
!!!dir/data/mission/mission.mis
Lighting mission....
Leaving clientCmdMissionStartPhase3() - return
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 3
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 5
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 6
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 7
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 8
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 9
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 10
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 11
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 12
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 13
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 14
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 15
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 16
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 17
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 18
Entering updateLightingProgress()
Leaving updateLightingProgress() - return 19
Entering updateLightingProgress()
and this where it stops.
Thanks in advance
#5
dir/common/missiondownload.cs (203): Unable to find function onPhase2Complete
dir/common/missiondownload.cs (204): Unable to find function StartClientReplication
dir/common/missiondownload.cs (205): Unable to find function StartFoliageReplication
05/19/2006 (12:15 am)
You still have some script errors, you've probably messed up some more scripts...dir/common/missiondownload.cs (203): Unable to find function onPhase2Complete
dir/common/missiondownload.cs (204): Unable to find function StartClientReplication
dir/common/missiondownload.cs (205): Unable to find function StartFoliageReplication
#6
StartClientReplication
StartFoliageReplication
Actually these functions r just like stubs.Its possible for the the program to work without these functions.
So i think there wont be any problem because of this.
05/21/2006 (6:23 pm)
OnPhase2CompleteStartClientReplication
StartFoliageReplication
Actually these functions r just like stubs.Its possible for the the program to work without these functions.
So i think there wont be any problem because of this.
Torque Owner Dave