hxp
2019-03-26 4cf6e90575a661fca5b78af6253946cdd8e0cdd6
6373 【后端】【2.0】删除无用功能代码、封包、配置(腾讯相关)
5个文件已修改
5个文件已删除
1046 ■■■■■ 已修改文件
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_TaskMarket.py 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearQQAward.py 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetQQUser.py 83 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerQQ.py 557 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTTaskMarket.py 257 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_LoginData.py 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_TaskMarket.py
File was deleted
ServerPython/CoreServerGroup/GameServer/Script/ShareDefine.py
@@ -1338,22 +1338,6 @@
# 玩家字典按数位存储数据个数
Def_PDictDigitCnt = 9  
# 副本评分类型
(
ScoreType_TimeConsume,  # 耗时结算类型
ScoreType_KillStat,     # 击杀怪物统计
ScoreType_NewGuySuperShow,  # 击杀怪物统计
ScoreType_GetItem,  # 获得物品奖励统计
ScoreType_RedFortReward,  # 打开客户端frmRedFortReward
)=range(5)
ScoreTypeName = "TScore"
Def_QQPlatVIPTypeList = (
Def_QQPlatVIP_Yellow, #黄钻
Def_QQPlatVIP_Blue, #蓝钻
) = range(1, 3)
# VIP类型定义
(
Def_VIPType_Not, # 非VIP
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -3280,10 +3280,7 @@
Def_PDictType_Reincarnation, # 转生
Def_PDictType_GreatMaster, # 大师
Def_PDictType_BloodElf, # Ѫħ
Def_PDictType_28,
Def_PDictType_29,
Def_PDictType_QQ, # QQ相关
) = range(31)
) = range(28)
# 玩家字典key定义规则, key的长度不能超过29个字节, 注意尽量避免命名重复
# 新增参数TYPE 用于字典分类,默认0
@@ -3302,7 +3299,6 @@
Def_PDict_OnMonthEx = "OnMonthEx" # 特殊时间点凌晨X点过月
Def_Player_Dict_PlayerFromPID = "PlayerFromPID"    # pid
Def_Player_Dict_Account_Type = "account_type"    # account_type
Def_Player_Dict_TencentPF = "tencentPF"    # 腾讯平台来源pf
Def_Player_Dict_FirstLogin = "FirstLogin"    # 首登标记 0-未首登; 1-首登过
Def_GuideStateKeyCount = 8 # 引导状态key最大个数
Def_Player_Dict_GuideState = "GuideState_%s" # 引导状态记录,参数为key个数编号
@@ -3808,20 +3804,6 @@
Def_PDict_Success_CntValue = "Su_%s_%s" # 当前次数值,参数(成就类型、条件)
Def_PDict_Success_FinishTime = "Succ_FinishTime_%s" # 成就是否已完成,参数(索引)
Def_PDict_Success_CheckVersion = "Succ_CheckVersion" #老玩家某些功能成就检查版本
# QQ相关 Def_PDictType_QQ
Def_PDict_QQUpYellowAwardRecord = "QQUpYellowAwardRecord" # QQ成长礼包奖励是否已领取(黄钻)
Def_PDict_QQUpBlueAwardRecord = "QQUpBlueAwardRecord" # QQ成长礼包奖励是否已领取(蓝钻)
Def_PDict_QQNewManAwardRecord = "QQNewManAwardRecord" # QQ新手礼包奖励是否已领取
Def_PDict_QQDayGiftAwardRecord = "QQDayGiftAwardRecord" # QQ每日礼包奖励是否已领取
Def_PDict_QQTaskMarketRecord = "QQTaskMarketRecord_%s" # 任务集市领奖记录, 参数为任务记录编号
Def_Tencent_PF_List = ["tencent", "qzone", "pengyou","qplus","qqgame","3366"] # 腾讯平台来源pf
# qzone
Def_PDict_QzoneUpAwardRecord = "QzoneUpAwardRecord" # qzone成长礼包奖励是否已领取
Def_PDict_QzoneNewManAwardRecord = "QzoneNewManRecord" # qzone新手礼包奖励是否已领取
Def_PDict_QzoneDayAwardRecord = "QQDayGiftRecord" # qzone每日礼包奖励是否已领取
# 转生 Def_PDictType_Reincarnation
Def_PDict_Reinc_Reiki = "Reinc_Reiki" # 当前转生灵力
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearQQAward.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetQQUser.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -690,9 +690,6 @@
#    # 消费VIP
#    PlayerCostVIP.CostVIPOnLogin(curPlayer, tick)
#    
#    # QQ相关奖励OnLogin
#    #PlayerQQ.Sync_QQAllAwardRecord(curPlayer)
#
#    # 世界boss
    BossHurtMng.OnLogin(curPlayer)
    ChItem.Sync_ItemDayUseCnt(curPlayer)
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerQQ.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTTaskMarket.py
File was deleted
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_LoginData.py
@@ -77,12 +77,6 @@
    pid = result[2]
    platform = result[3]
    account_type = result[4]
    if platform in ChConfig.Def_Tencent_PF_List:
        pf = ChConfig.Def_Tencent_PF_List.index(platform) + 1
        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_TencentPF, pf)
    else:
        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_TencentPF, 0)
        
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_PlayerFromPID, pid)
    PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_Account_Type, account_type)
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ShareDefine.py
@@ -1338,22 +1338,6 @@
# 玩家字典按数位存储数据个数
Def_PDictDigitCnt = 9  
# 副本评分类型
(
ScoreType_TimeConsume,  # 耗时结算类型
ScoreType_KillStat,     # 击杀怪物统计
ScoreType_NewGuySuperShow,  # 击杀怪物统计
ScoreType_GetItem,  # 获得物品奖励统计
ScoreType_RedFortReward,  # 打开客户端frmRedFortReward
)=range(5)
ScoreTypeName = "TScore"
Def_QQPlatVIPTypeList = (
Def_QQPlatVIP_Yellow, #黄钻
Def_QQPlatVIP_Blue, #蓝钻
) = range(1, 3)
# VIP类型定义
(
Def_VIPType_Not, # 非VIP