if (Items::dwMajorVersion == 0xFFFFFFFF) {
std::cout << "[Warning - Items::loadFromOtb] items.otb using generic client version." << std::endl;
} else if (Items::dwMajorVersion != 3) {
std::cout << "Old version detected, a newer version of items.otb is required." << std::endl;
return ERROR_INVALID_FORMAT;
} else if (Items::dwMinorVersion < CLIENT_VERSION_1035) {
std::cout << "A newer version of items.otb is required." << std::endl;
return ERROR_INVALID_FORMAT;
}
else if (Items::dwMinorVersion < CLIENT_VERSION_1035) {
std::cout << "A newer version of items.otb is required." << std::endl;
return ERROR_INVALID_FORMAT;
How can you change this in TFS 1.0?
/*
else if (Items::dwMinorVersion < CLIENT_VERSION_1035) {
std::cout << "A newer version of items.otb is required." << std::endl;
return ERROR_INVALID_FORMAT;
*/
I found the line in protocolgame.cpp and protocollogin.cpp
I changed it in these 2 locations, is that okay?
@EvilSkillz
else if (Items::dwMinorVersion < CLIENT_VERSION_1021) {
std::cout << "A newer version of items.otb is required." << std::endl;
return ERROR_INVALID_FORMAT;
search that on protocoll login.game.cppYes, but can I ask you another question?
Let's say i'm compiling the latest sources. However, I want to keep the client version 10.31.
Is it possible that if i make the fix above and change the client version in definitions.h?