hxp
2026-03-02 529f150ee9733360cd98dc55a4446778357c17a0
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py
@@ -231,6 +231,11 @@
    GameWorld.Log("OnSSGMCMD cmdStr=%s,fromServerID=%s" % (cmdStr, fromServerID), playerID)
    crossPlayer = CrossPlayer.GetCrossPlayerMgr().FindCrossPlayer(playerID)
    if not crossPlayer:
        if GameWorld.IsCrossCenter():
            GameWorld.ErrLog("跨服中心找不到crossPlayer!直接注册", playerID)
            crossPlayer = CrossPlayer.GetCrossPlayerMgr().RegistPlayer(playerID) # 跨服中心不存在该玩家,直接注册
            crossPlayer.SetMainServerID(fromServerID)
    if not crossPlayer:
        GameWorld.ErrLog("本服找不到crossPlayer!", playerID)
        return
    cmdList = eval(cmdStr)