Class change card
#1

Hello, 

I have created an item that allows me to change my main character class at Crean, for example from Knight to Titan. Everything works fine, but apparently the character animations are not changed correctly so the character goes into a broken state like in the image below. As soon as I try to move around my client crashed with Send Error.



I have tried to fix it with the SetAnimation function but that didn't work. Has anyone done this before and can give me a hint?

Of course I could avoid this by forcing a disconnect/relog but that's not my prefered solution.

#2

When changing the Class you should always push a relog to reset the animations etc. You will get alot of errors / glitches if not. you can do something like 

{
CNetMsg::SP rmsg(new CNetMsg);
ResponseClient::makeExRestart(rmsg, 1);
SEND_Q( rmsg, pc->m_desc );
}

pc->m_desc->returnToCharacterSelectMode();

 



Forum Jump:


Users browsing this thread: 1 Guest(s)