From fe1843433bcf4cd3fdea1210aa753c1d8cd4e977 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 25 二月 2026 18:23:13 +0800
Subject: [PATCH] 0312  登录地图再次验证是否卡号,卡号则直接进行下线逻辑

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/ProjSpecialProcess.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/ProjSpecialProcess.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/ProjSpecialProcess.py
index 5b8add7..79723ec 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/ProjSpecialProcess.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/PyMongoDB/GMToolLogicProcess/ProjSpecialProcess.py
@@ -102,6 +102,8 @@
     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, '')  

--
Gitblit v1.8.0