From 77b0f4f5acec30f9be8c7eeadfc25d9641ca26f3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 26 五月 2025 11:46:13 +0800 Subject: [PATCH] 16 卡牌服务端(删除脱机挂) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py index aec60d7..706101a 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py @@ -100,7 +100,6 @@ import PassiveBuffEffMng import PlayerDiceEx import QuestCommon -import PlayerTJG import GameLogic_XMZZ import PlayerFlashSale import PlayerFlashGiftbag @@ -838,8 +837,6 @@ PlayerEquipDecompose.PlayerLogin(curPlayer) #防沉迷 PlayerGameWallow.DoLogic_CheckWallow(curPlayer, tick) - # 通知脱机挂信息 - #PlayerTJG.NotifyTJGInfo(curPlayer) # 协助 PlayerAssist.OnPlayerLogin(curPlayer) # 极品白拿 @@ -957,10 +954,7 @@ curPlayer.SetState(0) # 脱机挂恢复为正常上线 curPlayer.SetCountryLastWeekHornor(0) # 通知数据库是否保存还是下线,做一次恢复,1为保存 0为正常下线 - #tjgTime = PlayerTJG.GetTJGTime(curPlayer) - #if tjgTime: - # PlayerControl.SendGameServerRefreshState(curPlayer, IPY_GameWorld.CDBPlayerRefresh_HappyPoint, tjgTime) - + PlayerControl.DoGMForbidenTalkOnLogin(curPlayer) DataRecordPack.DR_PlayerLogin(curPlayer) # 放最后,记录等级、经验等信息 return @@ -1271,7 +1265,6 @@ #---等级限制--- if GameWorld.IsCrossServer(): return - #PlayerTJG.TJGDeadOffline(curPlayer) #=============================================================================== # #---等级限制--- @@ -3157,8 +3150,6 @@ #下线召回宠物 PetControl.ReCallFightPet(curPlayer) - - #PlayerTJG.CalcPlayerTJG(curPlayer, tick) #离线session EventReport.WriteEvent_session(curPlayer) -- Gitblit v1.8.0