16 卡牌服务端(SetCurGameWorldIndex改为在requestLogicProcess源头设置;)
| | |
| | | mylog.info('GM Tool Cmd->%s,orderId->%s'%(cmd, orderId))
|
| | | funcName = ''
|
| | | try:
|
| | | GameWorld.GetGameWorld().SetCurGameWorldIndex(0) # 需要设置,不然获取不到 GetMap 等虚拟分线相关接口
|
| | | |
| | | # 获得gm命令信息
|
| | | gmCmdDict = eval(cmd)
|
| | | funcName = gmCmdDict.get(GMCommon.Def_GMKey_Type, '')
|
| | |
| | | return dbPlayer.adoUpdateC(col)
|
| | |
|
| | | def requestLogicProcess(self, pack):
|
| | | GameWorld.GetGameWorld().SetCurGameWorldIndex(0) # 需要设置,不然获取不到 GetMap 等虚拟分线相关接口
|
| | | db = self.db
|
| | | if self.IsMergeServer():
|
| | | # 每X分钟清除已下线的玩家跨服数据, 离线超过3分钟玩家直接返回子服
|