From 7b595426207daeffce03d7f57ab9cc7000b18c7a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 24 一月 2025 18:39:25 +0800
Subject: [PATCH] 8796 【越南】【英语】【BT】【砍树】在线奖励改为优先取对应创角天奖励,没有则取每日奖励;

---
 ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py b/ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py
index d97fb10..5c20298 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/PyGameData.py
@@ -20,6 +20,10 @@
 
 g_pyGameDataManager = None
 
+g_onlinePlayerMgr = None # 玩家在线管理
+
+g_billboardMgrMgr = None # 本服榜单管理
+
 g_commMapLineInfo = {} # 地图线路真实地图虚拟线信息 {(dataMapID, lineID):(realMapID, copyMapID), ...}
 g_commMapLineRouteDict = {} # 地图线路路由服务索引信息 {(dataMapID, lineID):routeServerIndex, ...}
 g_commMapLinePlayerCountDict = {} # 常规地图分线人数 {dataMapID:{lineID:人数, ...}}
@@ -76,7 +80,6 @@
 g_yesterdayPlayerLVDict = {} #昨日玩家等级字典{playerID:lv,..}
 g_onedayJobPlayerLoginoffTimeDict = {} #近24小时登录/离线的玩家职业数 {职业:{playerID:loginoffTime, ...}}
 
-g_ctgOfflinePlayerInfo = {} # {playerID:[[ctgInfo], ...], ...} # 离线玩家CTG信息缓存
 g_gmtOfflinePlayerInfo = {} # {(queryType, playerFind):[gmtInfo, ...], ...} # 离线玩家GMT信息缓存
 
 g_questionIDHistory = {}#出过的题记录 {familyid:[出过的题id,..]}
@@ -84,6 +87,8 @@
 g_familyPartyTopInfo = [] #仙盟宴会答题王 [playerID,名字]
 g_partyheroAnswerDict = {} #仙盟宴会玩家答对题目数量 {playerid:答题数量,..}
 g_familyAnswerPlayerIDDict = {} #仙盟宴会玩家参与答题数量  {playerID:[题目ID, ...], ...}
+g_chuangongPlayerDict = {} #传功玩家信息 {playerID:[目标玩家ID, ...], ...}
+g_chuangongTagPlayerDict = {} #协助传功玩家信息 {playerID:协助玩家ID, ...}
 
 g_redPacketMgr = None # RedPacketMgr
 
@@ -111,6 +116,7 @@
 g_luckyCloudBuyNumDict = {} # 幸运云购购买记录 {zoneID:[LuckyCloudBuyNum, ...], ...}
 g_luckyCloudBuyLotteryDict = {} # 幸运云购开奖记录 {zoneID:[LuckyCloudBuyLottery, ...], ...}
 g_unNotifyCloudBuyNumDict = {} # 未通知的跨服云购购买信息 {playerID:msgData, ...}
+g_luckyCloudBuyRemainCountDict = {} # 幸运云购剩余购买份数 {zoneID:remainCount, ...} - 子服用
 
 g_crossActInfoDict = None # 跨服运营活动信息 {actName:{actInfoDict}, ...}
 
@@ -119,15 +125,7 @@
 
 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], ...},主要为了防刷(击杀马上下线导致通知不到,然后上线捡东西)
 
@@ -144,6 +142,7 @@
 g_unNotifyPlayerCrossMsgDict = {} # 未通知玩家的跨服命令 {playerID:{msgType:[msgInfo], ...}, ...}
 
 g_crossBattlefieldBuyInfo = {} # 跨服战场购买记录 {zoneID:{hmNum:{playerID:CrossBattlefieldBuy, ...}, ...}, ...}
+g_crossBattlefieldSysCallBuyList = [] # 跨服战场系统场次购买召集玩家ID列表 [playerID, ...]
 g_openDateTime = None # 本场次开启的时间
 g_overPlayerIDList = [] # 本场次已经结算的玩家ID列表
 
@@ -152,7 +151,11 @@
 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