From a573a1cf90e06715a3da3ed76427e5b2794c06a8 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 31 十二月 2024 14:50:55 +0800
Subject: [PATCH] 10350 【后端】【越南】【英文】【BT】【砍树】跨服竞技场优化(跨服排位)

---
 ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py |   53 ++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 44 insertions(+), 9 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py b/ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py
index 1ec968e..c5dde90 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py
@@ -12,7 +12,17 @@
 #
 #---------------------------------------------------------------------
 
+g_dbPlayerIDMap = {} # DBPlayer玩家表ID映射关系 {playerID:accID, ...}
+
+g_allMapServerInitOK = False
+
+g_noPlayerLoginWarningMailState = 0 # 服务器启动后无玩家登录预警邮件状态; 0-未处理;1-已发送;2-有玩家登录了
+
 g_pyGameDataManager = None
+
+g_onlinePlayerMgr = None # 玩家在线管理
+
+g_billboardMgrMgr = None # 本服榜单管理
 
 g_commMapLineInfo = {} # 地图线路真实地图虚拟线信息 {(dataMapID, lineID):(realMapID, copyMapID), ...}
 g_commMapLineRouteDict = {} # 地图线路路由服务索引信息 {(dataMapID, lineID):routeServerIndex, ...}
@@ -78,6 +88,8 @@
 g_familyPartyTopInfo = [] #仙盟宴会答题王 [playerID,名字]
 g_partyheroAnswerDict = {} #仙盟宴会玩家答对题目数量 {playerid:答题数量,..}
 g_familyAnswerPlayerIDDict = {} #仙盟宴会玩家参与答题数量  {playerID:[题目ID, ...], ...}
+g_chuangongPlayerDict = {} #传功玩家信息 {playerID:[目标玩家ID, ...], ...}
+g_chuangongTagPlayerDict = {} #协助传功玩家信息 {playerID:协助玩家ID, ...}
 
 g_redPacketMgr = None # RedPacketMgr
 
@@ -85,29 +97,36 @@
 
 g_fbHelpBattleCheckInPlayerDict = {} # 副本助战玩家登记缓存 {playerID:HelpBattlePlayer, ...}
 
+g_marryReqInfo = {} # 当前进行中的求亲信息 {请求玩家ID:MarryReq, ...}
+g_marryCandyInfo = {} # 进行中的喜糖信息 {(playerIDA, playerIDB):MarryCandy, ...}
+g_marryCandySortList = [] # 按结算时间排序后的喜糖列表,升序
+g_marryBreakInfo = {} # 进行中的离婚信息{(playerIDA, playerIDB):MarryCandy, ...}
+g_marryBreakSortList = [] # 按提交时间排序后的喜糖列表,升序
+
 g_arenaPlayerBattleRecDict = {} # 本服竞技场玩家挑战记录缓存 {playerID:[ArenaBattleRec, ...], ...}
 g_arenaPlayerMatchDict = {} # 本服竞技场玩家匹配记录缓存 {playerID:[ArenaMatchPlayer, ...], ...}
+g_arenaRobotLVList = [] # 本服竞技场机器人等级列表
 
 g_autoViceleaderDict = {}#自动安排副盟主的玩家记录{familyID:[]}
 g_forbidAutoViceleaderFamily = [] #禁止自动安排副盟主的仙盟[familyID,..]
 
 g_crossZoneName = "" # 跨服分区名
 
+g_crossServerTimeInfo = [0, 0, 0] # 跨服时间信息 [crossServerTime, curServerTime, syncMapTime]
+
+g_luckyCloudBuyNumDict = {} # 幸运云购购买记录 {zoneID:[LuckyCloudBuyNum, ...], ...}
+g_luckyCloudBuyLotteryDict = {} # 幸运云购开奖记录 {zoneID:[LuckyCloudBuyLottery, ...], ...}
+g_unNotifyCloudBuyNumDict = {} # 未通知的跨服云购购买信息 {playerID:msgData, ...}
+g_luckyCloudBuyRemainCountDict = {} # 幸运云购剩余购买份数 {zoneID:remainCount, ...} - 子服用
+
 g_crossActInfoDict = None # 跨服运营活动信息 {actName:{actInfoDict}, ...}
 
