hxp
2026-02-12 4801fc0909fe2af7af301b3bafdf67dbd6916ed7
16 卡牌服务端(废弃平台配置,暂时只使用AppID;)
3个文件已修改
10 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldAction.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/GMShell.py
@@ -73,7 +73,7 @@
                if len(inputList) != 2:
                    return
                gmLV = GameWorld.ToIntDef(inputList[1])
                playerPF = GameWorld.GetPlatform()
                playerPF = GameWorld.GetAppID()
#                curIP = curPlayer.GetIP()
#                if (curIP.find('10.30.') == 0 or curIP.find('192.168.') == 0) and playerPF == "173on_lan":
                #测试修改
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py
@@ -1441,12 +1441,6 @@
    #    return serverID
    #return MainServerDict[serverID]
##获得当前服务器平台
# @param 无
# @return
def GetPlatform():
    return ReadChConfig.GetPyMongoConfig("platform", "PlatformName")
def GetAppID():
    ## 获取渠道ID
    return ReadChConfig.GetPyMongoConfig("platform", "AppID")
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/GameWorldAction.py
@@ -69,7 +69,7 @@
    #maxCustomServerDayMix = IpyGameDataPY.GetFuncCfg("MixServer", 1) # 定制运营活动最大合服天
    operationTodayActionDict = {}
    PyGameData.g_operationActionDict = {}
    platform = GameWorld.GetPlatform()
    platform = GameWorld.GetAppID() # 暂时先直接用AppID,废弃平台配置
    serverID = GameWorld.GetGameWorld().GetServerID()
    ipyDataMgr = IpyGameDataPY.IPY_Data()
    curWeekday = curDateTime.weekday() + 1 # 今天星期几, 1代表星期1