| | |
| | | import GameLogic_ElderBattlefield
|
| | | import GameLogic_FamilyBoss
|
| | | import GameLogic_FamilyWar
|
| | | import GameLogic_Dogz
|
| | | import OpenServerCampaign
|
| | | import PlayerCostRebate
|
| | | import PlayerActTotalRecharge
|
| | | import PlayerSpringSale
|
| | | import PlayerBossReborn
|
| | | import PlayerWeekParty
|
| | | import PlayerFlashGiftbag
|
| | | import PlayerFairyCeremony
|
| | | import PlayerRefineStove
|
| | |
| | |
|
| | | #副本OnDay事件响应
|
| | | FBLogic.OnDay(tick)
|
| | | |
| | | #重置跨服活动副本人数分配情况信息
|
| | | PlayerControl.ResetMergeFBPlayerCntInfo(0)
|
| | |
|
| | | #删除所有的任务发布
|
| | | missionPubManager = GameWorld.GetGameWorld().GetDBMissionPubManager()
|
| | |
| | |
|
| | | def __DoPlayerOnDay(curPlayer, onEventType):
|
| | |
|
| | | if GameWorld.IsCrossServer():
|
| | | return
|
| | | |
| | | # 常规过天
|
| | | if onEventType == ShareDefine.Def_OnEventType:
|
| | |
|
| | |
| | |
|
| | | def __DoPlayerOnWeek(curPlayer, onEventType):
|
| | |
|
| | | if GameWorld.IsCrossServer():
|
| | | return
|
| | | |
| | | if onEventType == ShareDefine.Def_OnEventType:
|
| | | #记录上周工资相关流向
|
| | | lastWeekOnlineTime = curPlayer.GetLastWeekOnlineTime()
|
| | |
| | |
|
| | | def __DoPlayerOnMonth(curPlayer, onEventType):
|
| | |
|
| | | if GameWorld.IsCrossServer():
|
| | | return
|
| | |
|
| | | if onEventType == ShareDefine.Def_OnEventType:
|
| | | pass
|
| | |
| | | pack = IPY_GameWorld.IPY_MBroadcastMsg()
|
| | | msg = pack.GetMsg()
|
| | |
|
| | | if not msg.startswith(ShareDefine.Def_Notify_WorldKey_GameWorldBossReborn[:-2]):
|
| | | if not msg.startswith(ShareDefine.Def_Notify_WorldKey_GameWorldBossReborn[:-3]):
|
| | | GameWorld.Log('GameServer_BroadcastMsg msg = %s'%(msg))
|
| | | #---接收世界服务器发来的消息---
|
| | |
|
| | |
| | | elif actionName == ShareDefine.OperationActionName_WishingWell:
|
| | | PlayerWishingWell.RefreshWishingWellAction()
|
| | |
|
| | | elif actionName == ShareDefine.OperationActionName_WeekParty:
|
| | | PlayerWeekParty.RefreshOperationAction_WeekParty()
|
| | | |
| | | return
|
| | |
|
| | | if msgValue.isdigit():
|
| | |
| | | # 活动buff状态变更
|
| | | elif key.startswith(ShareDefine.Def_Notify_WorldKey_ActionBuffState[:-2]):
|
| | | PlayerAction.OnActionBuffStateChange(key, tick)
|
| | | #boss刷新时间参数
|
| | | elif key.startswith(ShareDefine.Def_Notify_WorldKey_BossOnlineHeroCnt[:-2]):
|
| | | GameLogic_Dogz.OnOnlineCntChange(key, tick)
|
| | | |
| | | #===============================================================================
|
| | | # ---修改为上述的 统一字典处理
|
| | | # if msg == ChConfig.Def_Notify_Key_PurTalk:
|