From 5b315b895da27096b2b1d58c4d9b6ece5440c770 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 10 二月 2026 17:39:22 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(修复无公会的游戏服互通异常bug;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index 53e2272..6ad9ddc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -779,11 +779,16 @@
# --------------------------------------------------------------
+ syncCD = 2000
+ if refreshType == IPY_PlayerDefine.CDBPlayerRefresh_FightPower:
+ syncCD = 60 * 1000
+
# 同步给相关跨服
tick = GameWorld.GetGameWorld().GetTick()
lastSyncTick = curPlayer.GetDictByKey("S2C_PlayerBaseInfo")
- if lastSyncTick and (tick - lastSyncTick) <= 2000:
+ if lastSyncTick and (tick - lastSyncTick) <= syncCD:
# 短时间内只同步一次
+ #GameWorld.DebugLog("同步基础属性CD中! refreshType=%s,syncCD=%s,pass=%s" % (refreshType, syncCD, tick - lastSyncTick))
return
curPlayer.SetDict("S2C_PlayerBaseInfo", tick)
--
Gitblit v1.8.0