tigerx2
New Member
- Joined
- Apr 5, 2010
- Messages
- 104
- Reaction score
- 2
Hello everyone,
I'm trying to change the client version to 8.60, but when I try to log in, i got this error (at Tibia client): "Invalid authentication token."
Checking the code, I've found the lines which contains the message:
protocollogin.cpp
Changes made to change client version:
definitions.h
What can I do? Thank you for your time
I'm trying to change the client version to 8.60, but when I try to log in, i got this error (at Tibia client): "Invalid authentication token."
Checking the code, I've found the lines which contains the message:
protocollogin.cpp
Code:
// read authenticator token and stay logged in flag from last 128 bytes
msg.skipBytes((msg.getLength() - 128) - msg.getBufferPosition());
if (!Protocol::RSA_decrypt(msg)) {
disconnectClient("Invalid authentification token.", version);
return;
}
Changes made to change client version:
definitions.h
Code:
static constexpr auto CLIENT_VERSION_MIN = 860; //1098
static constexpr auto CLIENT_VERSION_MAX = 860;
static constexpr auto CLIENT_VERSION_STR = "8.60";
What can I do? Thank you for your time