From 4e6d5af98a0e0810ddfe2cc0faaec2832f865bd6 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 20 五月 2025 15:23:30 +0800
Subject: [PATCH] 15 卡牌服务端搭建 - 地图增加FindStr接口;玩家下线保存,python增加MapCallDB调用DB逻辑

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py
index 94eeee2..98b53fa 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/GameServerRefresh.py
@@ -340,15 +340,15 @@
 #  @return None
 #  @remarks 函数详细说明.
 def GameServer_PlayerSave(index, tick):
-    curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
-    #2009-07-04 因地图服务器有可能关闭重开,这里要判定空
-    if not curPlayer:
-        return
+    # curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
+    # #2009-07-04 因地图服务器有可能关闭重开,这里要判定空
+    # if not curPlayer:
+    #     return
     
-    # 1为保存 0为正常下线
-    curPlayer.SetCountryLastWeekHornor(1) # 利用此字段通知为保存数据,非下线数据
-    curPlayer.PushSaveData()
-    curPlayer.SetCountryLastWeekHornor(0) # 利用此字段通知为保存数据,非下线数据
+    # # 1为保存 0为正常下线
+    # curPlayer.SetCountryLastWeekHornor(1) # 利用此字段通知为保存数据,非下线数据
+    # curPlayer.PushSaveData()
+    # curPlayer.SetCountryLastWeekHornor(0) # 利用此字段通知为保存数据,非下线数据
     return
 
 #===============================================================================

--
Gitblit v1.8.0