From 31c675b8388e92ce00c2a08da64b7e8e8fa93fe0 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 25 六月 2024 16:12:40 +0800
Subject: [PATCH] 10185 【越南】【港台】【主干】BOSS凭证修改(增加活动商店支持;增加货币43凭证积分;提交1个凭证增加1积分;)

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py
index 3c0ca30..ce08d9f 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py
@@ -31,6 +31,7 @@
 import IPY_GameServer
 import PlayerDBGSEvent
 import CrossChampionship
+import GameWorldMineArea
 import IpyGameDataPY
 import CrossRealmMsg
 import ShareDefine
@@ -207,18 +208,6 @@
     return NotifyCodeList
 
 #------------------------------------------------------------------------------ 
-def LoadDBPlayer():
-    if GameWorld.IsCrossServer():
-        return
-    PlayerDBOper.FindDBOper(PlayerDBOper.Table_DBPlayer, {}, {"PlayerID":1, "AccID":1, "_id":0}, LoadDBPlayerRet)
-    return
-
-def LoadDBPlayerRet(resultSetList, extendValueList):
-    for resultDict in resultSetList:
-        PyGameData.g_dbPlayerIDMap[resultDict["PlayerID"]] = resultDict["AccID"]
-    GameWorld.Log("启动服务器加载DBPlayer玩家账号ID对应关系! %s, %s" % (len(PyGameData.g_dbPlayerIDMap), PyGameData.g_dbPlayerIDMap))
-    return
-
 def GetDBPlayerAccIDByID(playerID):
     ## 获取玩家表账号ID - 根据玩家ID, 可用于判断是否本服玩家
     return PyGameData.g_dbPlayerIDMap.get(playerID, "")
@@ -437,6 +426,7 @@
     playerID = curPlayer.GetPlayerID()
     FuncOpenLogicDict = {
                          ShareDefine.GameFuncID_Championship:lambda curObj:CrossChampionship.DoChampionshipOpen(curObj),
+                         ShareDefine.GameFuncID_MineArea:lambda curObj:GameWorldMineArea.DoMineAreaFuncOpen(curObj),
                          }
     for funcID in funcIDList:
         if funcID in FuncOpenLogicDict:

--
Gitblit v1.8.0