| | |
| | | import PlayerControl
|
| | | import FamilyRobBoss
|
| | | import NPCCustomRefresh
|
| | | import EventShell
|
| | | import FBLogic
|
| | | import FBCommon
|
| | | import EventReport
|
| | |
| | | GameWorld.Log("发送未拾取的物品给玩家: %s" % mailItemList, ownerID)
|
| | | if isCrossServer:
|
| | | serverGroupID = playerServerGroupIDDict.get(ownerID, 0)
|
| | | PlayerControl.SendCrossMail(serverGroupID, "ItemNoPickUp", [ownerID], mailItemList, [gameWorld.GetMapID()])
|
| | | # 删除旧版发送邮件,如果功能还有需要,可使用新版本发送邮件 PlayerMail
|
| | | else:
|
| | | PlayerControl.SendMailByKey("ItemNoPickUp", [ownerID], mailItemList, [gameWorld.GetMapID()])
|
| | |
|
| | |
| | | if playerExistTime < existTime / 2:
|
| | | #这个玩家存在时间过短, 不能触发副本结束的事件
|
| | | continue
|
| | |
|
| | | #副本时间到了, 调用时间到响应
|
| | | EventShell.EventResponse_OnFBTimeOut(curPlayer)
|
| | | |
| | | |
| | | #输出调试信息
|
| | | GameWorld.Log('__ProcessTimeKickPlayer! LineID = %s, openState = %s'%(gameWorld.GetLineID(), gameWorld.GetOpenState()))
|
| | |
|
| | |
| | | def InitGameWorld(tick):
|
| | | gameWorld = GameWorld.GetGameWorld()
|
| | | ItemCommon.InitPyItem()
|
| | | EventShell.DoReloadRefresh()
|
| | | #处理副本逻辑
|
| | | FBLogic.OnInit(tick)
|
| | | #初始化地图时钟
|