From 2ccb840f9db8c61f7e9a0a336205713b41790bf3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 06 八月 2025 19:52:49 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(import问题) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py index 4430e63..deef9bb 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/MirrorAttack.py @@ -27,7 +27,6 @@ import IPY_GameWorld import PlayerControl import OperControlManager -import PlayerViewCacheTube import PassiveBuffEffMng import GameWorldProcess import ChNetSendPack @@ -38,7 +37,6 @@ import SkillShell import CommFunc import FBCommon -import PlayerFB import GameMap import FBLogic import GameObj @@ -328,7 +326,6 @@ #ChPlayer.PlayerLogin #PlayerEventCounter.GameServer_InitOK(index, tick) #ChPlayer.LoadMapOK(index, tick) - #GameServerRefresh.GameSever_PlayerInitOK(index, tick) mirrorPlayer.SendToBServerServerInitOK() mirrorPlayer.SetMapLoadOK(True) #将玩家放置在这个地图上 @@ -449,7 +446,7 @@ #}; def OnSycnPlayerPackData(index, clientData, tick): curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index) - PlayerViewCacheTube.UpdateGameServerPlayerCache(curPlayer, tick, forcePackData=True) + #PlayerViewCacheTube.UpdateGameServerPlayerCache(curPlayer, tick, forcePackData=True) return #// B4 11 镜像战斗 #tagCMMirrorFight @@ -562,8 +559,8 @@ return True # 玩家自身需要用镜像的情况 - if isSysbg and playerID and playerID in mirrorIDList: - PlayerViewCacheTube.NormalSyncPackData(curPlayer) + #if isSysbg and playerID and playerID in mirrorIDList: + # PlayerViewCacheTube.NormalSyncPackData(curPlayer) sendMsg = str(sendMsg) GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "ReuestPlayerPackData", sendMsg, len(sendMsg)) -- Gitblit v1.8.0