| | |
| | | import ChPlayer
|
| | | import GameServerRefresh
|
| | | import ShareDefine
|
| | | import PlayerGameWallow
|
| | | import PlayerSignDay
|
| | | import PlayerCoin
|
| | | import PlayerControl
|
| | |
| | | import PlayerFreeGoods
|
| | | import ChItem
|
| | | import PlayerGoldInvest
|
| | | import PlayerNewGuyCard
|
| | | import PlayerCrossRealmPK
|
| | | import PlayerCrossChampionship
|
| | | import PlayerPet
|
| | |
| | | import CrossActAllRecharge
|
| | | import PlayerActCollectWords
|
| | | import PlayerActTotalRecharge
|
| | | import PlayerActGarbageSorting
|
| | | import PlayerActXianXiaMJ
|
| | | import PlayerActGubao
|
| | | import PlayerActHorsePetTrain
|
| | | import PlayerActLianqi
|
| | | import PlayerActGodGift
|
| | | import PlayerActFamilyGCZ
|
| | |
| | | import PlayerActRechargePrize
|
| | | import PlayerActGrowupBuy
|
| | | import PlayerActTurntable
|
| | | import PlayerActBossTrial
|
| | | import PlayerActBuyOne
|
| | | import PlayerSpringSale
|
| | | import PlayerBossReborn
|
| | |
| | | import PlayerFlashGiftbag
|
| | | import PlayerDailyGiftbag
|
| | | import PlayerOfflineSupport
|
| | | import PlayerActHorsePetFeast
|
| | | import PlayerFeastRedPacket
|
| | | import PlayerCrossYaomoBoss
|
| | | import PlayerLuckyCloudBuy
|
| | |
| | | import IpyGameDataPY
|
| | | import PlayerArena
|
| | | import PyGameData
|
| | | import PlayerGuaji
|
| | | import PlayerXiangong
|
| | | import PlayerMineArea
|
| | | import PlayerBillboard
|
| | | import PlayerViewCache
|
| | | import PlayerMail
|
| | | import PlayerHero
|
| | | import PlayerTree
|
| | |
|
| | | import datetime
|
| | | import time
|
| | |
| | |
|
| | | #仙盟
|
| | | PlayerFamily.FamilyOnDay()
|
| | | PlayerArena.OnDay()
|
| | |
|
| | | PlayerOfflineSupport.OnDay()
|
| | | playerManager = GameWorld.GetPlayerManager()
|
| | |
| | |
|
| | | def DoLogic_OnWeek(tick):
|
| | | GameWorld.Log("MapServer -> OnWeek!")
|
| | | |
| | | PlayerArena.OnWeek()
|
| | |
|
| | | playerManager = GameWorld.GetPlayerManager()
|
| | | for i in xrange(playerManager.GetPlayerCount()):
|
| | |
| | | curPlayer.SetDayProcessGameEventCount(0)
|
| | |
|
| | | #重置宠物每天的训练次数
|
| | | PlayerPet.DoLogic_PetInfo_OnDay(curPlayer)
|
| | | |
| | | PlayerGameWallow.RevertHealthGame_OnDay(curPlayer)
|
| | | #PlayerPet.DoLogic_PetInfo_OnDay(curPlayer)
|
| | |
|
| | | PlayerOnlinePrize.ResetPrizeInfoOnDay(curPlayer)
|
| | |
|
| | |
| | | #------------------------------------------------------------------------------
|
| | |
|
| | | PlayerCoin.OnDay(curPlayer)
|
| | | |
| | | PlayerTree.PlayerOnDay(curPlayer)
|
| | | #成就
|
| | | PlayerSuccess.SuccOnDay(curPlayer)
|
| | | |
| | | # 新手卡
|
| | | PlayerNewGuyCard.NewGuyCardOnday(curPlayer)
|
| | | |
| | | #投资
|
| | | PlayerGoldInvest.OnDay(curPlayer)
|
| | | #战令
|
| | |
| | | PlayerCrossChampionship.DoPlayerOnDay(curPlayer)
|
| | | #竞技场
|
| | | PlayerArena.OnDayEx(curPlayer)
|
| | | #福地
|
| | | PlayerMineArea.PlayerOnDay(curPlayer)
|
| | | #挂机
|
| | | PlayerGuaji.PlayerOnDay(curPlayer)
|
| | | #特殊时间点过天的,一般是游戏功能,此时立即同步一次跨服玩家数据
|
| | | CrossPlayerData.SendMergePlayerDataNow(curPlayer)
|
| | |
|
| | |
| | | PlayerWishingWell.OnDay(curPlayer)
|
| | | #通天令
|
| | | PlayerTongTianLing.OnDay(curPlayer, onEventType)
|
| | | #bossƾ֤
|
| | | PlayerActBossTrial.PlayerOnDay(curPlayer, onEventType)
|
| | | #任务活动
|
| | | PlayerActTask.OnDay(curPlayer)
|
| | | #登录活动
|
| | |
| | | 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)
|
| | |
|
| | |
| | |
|
| | | 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)
|
| | |
| | |
|
| | | 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()
|