zoowiS 2 Posted January 7, 2023 Share Posted January 7, 2023 can you help me? i have some errors in binnary. Exemple: Error 261 error C2039: 'GetMotionPointer' : is not a member of 'CGraphicThing' Error 14 error C2039: 'shared_ptr' : is not a member of 'std' Error 200 error C2065: 'm_motions' : undeclared identifier Error 362 error C2143: syntax error : missing ',' before '<' Can someone help me? 1 Link to comment Share on other sites More sharing options...
Premium Ulthar 3150 Posted January 7, 2023 Premium Share Posted January 7, 2023 2 hours ago, zoowiS said: can you help me? i have some errors in binnary. Exemple: Error 261 error C2039: 'GetMotionPointer' : is not a member of 'CGraphicThing' Error 14 error C2039: 'shared_ptr' : is not a member of 'std' Error 200 error C2065: 'm_motions' : undeclared identifier Error 362 error C2143: syntax error : missing ',' before '<' Can someone help me? Try with "std::shared_ptr" Ulthar Link to comment Share on other sites More sharing options...
zoowiS 2 Posted January 8, 2023 Share Posted January 8, 2023 (edited) Error 14 error C2440: '=' : cannot convert from 'std::shared_ptr<CGrannyMotion>' to 'const CGrannyMotion *' \source\EterGrnLib\ThingInstance.cpp 478 1 EterGrnLib Edited January 8, 2023 by zoowiS Link to comment Share on other sites More sharing options...
welzi 2 Posted January 21, 2023 Share Posted January 21, 2023 Hello, I have a problem where the server freezes as soon as I equip a costume weapon and won't let me back into character. Link to comment Share on other sites More sharing options...
Premium Ulthar 3150 Posted January 23, 2023 Premium Share Posted January 23, 2023 On 1/21/2023 at 3:21 AM, welzi said: Hello, I have a problem where the server freezes as soon as I equip a costume weapon and won't let me back into character. Hello. Re-do everything, cuz you did something wrong in a wrong section. 1 Ulthar Link to comment Share on other sites More sharing options...
welzi 2 Posted January 24, 2023 Share Posted January 24, 2023 15 hours ago, Ulthar said: Helló. Csinálj újra mindent, mert valamit rosszul csináltál egy rossz részben. Kérdés, hogy hol Link to comment Share on other sites More sharing options...
blazerxk 232 Posted September 8, 2023 Share Posted September 8, 2023 It all works with @Distraught codes, giant thanks to him. how to put to appear in character selection ??? Link to comment Share on other sites More sharing options...
lTz 12 Posted February 5 Share Posted February 5 How do i add the sash gr file now? till now i use a mse ssd mde to show it Link to comment Share on other sites More sharing options...
gamer6661102 3 Posted February 11 Share Posted February 11 What could be the problem? Link to comment Share on other sites More sharing options...
oSocks 0 Posted March 10 Share Posted March 10 On 2/11/2024 at 6:37 PM, gamer6661102 said: What could be the problem? I Have the same problem, any solution or idea ? Link to comment Share on other sites More sharing options...
Premium steveballs10 0 Posted April 18 Premium Share Posted April 18 (edited) On 8/15/2022 at 9:45 AM, Ulthar said: I dont know why, but its not working for me Compiled without any error in vs2022, but the attached sashes with animations still without animation as before the edits Weapon is good, but sash isnt https://metin2.download/picture/sjbb1YNr9u0HbOH60t0pYLh8L4rruPQx/.gif EDIT fixed Problem was: This part: if (CGrannyLODController* pLODController = m_LODControllerVector[CRaceData::PART_SASH]) { if (CGrannyModelInstance* pWeaponModelInstance = pLODController->GetModelInstance()) { CGraphicThing* pItemGraphicThing = pItemData->GetModelThing(); if (std::shared_ptr<CGrannyMotion> pItemMotion = pItemGraphicThing->GetMotionPointer(0)) { pWeaponModelInstance->SetMotionPointer(pItemMotion); } } } will go to: void CActorInstance::AttachSash(CItemData * pItemData, float fSpecular) (in actorinstanceattach.cpp) Instead of: void CActorInstance::AttachWeapon(DWORD dwParentPartIndex, DWORD dwPartIndex, CItemData * pItemData) I know it's like ancient post by now but might be useful to someone, don't forget to add case CRaceData::PART_SASH: in ThingInstance.cpp: for (int i = 0; i < m_LODControllerVector.size(); ++i) { switch (i) { case CRaceData::PART_WEAPON: case CRaceData::PART_WEAPON_LEFT: case CRaceData::PART_SASH: break; default: SetMotionPointer(m_LODControllerVector[i]); break; } } return true; } Edited April 18 by steveballs10 Link to comment Share on other sites More sharing options...
Yazoo 1 Posted June 19 Share Posted June 19 Le tutoriel empêche la compilation en DEBUG Pour les personnes ayant des problèmes avec la compilation en DEBUG, voici des modifications qui aiderons a ce que vous puissiez compiler en DEBUG 1.Thing.cpp Spoiler 2.Model.h Spoiler 3.Model.cpp Spoiler Link to comment Share on other sites More sharing options...
Recommended Posts