Game Development Community

Help URGENT. TGB 113 Crashing

by Isaac Barbosa · in Torque Game Builder · 07/27/2007 (5:11 pm) · 3 replies

Deleted because I have solved this.... I don't now how but I don't want to bother anybody with this.

Thanks

#1
07/27/2007 (11:52 pm)
What if someone else runs into the same problem, out of stupidity or not? It still slows one down. ;-)
#2
07/28/2007 (8:09 am)
@Oliver, you're right.

I have deleted the post because it was very desesperately and at the end I just feel stupid. And I was ashamed for asking for help for something not so clear.

I was unable to find the cause of the problem after spent one hour trying to remember my last change in the scripts. Nothing wrong with them. The problem was this:

-I have several animations in my game, all of them based in linked images. Since I was having a feeling of that them were consuming lots of RAM, and since I don't know the purpose or how to use, I do this-

I have unchecked the preload option and then I've checked the Allow Unload option for all the images of an animation, I do the same with the correspondant linked image. Then I click play and the game crashed. It was an irrecoverable error. I've tried to modify the databloc.cs script but there was nothing to do. Something went very wrong with this action. The option was to copy the last backup databloc.cs and the game works again. But for sure I lost several hours of boring work -import images and make animations again-.

The good point -I believe- is that since I lost all the animations image maps I will start again with cell image maps instead of linked.

Three lessons to have in mind:

1. Do not experiment with TGB options if you don't have a recent back-up and if you don't know what are you doing.

2. Back up frequently.

3. Back up frequently.
#3
07/29/2007 (2:08 am)
Thanks! Good to know that this doesn't work as one expects, because I was going to do about the same soon. That's why I was asking about advanced resource management in the other thread, hehe. :-)