| | |
| | | #import MergeBroadcast
|
| | | #import GameWorldMixServerCampaign
|
| | | #import GameWorldMergeKing
|
| | | #import GameWorldMergePK
|
| | | #import PlayerManorWar
|
| | | import GameWorldBoss
|
| | | #import GameWorldActionTeHui
|
| | |
| | | import ReadChConfig
|
| | | import EventReport
|
| | | #import ReloadModule
|
| | | import MergeChildMsg
|
| | | import CrossRealmMsg
|
| | | import CrossRealmPK
|
| | | #import MergePlayer
|
| | | import PlayerFBHelpBattle
|
| | | import PlayerFamilyRedPacket
|
| | |
| | | #跨服广播
|
| | | #MergeBroadcast.OnBroadcastProccee(tick)
|
| | | #跨服PK匹配
|
| | | #GameWorldMergePK.OnPKMatchProcess(tick)
|
| | | CrossRealmPK.OnPKMatchProcess(tick)
|
| | | #跨服王者争霸
|
| | | #GameWorldMergeKing.OnMergeKingProcess(tick)
|
| | |
|
| | |
| | | #GameWorldBoss.CheckResetBossKilledCntOnServerInit()
|
| | | #GameWorldActionTeHui.OnGameServerInitOK() # 特惠活动初始化
|
| | | #子服启动成功告知跨服主服
|
| | | #===========================================================================
|
| | | # serverGroupID = GameWorld.GetServerGroupID()
|
| | | # if GameWorld.IsMergeOpen() and not GameWorld.IsMergeServer():
|
| | | # GameWorld.Log("通知跨服主服务器启动成功, 可接收最新跨服活动状态及数据...")
|
| | | # dataMsg = {"Platform":GameWorld.GetPlatform(), "ServerID":GameWorld.GetServerSID(), "ServerGroupID":serverGroupID}
|
| | | # MergeChildMsg.SendMergerChildToCenterStringData(ChConfig.Def_ClientServerInitOK, dataMsg)
|
| | | # |
| | | # GameWorld.Log("服务器启动成功: ServerGroupID=%s" % serverGroupID)
|
| | | #===========================================================================
|
| | | serverGroupID = GameWorld.GetServerGroupID()
|
| | | if GameWorld.IsCrossRealmOpen() and not GameWorld.IsCrossServer():
|
| | | GameWorld.Log("通知跨服主服务器启动成功, 可接收最新跨服活动状态及数据...")
|
| | | dataMsg = {"ServerGroupID":serverGroupID}
|
| | | CrossRealmMsg.SendMsgToCrossServer(ShareDefine.ClientServerMsg_ServerInitOK, dataMsg)
|
| | | |
| | | GameWorld.Log("服务器启动成功: ServerGroupID=%s" % serverGroupID)
|
| | | return
|
| | |
|
| | | def DoCheckNewServerOpen(tick):
|