From f4f907ae6ae2f22207859230e8fc88583fe3a723 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 10 十一月 2021 11:26:11 +0800 Subject: [PATCH] 9341 【BT5】【主干】【后端】情缘系统 --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py index 1401d34..6aac47a 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py @@ -34,6 +34,7 @@ import ChConfig import GMCommon import DirtyList +import CrossBillboard import PlayerBillboard import PlayerExam import PlayerControl @@ -74,6 +75,7 @@ import AuctionHouse import PlayerFairyDomain import GameWorldSkyTower +import GameWorldArena import GameWorldItem import PlayerAssist @@ -496,6 +498,13 @@ callName = pack.GetCallName() resultName = pack.GetResultName() #[queryid, 人气值, 物品ID] + if callName == "PlayerRealLoginOK": + curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + if not curPlayer: + return + ChPlayer.DoPlayerRealLoginOK(curPlayer, tick) + return + if callName == "SendMail": title, content, getDays, playerIDList, addItemList, gold, goldPaper, silver, detail, moneySource = eval(resultName) limitTime = str(GameWorld.GetDatetimeByDiffDays(getDays)) @@ -547,6 +556,10 @@ if callName == "UpdateBillboard": #地图服务器更新排行榜 PlayerBillboard.MapServer_UpdateBillboard(eval(resultName), tick) + return + + if callName == "UpdateCrossBillboard": #地图服务器更新跨服排行榜 + CrossBillboard.MapServer_UpdateCrossBillboard(eval(resultName)) return if callName == 'PyAddFamilyInfoValue': #地图服务器增加战盟信息值 @@ -934,6 +947,14 @@ return resultName = '%s' % ret + # 竞技场 + if callName =="Arena": + curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID) + if not curPlayer: + return + ret = GameWorldArena.MapServer_Arena(curPlayer, eval(resultName)) + resultName = '%s' % ret if ret != None else '' # 需要重置间隔,每次都回复 + # 天星塔 if callName == "SkyTower": ret = GameWorldSkyTower.MapServer_SkyTowerInfo(eval(resultName)) -- Gitblit v1.8.0