hxp
2019-03-28 9cc23ba064d9daf14a9085685f961b10d4f379f3
6373 【后端】【2.0】删除无用功能代码、封包、配置(召回系统)
7个文件已修改
5个文件已删除
639 ■■■■■ 已修改文件
ServerPython/CoreServerGroup/GameServer/Script/ChConfig.py 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/RecallCnt.py 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerRecall.py 218 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script.ini 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecall.py 190 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_ReveiveRecallAward.py 66 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_SendInviteCode.py 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/ChConfig.py
@@ -615,7 +615,6 @@
Def_PlayerDataCollect_Key = 0x86
#---SetDict  玩家字典不存数据库---
Def_Player_NoSave_Dict_RecallCountGift = 'RecallCountGift_0'    # 召回玩家个数奖励发包限制
Def_Player_NoSave_Dict_PlayerExamRightCnt = 'PlayerExamRightCnt_1_%s'  # 玩家答题正确数量
Def_Player_NoSave_Dict_PlayerExamCRightCnt = 'PlayerExamCRightCnt_1_%s'  # 玩家答题连续正确数量
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/RecallCnt.py
File was deleted
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
@@ -37,7 +37,6 @@
import PlayerBillboard
import PlayerExam
import PlayerControl
import PlayerRecall
import PlayerFamilyAction
import PlayerUniversalGameRec
import PlayerFamily
@@ -546,11 +545,6 @@
        PlayerControl.TeamNotify(teamID, msg, msgList)
        return
    
    if callName == 'ReveiveRecallAward':
        #召回奖励领取情况
        PlayerRecall.ReveiveRecallAwardResult(srcPlayerID, resultName)
        return
    if callName == "NotifyTruckDestroy":
        killTruckPlayerName, exp, zhenQi, prestige, moneyCnt, moneyType = eval(resultName)
        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
@@ -872,10 +866,6 @@
            return
        resultName = '%s' % ret
        
    if callName == 'SendInviteCode':
        #邀请码验证回复
        resultName = PlayerRecall.PlayerRecall_InviteCode(srcPlayerID, pack.GetQueryID())
    if callName == 'OpenServerCampaignAward':
        #可否领取开服活动奖励
        curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerRecall.py
File was deleted
ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
@@ -757,9 +757,6 @@
Def_Cheater_CharArg = 200    #字符参数
#---------------------------------------------------------------------
#玩家回归开关 1开
Def_Player_Recall_Open = 1
#---竞技场---
#竞技场房间状态
Def_VsRoom_State = range(0,3)
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script.ini
@@ -1231,23 +1231,6 @@
PacketSubCMD_1=0xFE
PacketCallFunc_1=RecNetPack
;玩家回归
[PlayerRecall]
ScriptName = Player\PlayerRecall.py
Writer = Alee
Releaser = Alee
RegType = 0
RegisterPackCount = 2
PacketCMD_1=0x03
PacketSubCMD_1=0x3D
PacketCallFunc_1=PlayerBackAward
PacketCMD_2=0x03
PacketSubCMD_2=0x3E
PacketCallFunc_2=RecallInviteCode
;玩家称号
[PlayerDienstgrad]
ScriptName = Player\PlayerDienstgrad
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -3030,7 +3030,6 @@
Def_PlayerKey_PowerPartCount = "PowerPartCount"     # 蓄力技能能量次数
Def_PlayerKey_ClientMaxHurtValue = "CMaxHValue"     # 缓存单次技能攻击的最大伤害, 减少计算量
Def_Player_RefreshAttr = "Player_RefreshAttr"   # 玩家刷新属性标志
Def_Player_NoSave_Dict_SendInviteCode = "SendInviteCode_0"    # 玩家提交邀请码次数验证
Def_PlayerKey_LoadMapIsLogin = 'LoadMapIsLogin'    # 本次进入地图是否是登录的
Def_PlayerKey_NotifyAllAttrState = 'NotifyAllAttrState'    # 是否同步过所有属性,切图时第一次刷属性需要同步
Def_PlayerKey_LoginTick = 'PlayerKey_LoginTick'    # 玩家上线的当前服务器tick
@@ -3321,9 +3320,6 @@
Def_Player_Dict_CabinetCount_WeaponCoat = "CabinetCount_WeaponCoat_40"    #武器收纳柜
Def_Player_Dict_CabinetCount_DressCoat = "CabinetCount_DressCoat_41"     #时装收纳柜
Def_Player_Dict_CabinetCount_Horse = "CabinetCount_Horse_42"    #马匹收纳柜
Def_Player_Dict_OffDaysAward = "OffDaysAward_45"    #玩家回归奖励
Def_Player_Dict_CheckInviteCode = "CheckInviteCode_46"    #检查玩家发送的邀请码
Def_Player_Dict_JM_OpenXW = "JM%s_OpenXw_54"  # 经脉被开启的穴位数 %s对应经脉类型
Def_Player_Dict_PackCount_Item = "PackCount_Item_72"    #玩家物品背包格子数
Def_Player_Dict_PackCount_Warehouse = "PackCount_Warehouse_73"    #仓库背包格子数
Def_Player_Dict_PlayerMapSignCnt = "PlayerMapSignCnt_75"    # 大地图标记数量
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -578,9 +578,6 @@
    # 首充/天天首充/充值豪礼
    PlayerGoldGift.OnLogin(curPlayer)
    
    #玩家回归通知
    #PlayerRecall.PlayerBack(curPlayer)
    #通知购买功能中各购买类型的已购买和可购买次数
    Operate_PlayerBuyZhenQi.DoPlayerLogin(curPlayer)
#    
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerRecall.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_ReveiveRecallAward.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_SendInviteCode.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py
@@ -757,9 +757,6 @@
Def_Cheater_CharArg = 200    #字符参数
#---------------------------------------------------------------------
#玩家回归开关 1开
Def_Player_Recall_Open = 1
#---竞技场---
#竞技场房间状态
Def_VsRoom_State = range(0,3)