Jump to content

Game crash / desc.cpp: No such file or directory.


Recommended Posts

my server error 40k help me please;

On 22.07.2016 at 0:40 AM, DeYaN. said:

I need some help here ... this error crash my core, for about 2 days ago , without any modification at source from 1 mounths, and i say wtf, this is a new exploit ?

 

  Hide contents

Untitled.jpg

 

At line 421 in desc.cpp is  function :

  Reveal hidden contents

void DESC::Packet(const void * c_pvData, int iSize)
{
    assert(iSize > 0);

    if (m_iPhase == PHASE_CLOSE) // 끊는 상태면 보내지 않는다.
        return;

    if (m_stRelayName.length() != 0)
    {
        // Relay 패킷은 암호화하지 않는다.
        TPacketGGRelay p;

        p.bHeader = HEADER_GG_RELAY;
        strlcpy(p.szName, m_stRelayName.c_str(), sizeof(p.szName));
        p.lSize = iSize;

        if (!packet_encode(m_lpOutputBuffer, &p, sizeof(p)))
        {
            m_iPhase = PHASE_CLOSE;
            return;
        }

        m_stRelayName.clear();

        if (!packet_encode(m_lpOutputBuffer, c_pvData, iSize))
        {
            m_iPhase = PHASE_CLOSE;
            return;
        }
    }
    else
    {
        if (m_lpBufferedOutputBuffer)
        {
            buffer_write(m_lpBufferedOutputBuffer, c_pvData, iSize);

            c_pvData = buffer_read_peek(m_lpBufferedOutputBuffer);
            iSize = buffer_size(m_lpBufferedOutputBuffer);
        }

        // TRAFFIC_PROFILE
        if (g_bTrafficProfileOn)
            TrafficProfiler::instance().Report(TrafficProfiler::IODIR_OUTPUT, *(BYTE *) c_pvData, iSize);
        // END_OF_TRAFFIC_PROFILER

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.