From d7f44d8d871a90c818bdb3ffe9a60af875b7100a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 30 九月 2025 10:12:23 +0800
Subject: [PATCH] 135 【挑战】战锤秘境-服务端(白骨盈野;副本基础;副本扫荡;广告奖励支持;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py |   82 +++--------------------------------------
 1 files changed, 6 insertions(+), 76 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
index dee4d3b..bc2b1ed 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerEventCounter.py
@@ -23,7 +23,6 @@
 import ChPlayer
 import GameServerRefresh
 import ShareDefine
-import PlayerGameWallow
 import PlayerSignDay
 import PlayerCoin
 import PlayerControl
@@ -40,11 +39,9 @@
 import PlayerFreeGoods
 import ChItem
 import PlayerGoldInvest
-import PlayerNewGuyCard
 import PlayerCrossRealmPK
 import PlayerCrossChampionship
 import PlayerPet
-import PlayerRecover
 import PlayerFamilyRedPacket
 import OpenServerCampaign
 import PlayerCostRebate
@@ -52,10 +49,6 @@
 import CrossActAllRecharge
 import PlayerActCollectWords
 import PlayerActTotalRecharge
-import PlayerActGarbageSorting
-import PlayerActXianXiaMJ
-import PlayerActGubao
-import PlayerActHorsePetTrain
 import PlayerActLianqi
 import PlayerActGodGift
 import PlayerActFamilyGCZ
@@ -66,7 +59,6 @@
 import PlayerActRechargePrize
 import PlayerActGrowupBuy
 import PlayerActTurntable
-import PlayerActBossTrial
 import PlayerActBuyOne
 import PlayerSpringSale
 import PlayerBossReborn
@@ -84,7 +76,6 @@
 import PlayerFlashGiftbag
 import PlayerDailyGiftbag
 import PlayerOfflineSupport
-import PlayerActHorsePetFeast
 import PlayerFeastRedPacket
 import PlayerCrossYaomoBoss
 import PlayerLuckyCloudBuy
@@ -99,9 +90,7 @@
 import IpyGameDataPY
 import PlayerArena
 import PyGameData
-import PlayerGuaji
 import PlayerXiangong
-import PlayerMineArea
 import PlayerBillboard
 import PlayerViewCache
 import PlayerMail
@@ -125,6 +114,7 @@
     
     #仙盟
     PlayerFamily.FamilyOnDay()
+    PlayerArena.OnDay()
     
     PlayerOfflineSupport.OnDay()
     playerManager = GameWorld.GetPlayerManager()
@@ -163,6 +153,8 @@
 
 def DoLogic_OnWeek(tick):
     GameWorld.Log("MapServer -> OnWeek!")
+    
+    PlayerArena.OnWeek()
     
     playerManager = GameWorld.GetPlayerManager()
     for i in xrange(playerManager.GetPlayerCount()):
@@ -266,9 +258,7 @@
         curPlayer.SetDayProcessGameEventCount(0)
         
         #重置宠物每天的训练次数
-        PlayerPet.DoLogic_PetInfo_OnDay(curPlayer)
-        
-        PlayerGameWallow.RevertHealthGame_OnDay(curPlayer)
+        #PlayerPet.DoLogic_PetInfo_OnDay(curPlayer)
         
         PlayerOnlinePrize.ResetPrizeInfoOnDay(curPlayer)
         
@@ -284,10 +274,6 @@
         PlayerTree.PlayerOnDay(curPlayer)
         #成就
         PlayerSuccess.SuccOnDay(curPlayer)
-        
-        # 新手卡
-        PlayerNewGuyCard.NewGuyCardOnday(curPlayer)
-        
         #投资
         PlayerGoldInvest.OnDay(curPlayer)
         #战令
@@ -302,31 +288,11 @@
         #仙宫
         PlayerXiangong.PlayerOnDay(curPlayer)
         PlayerControl.PayCoinOnDay(curPlayer)
-        #玩法前瞻奖励
-        gameNoticeAwardState = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_GameNoticeAwardState)
-        if gameNoticeAwardState:
-            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_GameNoticeAwardState, 0)
-            ChPlayer.Sync_RewardGetRecordInfo(curPlayer, ChConfig.Def_RewardType_GameNotice, 0)
-        #每日分享奖励重置
-        shareGameAwardState = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ShareGameAwardState)
-        if shareGameAwardState:
-            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_ShareGameAwardState, 0)
-            ChPlayer.Sync_RewardGetRecordInfo(curPlayer, ChConfig.Def_RewardType_ShareGame, 0)
-        #开服每日奖励
-        awardState = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_OpenSererDailyAward)
-        if awardState:
-            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_OpenSererDailyAward, 0)
-            ChPlayer.Sync_RewardGetRecordInfo(curPlayer, ChConfig.Def_RewardType_OpenServerDailyAward, 0)
-        #开服每日奖励
-        awardState = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_RechargeDayAward)
-        if awardState:
-            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RechargeDayAward, 0)
-            ChPlayer.Sync_RewardGetRecordInfo(curPlayer, ChConfig.Def_RewardType_RechargeDayAward, 0)
+        ChPlayer.PlayerOnDay(curPlayer)
+        
     # 特殊时间点X点过天
     elif onEventType == ShareDefine.Def_OnEventTypeEx:
         PlayerHero.PlayerOnDay(curPlayer)
