From 23876f36a929f7e8f1fe94ae543b03bc24a61f1e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 25 二月 2025 20:24:08 +0800
Subject: [PATCH] 10263 【越南】【英文】【BT】【GM】【砍树】后端支持NPC仿真实玩家战斗和快速战斗(镜像回收时同步清除地图中缓存的镜像被动buff效果;)

---
 ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldProcess.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldProcess.py b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldProcess.py
index 5ca8054..6f9ee27 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldProcess.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GameWorldLogic/GameWorldProcess.py
@@ -181,6 +181,7 @@
     GameWorldOpenServerCampaign.DoOnDay()
     #清理过期补偿
     PlayerCompensation.ClearUpTimeOutCompensation()
+    PlayerControl.DoOnDay()
     #PlayerGeTui.ClearFMTGeTuiLimit()
     import PlayerBourse
     PlayerBourse.OverTimeItemsDeal()
@@ -315,8 +316,6 @@
     PlayerFamily.OnLeaderImpeachTick(tick)
     #跨服玩家
     CrossRealmPlayer.OnCrossProcess(tick)
-    #跨服PK匹配
-    CrossRealmPK.OnPKMatchProcess(tick)
     
     GameWorldBoss.DoCheckWorldBossReborn(tick)
     #GameWorldBoss.ProcessBossGeTui(tick)
@@ -1287,6 +1286,7 @@
     GameWorld.GetFamilyManager().SetFamilyUpperLimitCount(ChConfig.Def_Family_MaxCnt)
     #排序元宝交易平台
     GameWorld.GetGameWorld().GetDBGoldOrderFormMgr().Sort()
+    PlayerBillboard.FixBillboardBigCmpValue()
     #排序排行榜
     PlayerBillboard.SortServerBillboard()
     #功能队伍
@@ -1534,6 +1534,8 @@
     
     # 跨服PK
     CrossRealmPK.OnMapServerInitOK()
+    # 跨服排位赛
+    CrossChampionship.OnMapServerInitOK()
     #跨服战场
     CrossBattlefield.OnMapServerInitOK()
     # 本服竞技场
@@ -2076,6 +2078,8 @@
 #  @param None 
 #  @return None
 def BeforeClose(tick):
+    if GameWorld.IsCrossServer():
+        CrossRealmPlayer.OnCrossServerClose()
     PlayerTeam.OnServerClose(tick)
     ChPlayer.SavePlayerLVData()
     PlayerFBHelpBattle.OnServerClose()

--
Gitblit v1.8.0