| | |
| | | #"""Version = 2017-09-05 21:30"""
|
| | | #-------------------------------------------------------------------------------
|
| | |
|
| | | g_initGame = False
|
| | | 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
|
| | |
|
| | | g_dbPlayerIDMap = {} # 本服DBPlayer玩家表ID映射关系 {playerID:accID, ...}
|
| | |
|
| | | g_onlineMgr = None
|
| | |
|
| | | g_turnFightMgr = None
|
| | |
|
| | | g_mapIDTxtInfo = {} # MapID.txt 加载的信息
|
| | | g_realmDiffPlayerDict = {} # 境界难度玩家信息 {realm:[playerID, ...], ...}
|
| | |
| | | g_playerReqEnterFBEx = {} # 请求进入地图额外信息 {playerID:[...], ...}
|
| | | g_commMapLinePlayerCountDict = {} # 常规地图分线人数 {mapID:{lineID:人数, ...}}
|
| | | g_needRefreshMapServerState = True # 常规地图分线人数是否有变更需要通知
|
| | | g_mapLastProcess_Minute = -1 # 地图上次处理的分钟
|
| | | g_ipyDataRecycleCheckTime = 0 # 地图IpyData数据回收检查time
|
| | |
|
| | | InitPyItem = False # 是否加载过物品表所需要的Py数据, 每张地图只在启动时执行一次
|
| | |
| | | g_teamPlayerDict = {} # 地图队伍对应玩家ID列表,含离线玩家 {teamID:[playerID, ...], ...}
|
| | | g_teamPlayerInfoDict = {} # 地图队伍对应玩家ID信息 {teamID:{playerID:{k:v, ...}, ...}
|
| | |
|
| | | g_funcTeamPlayerDict = {} # 功能队伍玩家ID列表 {(zoneID, funcMapID): {teamID:[playerID, ...], ...}, ...}
|
| | |
|
| | | g_unLoginOKPlayerMailInfo = {} # GameServer 未登录成功前需要发送的邮件缓存,防止登录失败不存db导致重复发送邮件 {playerID:[[待发送邮件内容信息], ...], ...}
|
| | | g_disconnectPlayer = {} # 在本地图离线的玩家信息 {playerID:[tick, posX, posY], ...}
|
| | | g_lastExitFBType = {} # 最后一个离开副本信息 {fbIndex:[exitType, tick], ...} exitType: 1-掉线,2-主动退出
|
| | |
|
| | |
| | |
|
| | | g_singleAtkRecordList = None # 单次攻击记录
|
| | |
|
| | | g_UserCtrlDBFirstInit = False
|
| | | g_playerDataCntInfo = {} # 玩家各表最后一次存档时数据条数 {playerID:{表名:条数, ...}, ...}
|
| | | g_mergeRegisterPlayerDict = {} # 跨服玩家数据缓存 {accID:[loginTime, logoutTime, recvPack, groupID], ...}
|
| | |
|
| | | g_usrCtrlDB = None #数据库实例 |