SøηGøku® 8 Posted April 30, 2018 Share Posted April 30, 2018 (edited) Hi guys. I tried to compile my server source and gave me this error. Anyone can help me? https://metin2.download/picture/yLJf0chFAUuTNmNEHR4AQUeOI2T8XjBB/.png Best Regards Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted May 1, 2018 Author Share Posted May 1, 2018 bump Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted May 1, 2018 Author Share Posted May 1, 2018 bump Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted May 1, 2018 Premium Share Posted May 1, 2018 gmake clean (when you do a screen, take all of the shell) Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted May 1, 2018 Author Share Posted May 1, 2018 I did the gmake clean before gmake -j2 Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted May 1, 2018 Author Share Posted May 1, 2018 bump Link to comment Share on other sites More sharing options...
Hik 108 Posted May 1, 2018 Share Posted May 1, 2018 First of all "gmake clean" and then "gmake -l". When it will give you error, post it here. 1 Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted May 1, 2018 Author Share Posted May 1, 2018 (edited) It gives me this error https://metin2.download/picture/8lUsvXiwyXmvwOw8xA711H1gbNj4RdZa/.png I leave my item.cpp on attatchment so anyone can help me see whats the problem. Thank you. This is the hidden content, please Sign In or Sign Up Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Hik 108 Posted May 1, 2018 Share Posted May 1, 2018 i can not download the file, upload it to pastebin. Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted May 1, 2018 Author Share Posted May 1, 2018 I leave the download link in spoiler below : Spoiler This is the hidden content, please Sign In or Sign Up !oLfzLH5tt9A8Gp1HyHRmyPjHaAzyAT7l51F7A5Klsys Link to comment Share on other sites More sharing options...
Hik 108 Posted May 1, 2018 Share Posted May 1, 2018 Go to line n.1010 and delete --> } Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted May 1, 2018 Author Share Posted May 1, 2018 2 minutes ago, Hik said: Go to line n.1010 and delete --> } I don't have any "}" on line 1010... Link to comment Share on other sites More sharing options...
Hik 108 Posted May 1, 2018 Share Posted May 1, 2018 (edited) https://metin2.download/picture/3Tojfd0CW9jDjZln7B66FTZ232bWlJK1/.png Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted May 1, 2018 Author Share Posted May 1, 2018 (edited) Yeah sorry. At my file it appears differently I don't know why... https://metin2.download/picture/SsbFdKLK7KTzpB27Pb153ZVG4qwr2Ktv/.png It solved the 1010 and 2465 but not the 876 line Edited September 3, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Hik 108 Posted May 1, 2018 Share Posted May 1, 2018 Try this: Link to comment Share on other sites More sharing options...
SøηGøku® 8 Posted May 1, 2018 Author Share Posted May 1, 2018 It didn't solve my problem. Cause that's not the problem in those lines. I think it's the word dwRes that's not defined but I don't know how to do it. Link to comment Share on other sites More sharing options...
Weles 8 Posted June 10, 2018 Share Posted June 10, 2018 The solution to your problem is easier than you think. Find: if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON) #ifdef __CHANGELOOK_SYSTEM__ DWORD dwRes = GetTransmutation() != 0 ? GetTransmutation() : GetVnum(); m_pOwner->SetPart(PART_WEAPON, dwRes); #else m_pOwner->SetPart(PART_WEAPON, GetVnum()); #endif Change: if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON) #ifdef __CHANGELOOK_SYSTEM__ { DWORD dwRes = GetTransmutation() != 0 ? GetTransmutation() : GetVnum(); m_pOwner->SetPart(PART_WEAPON, dwRes); } #else m_pOwner->SetPart(PART_WEAPON, GetVnum()); #endif And your problem will disappear 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