From de17a057f7a93fe8c9ccb04dd44023b4c8ed1161 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 26 五月 2025 18:35:49 +0800
Subject: [PATCH] 16 卡牌服务端(仙盟珍宝阁支持;仙盟行为数据查询通知;去除特殊时间5点过天、过周、过月逻辑,统一保留0点触发;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py |   21 +++------------------
 1 files changed, 3 insertions(+), 18 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 f41b51b..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
@@ -145,7 +144,6 @@
 import PlayerArena
 import PyGameData
 import PlayerCoin
-import PlayerGeTui
 import PlayerCharm
 import PlayerDogz
 import PlayerCoat
@@ -178,6 +176,7 @@
 import IPY_ServerDefine
 import CommFunc
 from PyMongoDB import RecvPackToMapDB
+import PlayerTalk
 
 import datetime
 import time
@@ -208,10 +207,6 @@
     #初始化玩家的时钟个数
     if curPlayer.GetTickTypeCount() == 0:
         curPlayer.SetTickTypeCount(ChConfig.TYPE_Player_Tick_Count)
-    
-    #初始化玩家聊天频道
-    if curPlayer.GetMaxChannelCount() == 0:
-        curPlayer.SetMaxChannelCount(ChConfig.Def_PlayerTalkChannelMaxCount)
         
 #===============================================================================
 #    #初始化玩家鉴定管理器物品最大个数
@@ -643,9 +638,6 @@
     #大师
     PlayerGreatMaster.MasterOnLogin(curPlayer)
     
-    # 推送提醒
-    PlayerGeTui.LoginNotifySetting(curPlayer)
-    
     #通知VIP
     PlayerVip.DoOnLogin(curPlayer, tick)
     
@@ -845,8 +837,6 @@
     PlayerEquipDecompose.PlayerLogin(curPlayer)
     #防沉迷
     PlayerGameWallow.DoLogic_CheckWallow(curPlayer, tick)
-    # 通知脱机挂信息
-    #PlayerTJG.NotifyTJGInfo(curPlayer)
     # 协助
     PlayerAssist.OnPlayerLogin(curPlayer)
     # 极品白拿
@@ -964,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
@@ -998,6 +985,7 @@
         PlayerMineArea.OnPlayerLogin(curPlayer)
         PlayerGuaji.OnPlayerLogin(curPlayer)
         PlayerActFamilyGCZ.OnPlayerLogin(curPlayer)
+        PlayerTalk.OnPlayerLogin(curPlayer)
         
         # 上线查询一次充值订单
         curPlayer.SendDBQueryRecharge()
@@ -1277,7 +1265,6 @@
     #---等级限制---
     if GameWorld.IsCrossServer():
         return
-    #PlayerTJG.TJGDeadOffline(curPlayer)
     
 #===============================================================================
 #    #---等级限制---
@@ -3163,8 +3150,6 @@
     
     #下线召回宠物
     PetControl.ReCallFightPet(curPlayer)
-    
-    #PlayerTJG.CalcPlayerTJG(curPlayer, tick)
     
     #离线session
     EventReport.WriteEvent_session(curPlayer)

--
Gitblit v1.8.0