From f473d3c18a3aa6c4c0cd98f9396e488676424f4c Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 27 二月 2019 16:04:08 +0800 Subject: [PATCH] 6282 【前端】【2.0】封魔之地的飞跃功能 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py | 22 +++++++++++++--------- 1 files changed, 13 insertions(+), 9 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py index 277ef26..72f5e00 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorld.py @@ -1041,15 +1041,19 @@ def GetPlatform(): return ReadChConfig.GetPyMongoConfig("platform", "PlatformName") -##获得当前服务器ID -# @param 无 -# @return -def GetServerID(): - return ToIntDef(GetServerSID()[1:], 0) +#=============================================================================== +# ##获得当前服务器ID +# # @param 无 +# # @return +# def GetServerID(): +# return ToIntDef(GetServerSID()[1:], 0) +#=============================================================================== -def GetServerSID(): - ##获得当前服务器ID, 带s的 - return ReadChConfig.GetPyMongoConfig("platform", "ServerID") +#=============================================================================== +# def GetServerSID(): +# ##获得当前服务器ID, 带s的 +# return ReadChConfig.GetPyMongoConfig("platform", "ServerID") +#=============================================================================== def GetCreateRoleDays(curPlayer): # 获取创角第几天 @@ -1080,7 +1084,7 @@ mainServerID = ToIntDef(ReadChConfig.GetPyMongoConfig("platform", "%sMainServerID" % accIDPlatform), None) if mainServerID != None: return mainServerID - return GetServerID() + return 0 #=============================================================================== -- Gitblit v1.8.0