Introductory Tutorial Freezes up
by Jason T · in Torque Game Engine · 02/01/2006 (8:20 pm) · 3 replies
Just bought and downloaded the SDK. STarted off with the 'Introductory Tutorial 1.4" PDF file
All was going great until the GUI section.
Had me make a button for LoadMyMission(); Then when I exit and return to the game it freezes on the load screen when I hit that button to return to my mission.
GameOne/data/dissions/GameOneMissions.mis is correctly labled. I did find that in GameOne/main.cs that
is wrong. According to the tutorial the file name should be "GameOneMission.mis" I corrected this but still froze up. I then tried renaming the mission file but to no avail.
Anyone have a fix for this? Hate to be stopped 1 hour into this pretty cool project by what should be a simple bug.
Thanks all
All was going great until the GUI section.
Had me make a button for LoadMyMission(); Then when I exit and return to the game it freezes on the load screen when I hit that button to return to my mission.
GameOne/data/dissions/GameOneMissions.mis is correctly labled. I did find that in GameOne/main.cs that
// Create the server and load the mission
createServer("SinglePlayer", expandFilename("./data/missions/gameonemission.mis"));is wrong. According to the tutorial the file name should be "GameOneMission.mis" I corrected this but still froze up. I then tried renaming the mission file but to no avail.
Anyone have a fix for this? Hate to be stopped 1 hour into this pretty cool project by what should be a simple bug.
Thanks all
About the author
#2
Its back!
When I loaded it and got it working the first time I had no objects in the mission just terrain and terrian details. When I returned to place the details (not changing the file name from when it worked before) and then exited the mission. exited the GUI reslected Demo.exe and 'Start' and the game freezes on loading the mission.
ACK!!!
02/01/2006 (9:10 pm)
ACK!!!Its back!
When I loaded it and got it working the first time I had no objects in the mission just terrain and terrian details. When I returned to place the details (not changing the file name from when it worked before) and then exited the mission. exited the GUI reslected Demo.exe and 'Start' and the game freezes on loading the mission.
ACK!!!
#3
ok I count let it lay. I went back and did each step then reloaded until I had everything done. The only thing I did different was name my objects logo1 instead of logo 1 (with a space). No crashes!
Then to be sure that was my error I went back and named everyone'logo 1' logo 2' ect and sure enough a crash.
has be toa work around fo rthis. Name one thing wrong and you loose your mission. ouch.
oh well at least I bug hunted it down. Now I can sleep easy :)
02/01/2006 (9:34 pm)
Woohoo!!!ok I count let it lay. I went back and did each step then reloaded until I had everything done. The only thing I did different was name my objects logo1 instead of logo 1 (with a space). No crashes!
Then to be sure that was my error I went back and named everyone'logo 1' logo 2' ect and sure enough a crash.
has be toa work around fo rthis. Name one thing wrong and you loose your mission. ouch.
oh well at least I bug hunted it down. Now I can sleep easy :)
Torque Owner Jason T
oh well, back on the road!