+g_playerDelMailGUIDDict = {} # 玩家邮件GUID信息 {playerID:[GUID, ...], ...} 仅触发删除才有数据,且并不一定所有GUID都存在,仅作为删除邮件时用到
 g_crossMailPlayerDict = {} # 有跨服邮件的玩家ID信息 {playerID:tick, ...}
 
 g_crossPlayerViewCache = {} # 查看跨服玩家信息 {playerID:[cacheInfo, updTick], ...}
 
-g_crossPKPlayerDict = {} # 跨服PK玩家字典  {playerID:PKPlayer, ...}
-g_crossPKZoneMatchPlayerDict = {} # 跨服PK匹配中的玩家字典 {zoneID:[playerID, ...], ...}
-g_crossPKZoneMatchRobotPlayerDict = {} # 跨服PK匹配机器人的玩家字典 {playerID:PKPlayer, ...}
-g_crossPKRoomDict = {} # 跨服PK房间字典 {roomID:PKRoom, ...}
-g_crossPKRoomID = 0 # 跨服PK当前已经创建到的房间ID,自增创建
-g_crossPKTodayPKRecordInfo = {} # 跨服PK玩家今日PK记录 {playerID:[[tagPlayerID, winnerID], ...]}
-g_crossPKBesureMatchRobotInfo = {} # 跨服PK玩家必定匹配机器人次数信息 {playerID:besureMatchRobotCount, ...}
-
-g_crossPKUnNotifyOverInfo = {} # 跨服PK未同步的结算信息 {player:[overInfo], ...}
+g_crossPKMatchDict = {} # 跨服PK匹配列表 {playerID:[匹配到的玩家ID, ...], ...}
 
 g_unNotifyKillCrossBossDict = {} # 未通知成功的击杀跨服boss {playerID:[killInfo], ...},主要为了防刷(击杀马上下线导致通知不到,然后上线捡东西)
 
@@ -121,7 +140,23 @@
 
 g_crossFBFuncLinePlayerCountInfo = {} # 跨服副本功能线路人数信息,本服缓存 {mapID:{funcLineID:[playerCount], ...}, ...}
 
+g_unNotifyPlayerCrossMsgDict = {} # 未通知玩家的跨服命令 {playerID:{msgType:[msgInfo], ...}, ...}
+
+g_crossBattlefieldBuyInfo = {} # 跨服战场购买记录 {zoneID:{hmNum:{playerID:CrossBattlefieldBuy, ...}, ...}, ...}
+g_crossBattlefieldSysCallBuyList = [] # 跨服战场系统场次购买召集玩家ID列表 [playerID, ...]
+g_openDateTime = None # 本场次开启的时间
+g_overPlayerIDList = [] # 本场次已经结算的玩家ID列表
+
+g_championshipMgr = None # 跨服排位争霸赛管理
+
+g_crossActAllRechargeInfo = {} # 跨服全民充值信息,本服用 {zoneID:{playerID:总充值, ...}, ...}
+g_crossYaomoBossHurtInfo = {} # 跨服妖魔boss伤害信息,本服用 {playerID:hurtTotal, ...}
+
+g_requestPlayerPackDataInfo = {} # 请求玩家打包数据汇总信息 {requestID:{"msgInfo":msgInfo, "packDataDict":packDataDict}, ...}
+
 g_familyTalkCache = {} #{familyID:[[time,content,extras],..]}
 g_worldTalkCache = [] #[[time,name, playerID, content,extras],..]
 
+g_xiangongCanLikeTimeDict = {} # 本服玩家对应仙宫可点赞最新时间信息 {playerID:{仙宫ID:addTime, ...}, ...}
+
 g_unTJLogoffTime = {} #非脱机离线时间 {playerID:time, ...}

--
Gitblit v1.8.0