MxSoft
Leave Tibia, Live Life.
Today my server crashed the message in console is the next one:
I was looking for the cause of the crash, someone says that is made bye loging using the game port. I tried to reproduce the bug and i got a different message: [Warning - Protocol::RSA_decrypt] Not valid packet size (IP: 201.122.124.120)
If i edit sources to dont print message does this will change something?
Ok edit[21:46:11.710] [Failure - Protocol::XTEA_decrypt] Not valid unencrypted message size (IP: 201.173.225.6)
Killed
I was looking for the cause of the crash, someone says that is made bye loging using the game port. I tried to reproduce the bug and i got a different message: [Warning - Protocol::RSA_decrypt] Not valid packet size (IP: 201.122.124.120)
Code:
int tmp = msg.GetU16();
if(tmp > msg.getMessageLength() - 8){
#ifdef __DEBUG_NET_DETAIL__
std::cout << "Failure: [Protocol::XTEA_decrypt]. Not valid unencrypted message size" << std::endl;
#endif
return false;
}
msg.setMessageLength(tmp);
return true;
Last edited: