|
@@ -367,7 +367,7 @@ uint64 ItemDatabase::parseBodyNode(const YAML::Node &node) {
|
|
int64 constant;
|
|
int64 constant;
|
|
|
|
|
|
if (!script_get_constant(className_constant.c_str(), &constant)) {
|
|
if (!script_get_constant(className_constant.c_str(), &constant)) {
|
|
- this->invalidWarning(classNode[className], "Invalid class upper %s, defaulting to All.\n", className.c_str());
|
|
|
|
|
|
+ this->invalidWarning(classNode[className], "Invalid class %s, defaulting to All.\n", className.c_str());
|
|
item->class_upper |= ITEMJ_ALL;
|
|
item->class_upper |= ITEMJ_ALL;
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
@@ -2428,6 +2428,8 @@ static bool itemdb_read_sqldb_sub(std::vector<std::string> str) {
|
|
classes["Third_Upper"] = std::stoi(str[index]) ? "true" : "false";
|
|
classes["Third_Upper"] = std::stoi(str[index]) ? "true" : "false";
|
|
if (!str[++index].empty())
|
|
if (!str[++index].empty())
|
|
classes["Third_Baby"] = std::stoi(str[index]) ? "true" : "false";
|
|
classes["Third_Baby"] = std::stoi(str[index]) ? "true" : "false";
|
|
|
|
+ if (!str[++index].empty())
|
|
|
|
+ classes["Fourth"] = std::stoi(str[index]) ? "true" : "false";
|
|
if (!str[++index].empty())
|
|
if (!str[++index].empty())
|
|
jobs["KagerouOboro"] = std::stoi(str[index]) ? "true" : "false";
|
|
jobs["KagerouOboro"] = std::stoi(str[index]) ? "true" : "false";
|
|
if (!str[++index].empty())
|
|
if (!str[++index].empty())
|
|
@@ -2464,7 +2466,7 @@ static int itemdb_read_sqldb(void) {
|
|
"`delay_duration`,`delay_status`,`stack_amount`,`stack_inventory`,`stack_cart`,`stack_storage`,`stack_guildstorage`,`nouse_override`,`nouse_sitting`,"
|
|
"`delay_duration`,`delay_status`,`stack_amount`,`stack_inventory`,`stack_cart`,`stack_storage`,`stack_guildstorage`,`nouse_override`,`nouse_sitting`,"
|
|
"`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_tradepartner`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`,`equip_script`,`unequip_script`"
|
|
"`trade_override`,`trade_nodrop`,`trade_notrade`,`trade_tradepartner`,`trade_nosell`,`trade_nocart`,`trade_nostorage`,`trade_noguildstorage`,`trade_nomail`,`trade_noauction`,`script`,`equip_script`,`unequip_script`"
|
|
#ifdef RENEWAL
|
|
#ifdef RENEWAL
|
|
- ",`magic_attack`,`class_third`,`class_third_upper`,`class_third_baby`,`job_kagerouoboro`,`job_rebellion`,`job_summoner`"
|
|
|
|
|
|
+ ",`magic_attack`,`class_third`,`class_third_upper`,`class_third_baby`,`class_fourth`,`job_kagerouoboro`,`job_rebellion`,`job_summoner`"
|
|
#endif
|
|
#endif
|
|
" FROM `%s`", item_db_name[fi]) ) {
|
|
" FROM `%s`", item_db_name[fi]) ) {
|
|
Sql_ShowDebug(mmysql_handle);
|
|
Sql_ShowDebug(mmysql_handle);
|