hxp
2025-11-25 8a6ac732217ca75429e805ca1b3a2b2857caa84f
92 【主界面】主线任务-服务端(增加任务类型20 - 改名)
2个文件已修改
6 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -5113,7 +5113,8 @@
TaskType_GoldRushWorkers, # 拥有x名监工 17
TaskType_ReqOrJoinFamily, # 创建或者申请加入公会 18
TaskType_FBTianzi, # 挑战天子的考验x次 19
) = range(1, 1 + 19)
TaskType_Rename, # 改名 20
) = range(1, 1 + 20)
# 任务分组
TaskGroupList = (
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/UpdatePlayerName.py
@@ -24,6 +24,7 @@
import IpyGameDataPY
import PlayerFamily
import PyMongoMain
import PlayerTask
import DirtyList
import ObjPool
@@ -92,6 +93,8 @@
    PlayerFamily.RefreshFamilyMember(curPlayer)
    PlayerBillboard.UpdatePlayerBillboardName(curPlayer)
    #社交名待更新
    PlayerTask.AddTaskValue(curPlayer, ChConfig.TaskType_Rename, 1)
    return
def GetPlayerFullName(curPlayer, playerName):