• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Items.otb i rev

polaczkowanie

Banned User
Joined
Aug 3, 2011
Messages
139
Reaction score
5
Witam,
w jaki sposób sprawdzić pod jaki rev będzie pasować items.otb który mam w moim datapacku ?
 
Ja mam łatwy sposób

Wejdź w items.ccp i usuń

if(Items::dwMajorVersion == 0xFFFFFFFF)
std::clog << "[Warning - Items::loadFromOtb] items.otb using generic client version." << std::endl;
else if(Items::dwMajorVersion < 3)
{
std::clog << "[Error - Items::loadFromOtb] Old version detected, a newer version of items.otb is required." << std::endl;
return ERROR_INVALID_FORMAT;
}
else if(Items::dwMajorVersion > 3)
{
std::clog << "[Error - Items::loadFromOtb] New version detected, an older version of items.otb is required." << std::endl;
return ERROR_INVALID_FORMAT;
}
else if(Items::dwMinorVersion != CLIENT_VERSION_860)
{
std::clog << "[Error - Items::loadFromOtb] Another (client) version of items.otb is required." << std::endl;
return ERROR_INVALID_FORMAT;
}

Następnie skomiluj. Teraz wczyta ci każdą wersje items.otb
 
Nie chcę wyłączać errorów w items.cpp, bo wiem jak to akurat zrobić ale muszę mieć reva dokładnego.
 
możesz sprawdzić czy w jakimś otb editorze po wczytaniu tych items.otb nie ma żadnych informacji na ich temat.

ale może byś się pochwalił po co ci co?
 
Back
Top