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

TFS 1.X+ Ninjas Tfs 8.00

MaR0

Banned User
Joined
Apr 16, 2018
Messages
272
Solutions
3
Reaction score
29
Hello, i'm trying to upgrade ninja tfs to open with protocol 8.10, i already upgraded items.otbm and map to 8.10 it worked, And i changed definition.h this but i can't enter the game whie entering the game i took debug.
C++:
#define CLIENT_VERSION_MIN 810
#define CLIENT_VERSION_MAX 810
#define CLIENT_VERSION_STR "8.10"
also i put at protocolgame.cpp line 282 but it did not work, did I find any help or what needed to be changed?
C++:
if (version < 810 || version > 810) {
        disconnectClient("Only clients with protocol  810  allowed!");
        return;
    }

thanks support
 
What is written in the debug windows when you re-open the game?
There must be a change in the bytes the server needs to send to the client from 8.00 to 8.10, thats probably whats causing the debug.
 
What is written in the debug windows when you re-open the game?
There must be a change in the bytes the server needs to send to the client from 8.00 to 8.10, thats probably whats causing the debug.
In fact I do not know where the bytes, will I change anything and what will I change?
 
Why don't you check any 8.1 server and compare what changed in the protocol? I'm not the best one to talk about any version over 7.72.

Let me be clear: only otb version and defining a client version is probably never do the job.
 
items cpp i think ..
Code:
else if (Items::dwMinorVersion < CLIENT_VERSION_800) {
        std::cout << "A newer version of items.otb is required." << std::endl;
        return ERROR_INVALID_FORMAT;
    }
REplace with
Code:
} else if (Items::dwMinorVersion < CLIENT_VERSION_810) {
        std::cout << "A newer version of items.otb is required." << std::endl;
        return ERROR_INVALID_FORMAT;
    }
 
items cpp i think ..
Code:
else if (Items::dwMinorVersion < CLIENT_VERSION_800) {
        std::cout << "A newer version of items.otb is required." << std::endl;
        return ERROR_INVALID_FORMAT;
    }
REplace with
Code:
} else if (Items::dwMinorVersion < CLIENT_VERSION_810) {
        std::cout << "A newer version of items.otb is required." << std::endl;
        return ERROR_INVALID_FORMAT;
    }
i meant i want to change the protocol to log into game with 8.10 client no more :) i already success in changing reading items to 8.10 thanks for your reply
 
Back
Top