From 40091aee962c818715fbe19444d4d4096fbb1de9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 19 二月 2025 11:53:36 +0800
Subject: [PATCH] 8796 【越南】【英语】【BT】【砍树】修复在线奖励无A507封包函数bug;
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/PyNetPack.ini | 6 +++---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/PyNetPack.ini b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/PyNetPack.ini
index e0d8210..4296654 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/PyNetPack.ini
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/PyNetPack.ini
@@ -436,9 +436,9 @@
PacketSubCMD_1=0x06
PacketCallFunc_1=GetOnlinePrize
-PacketCMD_2=0xA5
-PacketSubCMD_2=0x07
-PacketCallFunc_2=QueryOnlinePrize
+PacketCMD_2=
+PacketSubCMD_2=
+PacketCallFunc_2=
;玩家副本
[PlayerFB]
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
index 5472f99..3cf86fd 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -1149,6 +1149,8 @@
# @remarks 函数详细说明.
def CheckPlayerAttackDist(curPlayer, curTag, useSkill, preciseAtkDict=False):
#攻击起点取缓存的坐标
+ if not curPlayer or not curTag:
+ return False
atkStartPosX = curPlayer.GetAttackTargetPosX()
atkStartPosY = curPlayer.GetAttackTargetPosY()
--
Gitblit v1.8.0