strange player problem
by deepscratch · in Torque Game Engine Advanced · 03/07/2009 (1:37 pm) · 3 replies
hi there, I recently implemented a fix for not rendering the player body in first person view
www.garagegames.com/community/forums/viewthread/78810,
I'm using different weapon models for first and third person, with the first person weapons having hands attached,
works fine in hiding the body, but when I try to mount a vehicle, torque crashes.
If I first toggle to 3rd person, then toggle back to first person, the mounting works.
anyone got an idea how to correct this?
www.garagegames.com/community/forums/viewthread/78810,
I'm using different weapon models for first and third person, with the first person weapons having hands attached,
works fine in hiding the body, but when I try to mount a vehicle, torque crashes.
If I first toggle to 3rd person, then toggle back to first person, the mounting works.
anyone got an idea how to correct this?
About the author
email me at medan121@gmail.com
Recent Threads
#2
03/07/2009 (10:11 pm)
it gives a 00005c which means it cant find something, and points to "obj not found", i gotta go to work now, but i'll do a debug run when i get home, thanks Jaimi
#3
it throws a fatal in debug here:
Fatal: (c:tgeatgea_1_7_1enginesourcegfxgfxdevice.cpp @ 581) Trying to call drawPrimitive with no current primitive buffer, call setPrimitiveBuffer()
c0000005 X 0000002c (means buffer not enough?)
and before that, here:
AssertFatal(mStackDepth >= 0, "Stack underflow in profiler. You may have mismatched PROFILE_START and PROFILE_ENDs");
and before that, here:
AssertFatal( false, "Error, could not find ClientMissionCleanup group" );
and before that, here:
AssertFatal( len < bufferSize, "dSprintf wrote to more memory than the specified buffer size" );
which leads me to believe I need to increase a buffer size? if so which? and if not, could it be a memory leak? the mismatched PROFILE_START and PROFILE_ENDs I have no idea where to start looking for those...
it also crashes if I get close to an AI player, same crash calls. but as I stated before, if I tab to 3rd person, then tab back to first person its all hunky dory
oh, forgot, maybe related? I need to press tab twice to get it to work the first time. wierd that is, like the first time it doesn't realize I've pressed it
ideas???
03/08/2009 (5:36 am)
ok,it throws a fatal in debug here:
Fatal: (c:tgeatgea_1_7_1enginesourcegfxgfxdevice.cpp @ 581) Trying to call drawPrimitive with no current primitive buffer, call setPrimitiveBuffer()
c0000005 X 0000002c (means buffer not enough?)
and before that, here:
AssertFatal(mStackDepth >= 0, "Stack underflow in profiler. You may have mismatched PROFILE_START and PROFILE_ENDs");
and before that, here:
AssertFatal( false, "Error, could not find ClientMissionCleanup group" );
and before that, here:
AssertFatal( len < bufferSize, "dSprintf wrote to more memory than the specified buffer size" );
which leads me to believe I need to increase a buffer size? if so which? and if not, could it be a memory leak? the mismatched PROFILE_START and PROFILE_ENDs I have no idea where to start looking for those...
it also crashes if I get close to an AI player, same crash calls. but as I stated before, if I tab to 3rd person, then tab back to first person its all hunky dory
oh, forgot, maybe related? I need to press tab twice to get it to work the first time. wierd that is, like the first time it doesn't realize I've pressed it
ideas???
Associate Jaimi McEntire
King of Flapjacks