SamuraiHUN 1543 Posted September 30, 2021 Share Posted September 30, 2021 (edited) This is the hidden content, please Sign In or Sign Up Metin2 Download How to Update Client src c++20 Thanks lot of @ Mali First, we open the client source with visual studio 2022. Select all projects and right click on them -> properties -> General -> c++ language standard -> Here we choose c++20. https://metin2.download/video/Q0tB47SEBj0LU7q27Sy64U11018tamx5/.mp4 need to make some step from this topic This is the hidden content, please Sign In or Sign Up If you don't understand something, you can ask your questions here. Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal 189 2 1 3 1 1 71 1 10 97 Link to comment Share on other sites More sharing options...
Premium flatik 190 Posted September 30, 2021 Premium Share Posted September 30, 2021 (edited) without modify ( This is the hidden content, please Sign In or Sign Up it's not neccessary) Edited August 17, 2022 by Metin2 Dev Core X - External 2 Internal 92 1 18 3 30 c++latest, latest libs... Link to comment Share on other sites More sharing options...
Active Member Volvox 1503 Posted October 4, 2021 Active Member Share Posted October 4, 2021 Nice tut, works perfect. Thank you 1 Link to comment Share on other sites More sharing options...
0x01 1 Posted October 7, 2021 Share Posted October 7, 2021 (edited) Thx , works good. Edited October 7, 2021 by 0x01 1 Link to comment Share on other sites More sharing options...
Debloat 88 Posted February 18, 2022 Share Posted February 18, 2022 (edited) Hi, thank you for the tutorial! I am getting error here. Any idea guys? Error goes away in C++17 Edited August 17, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Clawz 2 Posted June 23, 2022 Share Posted June 23, 2022 (edited) On 2/18/2022 at 8:20 PM, Debloat said: Hi, thank you for the tutorial! I am getting error here. Any idea guys? Error goes away in C++17 same Edited August 16, 2022 by Metin2 Dev Core X - External 2 Internal 2 Link to comment Share on other sites More sharing options...
Luzer 0 Posted June 23, 2022 Share Posted June 23, 2022 (edited) 3 hours ago, Clawz said: same You can create additional variable for each packet. This will fix your problem. Edited August 16, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted August 26, 2022 Premium Share Posted August 26, 2022 On 6/23/2022 at 7:06 PM, Luzer said: You can create additional variable for each packet. This will fix your problem. Please don't start to make lot of useless variables. The error is just because of reference in function parameter. void Set(int header, TPacketType && rPacketType); void CNetworkPacketHeaderMap::Set(int header, TPacketType && rPacketType) 2 Link to comment Share on other sites More sharing options...
Active+ Member blaxis 273 Posted November 25, 2022 Active+ Member Share Posted November 25, 2022 (edited) Thank you. However, it has a problem. The following part in EterBase/Stl.h: template <typename T> void DeleteListItem(std::list<T> * pList, T pItem) { auto itor = pList->begin(); for (; itor != pList->end(); ++itor) { if (pItem == *itor) { if (1 == pList->size()) { pList->clear(); } else { pList->erase(itor); } break; } } } After doing this I get this error: Edited November 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Active+ Member Reached 506 Posted January 30, 2023 Active+ Member Share Posted January 30, 2023 Thank you for sharing this tutorial, for the Set function error NetPacketHeaderMap.h //Add under the SPacketType struct TPacketType& createPacketType(int iSize = 0, bool bFlag = false) { return *(new TPacketType(iSize, bFlag)); } and replace all the //replace CNetworkPacketHeaderMap::TPacketType( //to this createPacketType( i solve it like this without any errors. Link to comment Share on other sites More sharing options...
Premium DemOnJR 562 Posted August 7, 2023 Premium Share Posted August 7, 2023 Works perfect thanks! Link to comment Share on other sites More sharing options...
Recommended Posts