• 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!

Crash in Server

MxSoft

Leave Tibia, Live Life.
Joined
Dec 22, 2009
Messages
1,804
Solutions
1
Reaction score
44
Location
Mexico
Today my server crashed the message in console is the next one:
[21:46:11.710] [Failure - Protocol::XTEA_decrypt] Not valid unencrypted message size (IP: 201.173.225.6)
Killed
Ok edit
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;
If i edit sources to dont print message does this will change something?
 
Last edited:
Back
Top