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

Compiling Changing TFS 1.4 client version

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
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 :)
 
Back
Top