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

avesta remove item otb check version

Ganjita

Active Member
Joined
Dec 15, 2009
Messages
494
Reaction score
37
someone can help me?, how i can delete the otb check version on avesta?, im search arround the source but really dont understand what i need remove, thanks in advance, greetings
 
Example with Mark sources

items.cpp:

Code:
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;
}
 
this is enough
Code:
else if (Items::dwMinorVersion < CLIENT_VERSION_1035) {
std::cout << "A newer version of items.otb is required." << std::endl;
return ERROR_INVALID_FORMAT;
 
i can find them in tfs 1.0 brother
file called items.cpp
lines from 205 ~ 207
Code:
else if (Items::dwMinorVersion < CLIENT_VERSION_1021) {
        std::cout << "A newer version of items.otb is required." << std::endl;
        return ERROR_INVALID_FORMAT;

u can make /*Code above between these marks*/

and hey come check your system in teamviewer and tell me this is what u need or not

teamviewer meeting
m84-483-793

i made throw player
check it if u need little edit
 
Thanks, sorry guys it was just me being a noob.

I was looking in item.ccp and not itemS.cpp >.<
 
Yes, 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?
 
Yes, 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?
search that on protocoll login.game.cpp

< CLIENT_VERSION_1021

and change for your version,
 
Back
Top Bottom