From 97fef842ed56dfd7c7dd73f9c7acf20df55b9a23 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 05 九月 2025 11:35:20 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(优化主线掉落装备:改为按Boss类型掉落,祝福树区分不同的Boss类型掉落概率;分解装备按消耗的战锤进行均分计算分解所得;)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py | 72 ------------------------------------
1 files changed, 0 insertions(+), 72 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
index 3396ab3..fa374e0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
@@ -895,78 +895,6 @@
#===========================================================================
return
-#// A1 01 玩家电脑信息 #tagCMPCInfo
-#
-#struct tagCMPCInfo
-#{
-# tagHead Head;
-# BYTE PCOSLen;
-# char PCOS[PCOSLen]; // 操作系统
-# BYTE ResolutionLen;
-# char Resolution[ResolutionLen]; // 分辨率
-# BYTE BrowserLen;
-# char Browser[BrowserLen]; // 浏览器
-# BYTE ScribeTypeLen;
-# char ScribeType[ScribeTypeLen]; // 记录类型
-# BYTE ScribeDataLen;
-# char ScribeData[ScribeDataLen]; // 记录扩展信息
-#};
-def ReceiveClientPCInfo(index, clientData, tick):
- #===========================================================================
- # curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
- # PCOS = clientData.PCOS
- # Resolution = clientData.Resolution
- # Browser = clientData.Browser
- # ScribeType = clientData.ScribeType
- # #ScribeData = clientData.ScribeData
- #
- # GameWorld.DebugLog("ReceiveClientPCInfo %s" % ScribeType)
- # GameWorld.DebugLog(" PCOS=%s" % PCOS)
- # GameWorld.DebugLog(" Resolution=%s" % Resolution)
- # GameWorld.DebugLog(" Browser=%s" % Browser)
- #
- # # 转化为对方所需格式
- # if PCOS and "Windows" in PCOS:
- # PCOS = " ".join(PCOS.split(" ")[:2])
- #
- # # 转化为对方所需格式
- # if Resolution:
- # Resolution = "%s*%s" % eval(Resolution)
- #
- # if ScribeType == ShareDefine.Def_UserAction_Login:
- # firstLogin = curPlayer.NomalDictGetProperty(ChConfig.Def_Player_Dict_FirstLogin)
- # if not firstLogin:
- # PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_FirstLogin, 1)
- # WriteEvent_entry_firstlogin(curPlayer, Browser, Resolution, PCOS)
- # if curPlayer.GetLV() == 1:
- # WriteEvent_level_up(curPlayer) # 首登发送一次1级数据
- # GameWorld.DebugLog(" entry_firstlogin")
- #
- # WriteEvent_login(curPlayer, Browser, Resolution, PCOS)
- #===========================================================================
-
- return
-
-#// A2 19 游戏建议收集 #tagCMAdviceSubmit
-#
-#struct tagCMAdviceSubmit
-#{
-# tagHead Head;
-# BYTE Type; //提交类型
-# WORD Len;
-# char Content[Len]; //size = Len
-#};
-def OnSubmitBugSuggest(index, clientData, tick):
- #===========================================================================
- # curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
- # subType = clientData.Type
- # content = clientData.Content
- # eventName = Def_Custom_Events_Bug if subType == 0 else Def_Custom_Events_Suggest
- # WriteEvent_custom_events(curPlayer, eventName, content)
- # DataRecordPack.DR_BugSuggest(curPlayer, eventName, content)
- #===========================================================================
- return
-
def GetScribeEvent_chr_level(curPlayer):
transCnt, showLV = GameWorld.GetClientLV(curPlayer)
return transCnt * 1000 + showLV
--
Gitblit v1.8.0