From 3f0b93755905cef314b40b1800920b352a6c7634 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 21 五月 2025 19:49:13 +0800 Subject: [PATCH] 16 卡牌服务端(优化开关服:公共数据备档、db加载、入库逻辑;删除无用公共数据表;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py index 3754746..8eed522 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyGameData.py @@ -15,10 +15,14 @@ #"""Version = 2017-09-05 21:30""" #------------------------------------------------------------------------------- +g_loadDataOK = False # 是否成功加载数据,备档、db数据 +g_lastRTBTime = 0 # 上一次备档时间戳 g_initGameTime = 0 # 开始初始化服务器时间戳 g_serverInitOK = False # 服务器是否启动成功 g_highProcessTick = 0 # 每秒触发一次,上次Tick g_minuteProcess = -1 # 每分钟触发一次,上次处理的分钟 +g_serverClosing = 0 # 是否关服中 0-非关服中;1-关服中;2-关服结束 +g_closeSaveDataOK = False # 关服数据入库是否成功 g_pyGameDataManager = None -- Gitblit v1.8.0