- 0
-
Activity
-
0
What packages should I install for FreeBSD 12 and Mainline ?
I want to prepare an infrastructure Server Files on FreeBSD 12, but I don't know much about which packages I need to install . What I will use: FreeBSD 32 bit latest version Source Metin2 Kraizy Mainline files What packages should I install ? What path should I follow ? I did not know if there is a topic opened before because my English is not good , if there is a link sevinirim send . -
17
-
0
No work compile source
I put gcc 8, after gcc 10 and it still doesn't work. https://prnt.sc/105h5ux -
14
Offline Message System
Thnx for release, btw they still steal xd.- 1
-
-
-
1
Multiple point updates on do_stat command
oryginal code looks like fast fix for recalculate hp, when chnge ht/iq point -
7
Offline Shop - dynamic packet size
the packets are completely identical client and server side.. i dont understand -
217
WorldEditor ReMIX
Maybe a config option for this messagebox could be interesting. Other than that, a small message can be displayed right next to "Idle" on the bottom left of your screenshot.- 1
-
-
6
Public Consultation - Trusted Third Party / Middleman
It remains free. When I say win-win, I'm not talking about myself. I want to prevent a member from using metin2dev to make money without sharing things for the community.- 1
-
-
-
Recently Browsing
No registered users viewing this page.
Question
Metin2Learning 0
Hello everyone!
I start solve all warnings in my sources and the last one would be this :
ClientManager.cpp: In member function 'void CClientManager::MainLoop()': ClientManager.cpp:353:10: warning: deleting object of polymorphic class type 'CItemPriceListTableCache' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete pCache;
My code looks like this :
for (itertype(m_mapItemPriceListCache) itPriceList = m_mapItemPriceListCache.begin(); itPriceList != m_mapItemPriceListCache.end(); ++itPriceList) { CItemPriceListTableCache* pCache = itPriceList->second; pCache->Flush(); delete pCache; }
I already try change like this :
for (TItemPriceListCacheMap::const_iterator itPriceList = m_mapItemPriceListCache.begin(); itPriceList != m_mapItemPriceListCache.end(); ++itPriceList) { CItemPriceListTableCache* pCache = itPriceList->second; pCache->Flush(); delete pCache; }
But not solve the problem.
Maybe anybody have idea what could be the problem?
Screen :
https://imgur.com/a/geHUFQv
Best wishes : ED.
Link to post
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.