Game Development Community

Ilegal operation?

by Rajavidya Das Hargreaves · in Torque Game Engine · 07/01/2002 (11:48 am) · 2 replies

Hey guys i go a problem-O

I fallowed the tutorial making a simple character, and i exported just like he said, but when i run the torque demo i get an Ilegal Operation.

any ideas?

Thanks

-Raja

#1
07/01/2002 (12:45 pm)
Did you add textures to it? If so make sure the resolution is divisible by 2 i.e. 512 x 512 or 256 X 256. That can cause an error but I don't believe it is an illegal operation. Animations could be a problem too but I'm not sure because I have not made a model that needs animations yet.
#2
07/01/2002 (3:45 pm)
Illegal operations are your friend when you have all the code and VC++. :)

Simply run it in debug mode, or click on debug when the illegal error occurs, and you can go right to the assembly code and the corresponding C++ code that generated the error. From there, it should be a simple matter of looking at what is failing in the code and realising what is going wrong. You can even move back through the function calls if you cant figure it out immeadiatly.

Just click the debug box when you get the illegal operation, and you should be able to figure out what is going wrong.