Crash after disconnecting from a server
by Dennis Lamers · in Torque Game Engine Advanced · 08/25/2012 (2:09 pm) · 9 replies
When I disconnect from a server, the game freezes and Visual Studio 2005 says where it crashed. I made the line in bold tags.
Console.log
void Player::getEyeTransform(MatrixF* mat)
{
// Eye transform in world space. We only use the eye position
// from the animation and supply our own rotation.
MatrixF pmat,xmat,zmat;
xmat.set(EulerF(mHead.x, 0, 0));
zmat.set(EulerF(0, 0, mHead.z));
pmat.mul(zmat,xmat);
F32 *dp = pmat;
F32* sp;
if (mDataBlock->eyeNode != -1)
sp = mShapeInstance->mNodeTransforms[mDataBlock->eyeNode];
else
{
Point3F center;
mObjBox.getCenter(&center);
MatrixF eyeMat(true);
eyeMat.setPosition(center);
sp = eyeMat;
}
const Point3F& scale = getScale();
[b]dp[3] = sp[3] * scale.x; dp[7] = sp[7] * scale.y; dp[11] = sp[11] * scale.z;[/b]
mat->mul(getTransform(),pmat);
}Console.log
==>disconnect(1); *** ENDING MISSION CDROP: 1735 IPX:CFCFCFCF:CFCFCFCFCFCF:53199Any idea how to fix this?
About the author
Creator of Peekarica and Blockland Classic Mod.
#2
Some two years ago a bug came out of no where when ever you start a local server, and you disconnect and re-connect it will also crash the client.
- Waves,
08/27/2012 (10:26 am)
My friend owns a legal license of Torque Game Engine Advanced 1.5.0, I believe he has access to a private forum with resources. I am working together with him, he isn't also really good at C++ like me. But still we're sharing the source code together on Dropbox, and suddenly when we tried to build the .exe file the disconnect window ingame will crash the player client.Some two years ago a bug came out of no where when ever you start a local server, and you disconnect and re-connect it will also crash the client.
- Waves,
#3
08/27/2012 (10:28 am)
He can't share source code with non-licensees.
#4
08/27/2012 (10:29 am)
Did you maybe ever used Dropbox? So far as I know is he copies the vs2005 folder inside the dropbox public folder. Is this illegal or legal?
#5
08/27/2012 (10:31 am)
If you have access to the source code on any level through any medium he is sharing, it is illegal since you do not have a license. You can use binary versions of the tools and that is what he needs to share, not the source code.
#6
08/27/2012 (10:33 am)
Can you give me some examples like what binary versions of the tools?
#7
08/27/2012 (10:39 am)
You can use the world editor to place objects, you can script in TorqueScript, but if you have access to the C++ on any level, then he is in violation of the license agreement.
#8
Thank you anyways,
- Dennis
08/28/2012 (3:54 am)
I told it to him, thanks. I think you're talking about Add-ons. Add-ons that are files like a RP gamemode script that changes the game a little.Thank you anyways,
- Dennis
#9
08/31/2012 (12:07 pm)
The annoying glitch is still coming up for me. I tried to change this ingame but, me and my friend have no clue anymore what to do about this...Quote:==>disconnect(1);This is what I have seen in console.log.
*** ENDING MISSION
CDROP: 1735 IPX:CFCFCFCF:CFCFCFCFCFCF:53199
Associate David Montgomery-Blake
David MontgomeryBlake