两处%u修改{}

This commit is contained in:
fang139842 2025-08-03 00:38:09 +08:00
parent dd32e5086c
commit 2fe88146b0
3 changed files with 7 additions and 4 deletions

View File

@ -457,7 +457,7 @@ void SM_Function_Status::Load()
SM_Function_Status_Vec.push_back(FunctionTemp);
} while (Function_Status_Result->NextRow());
sLog->outMessage("server", LogLevel::LOG_LEVEL_INFO, ">> 读取自定义功能数据表【_sm_物品_功能集合------】,共%u条数据读取加载用时%u毫秒", SM_Function_Status_Vec.size(), GetMSTimeDiffToNow(oldMSTime));
sLog->outMessage("server", LogLevel::LOG_LEVEL_INFO, ">> 读取自定义功能数据表【_sm_物品_功能集合------】,共{}条数据读取加载,用时{}毫秒", SM_Function_Status_Vec.size(), GetMSTimeDiffToNow(oldMSTime));
}
SM_Function_Forging_TemplateVec.clear();
@ -482,7 +482,7 @@ void SM_Function_Status::Load()
SM_Function_Forging_TemplateVec.push_back(templateData);
} while (FunctionBase_Result->NextRow());
sLog->outMessage("server", LogLevel::LOG_LEVEL_INFO, ">> 读取自定义功能数据表【_sm_物品_洗练_规则设定--】,共%u条数据读取加载用时%u毫秒", SM_Function_Forging_TemplateVec.size(), GetMSTimeDiffToNow(oldMSTime));
sLog->outMessage("server", LogLevel::LOG_LEVEL_INFO, ">> 读取自定义功能数据表【_sm_物品_洗练_规则设定--】,共{}条数据读取加载,用时{}毫秒", SM_Function_Forging_TemplateVec.size(), GetMSTimeDiffToNow(oldMSTime));
}
SM_Function_Forging_SpellGroup_Template_Vec.clear();
@ -502,7 +502,7 @@ void SM_Function_Status::Load()
SM_Function_Forging_SpellGroup_Template_Vec.push_back(templateData);
} while (Forging_SpellGroup_Result->NextRow());
sLog->outMessage("server", LogLevel::LOG_LEVEL_INFO, ">> 读取自定义功能数据表【_sm_物品_洗炼_技能组设定】,共%u条数据读取加载用时%u毫秒", SM_Function_Forging_SpellGroup_Template_Vec.size(), GetMSTimeDiffToNow(oldMSTime));
sLog->outMessage("server", LogLevel::LOG_LEVEL_INFO, ">> 读取自定义功能数据表【_sm_物品_洗炼_技能组设定】,共{}条数据读取加载,用时{}毫秒", SM_Function_Forging_SpellGroup_Template_Vec.size(), GetMSTimeDiffToNow(oldMSTime));
}
// 加载玩家白字数据表

View File

@ -85,6 +85,9 @@ public:
if (!sSellReward->CanRefund(player, pItem))
return false;
//xh2+
// 如果没有限制,允许回购
return true;
}
// 处理售卖奖励

View File

@ -156,7 +156,7 @@ void RuneSystemDB::LoadRuneSystem()
++count;
} while (result->NextRow());
LOG_INFO("server", ">> 读取自定义功能数据表【__sm_符文系统_功能配置-】,共 {} 条数据读取加载,用时%u毫秒", count, GetMSTimeDiffToNow(oldMSTime));
LOG_INFO("server", ">> 读取自定义功能数据表【__sm_符文系统_功能配置-】,共 {} 条数据读取加载,用时{}毫秒", count, GetMSTimeDiffToNow(oldMSTime));
}
void RuneSystemDB::UpdateRune(Player* player)