-        # 资源找回
-        PlayerRecover.RecoverOnDay(curPlayer)
         # 仙盟过天
         PlayerFamily.PlayerOnDay(curPlayer)
         # 重置物品每日使用次数
@@ -341,10 +307,6 @@
         PlayerCrossChampionship.DoPlayerOnDay(curPlayer)
         #竞技场
         PlayerArena.OnDayEx(curPlayer)
-        #福地
-        PlayerMineArea.PlayerOnDay(curPlayer)
-        #挂机
-        PlayerGuaji.PlayerOnDay(curPlayer)
         #特殊时间点过天的,一般是游戏功能,此时立即同步一次跨服玩家数据
         CrossPlayerData.SendMergePlayerDataNow(curPlayer)
         
@@ -363,8 +325,6 @@
     PlayerWishingWell.OnDay(curPlayer)
     #通天令
     PlayerTongTianLing.OnDay(curPlayer, onEventType)
-    #boss凭证
-    PlayerActBossTrial.PlayerOnDay(curPlayer, onEventType)
     #任务活动
     PlayerActTask.OnDay(curPlayer)
     #登录活动
@@ -957,18 +917,6 @@
             elif actionName == ShareDefine.OperationActionName_TotalRecharge:
                 PlayerActTotalRecharge.RefreshTotalRechargeActionInfo(actNum)
                 
-            elif actionName == ShareDefine.OperationActionName_GarbageSorting:
-                PlayerActGarbageSorting.RefreshGarbageSortingActionInfo(actNum)
-                
-            elif actionName == ShareDefine.OperationActionName_XianXiaMJ:
-                PlayerActXianXiaMJ.RefreshXianXiaMJActionInfo(actNum)
-                
-            elif actionName == ShareDefine.OperationActionName_Gubao:
-                PlayerActGubao.RefreshGubaoActionInfo(actNum)
-                
-            elif actionName == ShareDefine.OperationActionName_HorsePetTrain:
-                PlayerActHorsePetTrain.RefreshHorsePetTrainActionInfo(actNum)
-                
             elif actionName == ShareDefine.OperationActionName_GodGift:
                 PlayerActGodGift.RefreshGodGiftActionInfo(actNum)
                 
@@ -986,12 +934,6 @@
 
             elif actionName == ShareDefine.OperationActionName_BossReborn:
                 PlayerBossReborn.RefreshOperationAction_BossReborn()
-                
-            elif actionName == ShareDefine.OperationActionName_BossTrial:
-                PlayerActBossTrial.RefreshBossTrialActionInfo(actNum)
-                
-            elif actionName == ShareDefine.OperationActionName_HorsePetFeast:
-                PlayerActHorsePetFeast.RefreshOperationAction_HorsePetFeast(actNum)
                 
             elif actionName == ShareDefine.OperationActionName_FlashGiftbag:
                 PlayerFlashGiftbag.RefreshFlashGiftbagActionInfo(actNum)
@@ -1081,18 +1023,6 @@
                 
             elif actionName == ShareDefine.CrossActName_AllRecharge:
                 CrossActAllRecharge.RefreshCrossActAllRechargeInfo()
-                
-            elif actionName == ShareDefine.CrossActName_BossTrial:
-                PlayerActBossTrial.RefreshCrossActBossTrialInfo()
-                
-            elif actionName == ShareDefine.CrossActName_XianXiaMJ:
-                PlayerActXianXiaMJ.RefreshCrossActXianXiaMJInfo()
-                
-            elif actionName == ShareDefine.CrossActName_Gubao:
-                PlayerActGubao.RefreshCrossActGubaoInfo()
-                
-            elif actionName == ShareDefine.CrossActName_HorsePetTrain:
-                PlayerActHorsePetTrain.RefreshCrossActHorsePetTrainInfo()
                 
             elif actionName == ShareDefine.CrossActName_Lianqi:
                 PlayerActLianqi.RefreshCrossActLianqiInfo()

--
Gitblit v1.8.0