• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ Strange debbugs

Status
Not open for further replies.

Sigoles

Discord: @sigoles
Joined
Nov 20, 2015
Messages
1,200
Solutions
2
Reaction score
149
Does anyone know what kind of debbug this is?

tfs 1.2 (not pure)
client 10.00 (aka 11.00+)

9BfQbMr.png

EKCybop.png


I am currently reproducing it as follows: Open the store shop, transfer coins to someone, receive the success message and debbug will come after the store appears again (only debbug with GOD character). Also has the same type of message in debbug, about this size, occurred in some hunts.

One friend thought it was something related to this code:
C++:
OutputMessage_ptr Protocol::getOutputBuffer(int32_t size)
{
    //dispatcher thread
    if (!m_outputBuffer) {
        m_outputBuffer = OutputMessagePool::getOutputMessage();
    } else if ((m_outputBuffer->getLength() + size) > NetworkMessage::MAX_PROTOCOL_BODY_LENGTH) {
        send(m_outputBuffer);
        m_outputBuffer = OutputMessagePool::getOutputMessage();
    }
    return m_outputBuffer;
    }
 
OutputMessage_ptr Protocol::getOutputBuffer(int32_t size)
{
//dispatcher thread
if (m_outputBuffer && NetworkMessage::MAX_PROTOCOL_BODY_LENGTH >= m_outputBuffer->getLength() + size) {
return m_outputBuffer;
} else {
m_outputBuffer = OutputMessagePool::getOutputMessage();
return m_outputBuffer;
}
}
oia o fix ai... fedor de lixo!
 
OutputMessage_ptr Protocol::getOutputBuffer(int32_t size)
{
//dispatcher thread
if (m_outputBuffer && NetworkMessage::MAX_PROTOCOL_BODY_LENGTH >= m_outputBuffer->getLength() + size) {
return m_outputBuffer;
} else {
m_outputBuffer = OutputMessagePool::getOutputMessage();
return m_outputBuffer;
}
}
oia o fix ai... fedor de lixo!

?
That does not fix anything, but thanks for the response
 
Status
Not open for further replies.
Back
Top