Game Development Community

MActionAnimation.thread corrupted upon startup

by Jonathan Lessard · in Torque Game Engine · 08/07/2003 (6:28 am) · 4 replies

Hello,

When I connect to a server my player's mActionAnimation.thread is corrupted and crashes the game on TSThread::getPos() called in updateActionThread(), while it's not corrupted when starting a single player game. I really don't understand.

I don't know much about the engine code so any clue would be very helpful.

Thank you,

Jonathan

#1
08/07/2003 (6:38 am)
I have additionnal info. When connecting to a server, mShape->sequences.empty() returns true. I gues this means it doesn't find any sequences for the player while when starting a game locally it does find sequences!

Jonathan
#2
08/07/2003 (6:45 am)
Make sure you are connecting to a server that is the same version as youres
Make sure that your player model file (the .dts file) and the animation files (the .dsq files) are not corrupted by downloading them again via CVS.
Make sure that your player.cs file is in the correct directory, and has no syntactical errors.
If you are using a custom model, make sure you have a 'root' animation (it can be just of the model standing still, but it needs to have a root)
#3
08/07/2003 (7:02 am)
I can be sure everything's the same since I'm connecting to my own dedicated server with the same exact ressources. I'm using custom models but they all have root animations.

Jonathan
#4
08/08/2003 (9:26 am)
I have solved my problem although I don't really understand why.

I have multiple character models in my game and they all share a few sequences which have the exact same name in different directories. I have all renamed the sequences to unique names and it now works...

oh well...

Jonathan