From c280ced8be799a899efc78b21cc807d435ab6609 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 10 二月 2026 19:34:03 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(退出公会时间根据当前是否互通取对应的本服或跨服时间;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py |  161 ++++-------------------------------------------------
 1 files changed, 12 insertions(+), 149 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py
index cae2a59..d9ade9d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py
@@ -32,20 +32,9 @@
 #------------------------------------------------------------------------------ 
 import GameWorld
 import PlayerControl
-import PlayerEventCounter
 import ChConfig
 import PlayerCoin
-import ChPlayer
-#---------------------------------------------------------------------
-#记录玩家初始化过程中。积累的封包
-OnHourKey = 'PlayerGSInitOK_OnHourKey'
-OnDayKey = 'PlayerGSInitOK_OnDayKey'
-OnWeekKey = 'PlayerGSInitOK_OnWeekKey'
-OnMonthKey = 'PlayerGSInitOK_OnMonthKey'
-OnYearKey = 'PlayerGSInitOK_OnYearKey'
-OnDayExKey = 'PlayerGSInitOK_OnDayExKey'
-OnWeekExKey = 'PlayerGSInitOK_OnWeekExKey'
-OnMonthExKey = 'PlayerGSInitOK_OnMonthExKey'
+
 #---------------------------------------------------------------------
 #玩家离开副本
 Def_RouteServerInitOK_LeaveFBKey = 'RouteServerInitOK_LeaveFBKey'                #玩家离开副本
@@ -68,145 +57,19 @@
 #  @return None
 #  @remarks 函数详细说明.
 def GameSever_PlayerInitOK(index , tick):
-    curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
-    #2009-12-17 因地图服务器有可能关闭重开,这里要判定空
-    if not curPlayer:
-        GameWorld.ErrLog('GameSever_PlayerInitError playerIndex = %s'%(index))
-        return
-    
-    #设置初始化成功
-    curPlayer.SetGameServerInitOK(True)
-    
-    #时间缓存封包
-    if Get_PlayerGameServerInitOK_OnHour(curPlayer):
-        PlayerEventCounter.PlayerOnHour(curPlayer)
-        Set_PlayerGameServerInitOK_OnHour(curPlayer, 0)
-    
-    if Get_PlayerGameServerInitOK_OnDay(curPlayer):
-        PlayerEventCounter.PlayerOnDay(curPlayer)
-        Set_PlayerGameServerInitOK_OnDay(curPlayer, 0)
-    
-    #if Get_PlayerGameServerInitOK_OnDayEx(curPlayer):
-    #    PlayerEventCounter.PlayerOnDayEx(curPlayer)
-    #    Set_PlayerGameServerInitOK_OnDayEx(curPlayer, 0)
-        
-    if Get_PlayerGameServerInitOK_OnWeek(curPlayer):
-        PlayerEventCounter.PlayerOnWeek(curPlayer)
-        Set_PlayerGameServerInitOK_OnWeek(curPlayer, 0)
-        
-    #if Get_PlayerGameServerInitOK_OnWeekEx(curPlayer):
-    #    PlayerEventCounter.PlayerOnWeekEx(curPlayer)
-    #    Set_PlayerGameServerInitOK_OnWeekEx(curPlayer, 0)
-        
-    if Get_PlayerGameServerInitOK_OnMonth(curPlayer):
-        PlayerEventCounter.PlayerOnMonth(curPlayer)
-        Set_PlayerGameServerInitOK_OnMonth(curPlayer, 0)
-        
-    #if Get_PlayerGameServerInitOK_OnMonthEx(curPlayer):
-    #    PlayerEventCounter.PlayerOnMonthEx(curPlayer)
-    #    Set_PlayerGameServerInitOK_OnMonthEx(curPlayer, 0)
-    
-    if Get_PlayerGameServerInitOK_OnYear(curPlayer):
-        PlayerEventCounter.PlayerOnYear(curPlayer)
-        Set_PlayerGameServerInitOK_OnYear(curPlayer, 0)
-        
-    GameWorld.Log('GameSever_PlayerInitOK' , curPlayer.GetID())
-    ChPlayer.DoPlayerRealLoginOK(curPlayer, tick)
-    return
-#---------------------------------------------------------------------
-## 保存OnHour
-#  @param curPlayer 当前玩家
-#  @param value key值
-#  @return None
-#  @remarks 函数详细说明.
-def Set_PlayerGameServerInitOK_OnHour(curPlayer, value):
-    curPlayer.SetDict(OnHourKey, value)
-    #GameWorld.Log('Set_PlayerGameServerInitOK_OnHour , value = %s'%( value ) , curPlayer.GetID())
+    #GameServer已废弃,不再处理该逻辑
+#    curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
+#    #2009-12-17 因地图服务器有可能关闭重开,这里要判定空
+#    if not curPlayer:
+#        GameWorld.ErrLog('GameSever_PlayerInitError playerIndex = %s'%(index))
+#        return
+#    
+#    #设置初始化成功
+#    curPlayer.SetGameServerInitOK(True)
+#    
+#    GameWorld.Log('GameSever_PlayerInitOK' , curPlayer.GetID())
     return
 
-## 获取玩家字典 OnHour
-#  @param curPlayer 当前玩家
-#  @return None
-#  @remarks 函数详细说明.
-def Get_PlayerGameServerInitOK_OnHour(curPlayer):
-    return curPlayer.GetDictByKey(OnHourKey)
-
-## 保存OnDay
-#  @param curPlayer 当前玩家
-#  @param value key值
-#  @return None
-#  @remarks 函数详细说明.
-def Set_PlayerGameServerInitOK_OnDay(curPlayer, value):
-    curPlayer.SetDict(OnDayKey, value)
-    #GameWorld.Log('Set_PlayerGameServerInitOK_OnDay, value = %s'%( value ) , curPlayer.GetID())
-    return
-
-## 获取玩家字典 OnDay
-#  @param curPlayer 当前玩家
-#  @return None
-#  @remarks 函数详细说明.
-def Get_PlayerGameServerInitOK_OnDay(curPlayer):
-    return curPlayer.GetDictByKey(OnDayKey)
-
-def Set_PlayerGameServerInitOK_OnDayEx(curPlayer, value): return curPlayer.SetDict(OnDayExKey, value)
-def Get_PlayerGameServerInitOK_OnDayEx(curPlayer): return curPlayer.GetDictByKey(OnDayExKey)
-    
-## 保存OnWeek
-#  @param curPlayer 当前玩家
-#  @param value key值
-#  @return None
-#  @remarks 函数详细说明.
-def Set_PlayerGameServerInitOK_OnWeek(curPlayer, value):
-    curPlayer.SetDict(OnWeekKey, value)
-    #GameWorld.Log('Set_PlayerGameServerInitOK_OnWeek, value = %s'%( value ) , curPlayer.GetID())
-    return
-
-## 获取玩家字典 OnWeek
-#  @param curPlayer 当前玩家
-#  @return None
-#  @remarks 函数详细说明.
-def Get_PlayerGameServerInitOK_OnWeek(curPlayer):
-    return curPlayer.GetDictByKey(OnWeekKey)
-
-def Set_PlayerGameServerInitOK_OnWeekEx(curPlayer, value): return curPlayer.SetDict(OnWeekExKey, value)
-def Get_PlayerGameServerInitOK_OnWeekEx(curPlayer): return curPlayer.GetDictByKey(OnWeekExKey)
-
-## 保存OnMonth
-#  @param curPlayer 当前玩家
-#  @param value key值
-#  @return None
-#  @remarks 函数详细说明.
-def Set_PlayerGameServerInitOK_OnMonth(curPlayer , value):
-    curPlayer.SetDict(OnMonthKey , value)
-    #GameWorld.Log('Set_PlayerGameServerInitOK_OnMonth, value = %s'%( value ) , curPlayer.GetID())
-    return
-
-## 获取玩家字典 OnMonth
-#  @param curPlayer 当前玩家
-#  @return None
-#  @remarks 函数详细说明.
-def Get_PlayerGameServerInitOK_OnMonth(curPlayer):
-    return curPlayer.GetDictByKey(OnMonthKey)
-
-def Set_PlayerGameServerInitOK_OnMonthEx(curPlayer, value): return curPlayer.SetDict(OnMonthExKey, value)
-def Get_PlayerGameServerInitOK_OnMonthEx(curPlayer): return curPlayer.GetDictByKey(OnMonthExKey)
-
-## 保存OnYear
-#  @param curPlayer 当前玩家
-#  @param value key值
-#  @return None
-#  @remarks 函数详细说明.
-def Set_PlayerGameServerInitOK_OnYear(curPlayer, value):
-    curPlayer.SetDict(OnYearKey, value)
-    #GameWorld.Log('Set_PlayerGameServerInitOK_OnYear, value = %s'%( value ) , curPlayer.GetID())
-    return
-
-## 获取玩家字典 OnYear
-#  @param curPlayer 当前玩家
-#  @return None
-#  @remarks 函数详细说明.
-def Get_PlayerGameServerInitOK_OnYear(curPlayer):
-    return curPlayer.GetDictByKey(OnYearKey)
 
 #===============================================================================
 # //01 15 玩家在RouteServer初始化成功#tagPlayerRouteServerInitOK

--
Gitblit v1.8.0