From 36d2a039e8fc31fd212ed381d843fafc43aa054b Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 30 五月 2025 11:27:44 +0800 Subject: [PATCH] 16 卡牌服务端(删除旧版交易所、拍卖行、答题等部分不需要内容;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py index e8c9970..1bc629e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py @@ -25,7 +25,6 @@ import AttackCommon import ChItem import PlayerGMOper -import GameLogInfo import ItemCommon import OperControlManager import ShareDefine @@ -1054,7 +1053,6 @@ # @return 返回值, 无意义 # @remarks C++封包触发, 全局定时器, 处理玩家状态 def __Func_ProcessState(tick): - timeClock = time.clock() #2009-07-01断言tick >=0 ,服务器tick为DWord,超过24天未重启硬件,将导致逻辑不可预知 if tick < 0 : GameWorld.Log('###服务器运行时间超过24天 tick = %s' % (tick)) @@ -1068,10 +1066,8 @@ if curPlayer.GetID() == 0: continue - ProcessPlayerState(curPlayer, tick) - - #记录玩家逻辑处理总耗时 - GameLogInfo.LogInfo_PlayerLogicTime(timeClock) + ProcessPlayerState(curPlayer, tick) + return #--------------------------------------------------------------------- -- Gitblit v1.8.0