From 473be3a9f14e3aefaad7852c513072a9eeea5f83 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 8 Dec 2023 11:32:01 +0800 Subject: [PATCH] 1 --- server/gameserver/app.cc | 4 ++-- server/gameserver/mt/Hero.cc | 1 + third_party/f8 | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server/gameserver/app.cc b/server/gameserver/app.cc index 92991b01..6d37a0b5 100644 --- a/server/gameserver/app.cc +++ b/server/gameserver/app.cc @@ -39,7 +39,7 @@ static void SavePerfLog() "max_full_obj:%d max_part_obj:%d max_bullet:%d max_packet:%d " "his_max_full_obj:%d his_max_part_obj:%d his_max_bullet:%d his_max_packet:%d", { - PerfMonitor::Instance()->max_run_delay_time, + f8::App::Instance()->GetMaxRunDelayTime(), RoomMgr::Instance()->RoomNum(), PerfMonitor::Instance()->entity_num[ET_Player], PlayerMgr::Instance()->OnlineNum(), @@ -70,7 +70,7 @@ static void SavePerfLog() GGListener::Instance()->his_max_packet_size = std::max (GGListener::Instance()->his_max_packet_size, GGListener::Instance()->max_packet_size); } - PerfMonitor::Instance()->max_run_delay_time = 0; + f8::App::Instance()->ResetMaxRunDelayTime(); PerfMonitor::Instance()->max_timer_idle = 0; PerfMonitor::Instance()->grid_chg_times = 0; PerfMonitor::Instance()->max_full_objects_num = 0; diff --git a/server/gameserver/mt/Hero.cc b/server/gameserver/mt/Hero.cc index 32322fa0..5e3b3f6f 100644 --- a/server/gameserver/mt/Hero.cc +++ b/server/gameserver/mt/Hero.cc @@ -155,6 +155,7 @@ namespace mt hero->id() == 9008 || hero->id() == 9009 || hero->id() == 9010 || + hero->id() == 9011 || hero->id() == 8001 || hero->id() == 8002 || hero->id() == 8003 || diff --git a/third_party/f8 b/third_party/f8 index 1967a983..49451536 160000 --- a/third_party/f8 +++ b/third_party/f8 @@ -1 +1 @@ -Subproject commit 1967a9836c97a50991a0b10a0d7fc099ed585528 +Subproject commit 49451536705a8ebba740f9a7585d94260d933a3e