From 09daae185e5a4005076419f98d896f991e39335e Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 11 三月 2019 21:30:51 +0800
Subject: [PATCH] 6332 【后端】【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