Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

Ask for Memory Leak/Optimisation Out!


CatalinDB

Question

  • Premium

Here is an gdb from my crashcore! 🙂

https://metin2.download/picture/WDWSG5Etyick5ehA0l5DZG7T20I8O361/.png

item.cpp 

void CItem::SetOwnership(LPCHARACTER ch, int iSec)
{
    if (!ch)
    {
        if (m_pkOwnershipEvent)
        {
            event_cancel(&m_pkOwnershipEvent);
            m_dwOwnershipPID = 0;

            TPacketGCItemOwnership p;

            p.bHeader    = HEADER_GC_ITEM_OWNERSHIP;
            p.dwVID    = m_dwVID;
            p.szName[0]    = '\0';

            PacketAround(&p, sizeof(p));   // - LINE 1306
        }
        return;
    }

entity.cpp

void CEntity::PacketAround(const void * data, int bytes, LPENTITY except)
{
    PacketView(data, bytes, except);    // -- LINE 90 
}

I think is about a memory leak, but i don't know, can someone help me? free or with money, here or on discord! 🙂

Discord: LegendaXXL#8018

Edited by Metin2 Dev
Core X - External 2 Internal

Respect!

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.