Phanes 7 Posted August 25, 2019 Share Posted August 25, 2019 Hi, devs. It's somebody here who know smthing about this error: https://youtu.be/GznwJ2T0ReY ? So at the first logon, or teleportation, the scarf looks bigger if I don't change it while the other player is next to me . hmm, i think it's something about InstanceBase.cpp or scale Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4940 Posted August 25, 2019 Bot Share Posted August 25, 2019 Yes is the scale in instancebase. Maybe you have pet system with scale. Check the conditional, only add the "SetScale" for newpets and if is not a newpet then "SetScaleNew" (I think you have SetScaleNew) I can't copy-paste now the code because I'm not in my desktop, but I hope you understand my explanation . Link to comment Share on other sites More sharing options...
Phanes 7 Posted August 25, 2019 Author Share Posted August 25, 2019 7 hours ago, WLsj24 said: Yes is the scale in instancebase. Maybe you have pet system with scale. Check the conditional, only add the "SetScale" for newpets and if is not a newpet then "SetScaleNew" (I think you have SetScaleNew) I can't copy-paste now the code because I'm not in my desktop, but I hope you understand my explanation . i removed the SetScaleNew from InstanceBase and GrbObjectInstane and i rewrite SetScaleNew for newpet to "SetScale" but the problem with sash it's still there :-? Link to comment Share on other sites More sharing options...
Bot Solution Metin2 Dev 4940 Posted August 25, 2019 Bot Solution Share Posted August 25, 2019 I mean you should try something like this: if (IsNewPet()) { float scale = c_rkCreateData.m_dwLevel * 0.005f + 0.75f; m_GraphicThingInstance.SetScale(scale, scale, scale, true); } else m_GraphicThingInstance.SetScaleNew(1.0f,1.0f,1.0f); 1 Link to comment Share on other sites More sharing options...
Phanes 7 Posted August 25, 2019 Author Share Posted August 25, 2019 26 minutes ago, WLsj24 said: I mean you should try something like this: if (IsNewPet()) { float scale = c_rkCreateData.m_dwLevel * 0.005f + 0.75f; m_GraphicThingInstance.SetScale(scale, scale, scale, true); } else m_GraphicThingInstance.SetScaleNew(1.0f,1.0f,1.0f); You have right, i forgot to remove one of "true". cheers 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now