Bad texture handle in rebuildVertexColors
by Michael Bolland · in Torque Game Engine · 08/22/2004 (4:08 pm) · 1 replies
Hi everyone,
I'm not sure if anyone else has used the mysql mod posted by beffy but I'm having some issues when loading interiors. Here's a quick breakdown of what i'm trying to achieve and my problem:
I wanted to switch all my .mis files into various tables to be used by the server rather than local files. Everything works great and my terrain, light sources, sky, waterblocks, static objects etc are loading fine. I can connect and run around no problem.
However when loading interior objects I connect to the server and as soon as an interior is in sight I get the error message from my client: 'Bad texture handle in rebuildVertexColors' and then it quits.
Now I did notice that loadMissionStage2() had this: $missionCRC = getFileCRC( %file ); which obviously I am having some trouble working out how to get around. Is this the problem?
My .mis file that I used as a base is perfectly fine and I've had no errors so far. The function is also outputting a correct mission script which is being eval'd.
Any suggestions or pointers would be greatly appreciated.
Thanks guys
Michael
I'm not sure if anyone else has used the mysql mod posted by beffy but I'm having some issues when loading interiors. Here's a quick breakdown of what i'm trying to achieve and my problem:
I wanted to switch all my .mis files into various tables to be used by the server rather than local files. Everything works great and my terrain, light sources, sky, waterblocks, static objects etc are loading fine. I can connect and run around no problem.
However when loading interior objects I connect to the server and as soon as an interior is in sight I get the error message from my client: 'Bad texture handle in rebuildVertexColors' and then it quits.
Now I did notice that loadMissionStage2() had this: $missionCRC = getFileCRC( %file ); which obviously I am having some trouble working out how to get around. Is this the problem?
My .mis file that I used as a base is perfectly fine and I've had no errors so far. The function is also outputting a correct mission script which is being eval'd.
Any suggestions or pointers would be greatly appreciated.
Thanks guys
Michael
About the author
Torque Owner Michael Bolland
It does need alot of work but I thought i'd post it anyway so you get an example of what i'm doing.
http://www.michaelbolland.com/torque/loadMissionSQLStage2.htm
Thanks
Michael