yxbzw97572733 发表于 前天 08:39

天龙八部工资任务怎么修改,有大佬知道吗

服务端哪个文件

zahqhq520 发表于 前天 10:41

你是要问上线送多少工资还是什么?
上线送多少工资在数据库修改
任务的话一般在福利姐姐的脚本里面

小新酱 发表于 前天 10:49

\tlbb\Public\Config\Mission_KillMonster.txt

yxbzw97572733 发表于 前天 20:36

zahqhq520 发表于 2026-7-12 10:41
你是要问上线送多少工资还是什么?
上线送多少工资在数据库修改
任务的话一般在福利姐姐的脚本里面

就是大理35级每周的工资任务

yxbzw97572733 发表于 前天 20:38

小新酱 发表于 2026-7-12 10:49
\tlbb\Public\Config\Mission_KillMonster.txt

谢谢大佬,我去看看

yxbzw97572733 发表于 前天 23:29

小新酱 发表于 2026-7-12 10:49
\tlbb\Public\Config\Mission_KillMonster.txt

进去看好像不是这个,没有看到祝富贵的工资任务

小新酱 发表于 昨天 21:22

1009104        888        13        0        1        0        1        269        214        工资任务        完成日常副本任务:#r#G战胜一个都不能跑连环任务的#Y葛荣#r#G战胜贼兵入侵的#Y贼兵头领#r#G战胜偷袭门派的#Y恶霸#r#G战胜藏宝图的#Y夺宝马贼#r#W完成任务后回大理找祝富贵领取奖励。        参与日常活动,并战胜指定的目标即可获得2W元宝和3888金币奖励#r#G副本战胜一个都不能跑、贼兵入侵、偷袭门派,放藏宝图引出的夺宝马贼。#r#G达成任务后回大理找祝富贵领取奖励。        您需要达到以上标准才能够领取本日的工资奖励。        这些元宝和金币就是你的了。        0        祝富贵        0        0        祝富贵        0        30        -1        -1        -1        4        山寨大王        0        2        贼兵头目        0        2        恶霸        0        2        夺宝马贼        0        10                                38880000                -1                                                                39910010        2                                                                                                                                                                                                       
那就自己添加记得更新客户端

yxbzw97572733 发表于 昨天 21:42

小新酱 发表于 2026-7-13 21:22
1009104        888        13        0        1        0        1        269        214        工资任务        完成日常副本任务:#r#G战胜一个都不能跑连环任务的#Y葛荣#r#G战 ...

--大理NPC
--祝富贵
--工资任务
x002102_g_scriptId = 002102
x002102_g_Type = {"初级","中级","高级"}
x002102_g_ChongLou = {10553106,10553108,10553110,10553112,10553113,10553114}
--**********************************
--事件交互入口
--**********************************
function x002102_OnDefaultEvent( sceneId, selfId,targetId )
        BeginEvent(sceneId)
                AddText(sceneId,"内测期间暂时不开启工资任务因为在考虑需要不需要")       
                AddText(sceneId,"#{GZRW_090715_01}")
                AddText(sceneId,"    #cFF0000注意:工资任务必须领取任务之后才能生效!")
                AddNumText( sceneId, x002102_g_ScriptId, "接取工资任务",6,1)
                AddNumText( sceneId, x002102_g_ScriptId, "查看工资任务进度",6,2)
                AddNumText( sceneId, x002102_g_ScriptId, "领取工资",6,3)
        EndEvent(sceneId)
        DispatchEventList(sceneId,selfId,targetId)
end
--**********************************
--事件列表选中一项
--**********************************
function x002102_OnEventRequest(sceneId,selfId,targetId,eventId)
   local CiftEquip = -1
   local type = 1
   local myLevel = GetLevel(sceneId, selfId)
   local nWeekCur = mod(GetWeekTime(),10) --当前第几周
   if myLevel >= 80 and myLevel < 90 then
      type = 2
   elseif myLevel >= 90 then
      type = 3
   end


        if GetNumText() == 1 then
         if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) >= 1 and floor(GetMissionData(sceneId,selfId,GONGZI_2)/10^8) ~= nWeekCur then
            SetMissionData(sceneId,selfId,GONGZI_1,0)
            SetMissionData(sceneId,selfId,GONGZI_2,0)
            SetMissionData(sceneId,selfId,MD_XIEZI_GONGZILINGQU,0)
         end
         if myLevel < 35 then
            x002102_Notify( sceneId, selfId,"    你的等级低于35级,不能领取工资任务")
            return
         end
         if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) >= 1 then
               x002102_Notify( sceneId, selfId,"    你本周已经领取过工资任务了")
            return
         end
         SetMissionData(sceneId,selfId,GONGZI_1,type*10^8)
         SetMissionData(sceneId,selfId,GONGZI_2,nWeekCur*10^8)
         x002102_Notify( sceneId, selfId,"    领取#G"..x002102_g_Type.."#W工资任务成功!")
           BeginUICommand( sceneId )
           UICommand_AddInt( sceneId, selfId )--这个没什么用
           UICommand_AddInt( sceneId, GetMissionData(sceneId,selfId,GONGZI_1) ) --开头第一个数字控制工资等级123
           UICommand_AddInt( sceneId, mod(GetMissionData(sceneId,selfId,GONGZI_2),10^8) ) --
           UICommand_AddInt( sceneId, 0 )--这个控制工资任务新版旧版1是新版,其他旧版
           EndUICommand( sceneId )
           DispatchUICommand( sceneId, selfId,20120517)
      return
    end

    if GetNumText() == 2 then
         if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) >= 1 and floor(GetMissionData(sceneId,selfId,GONGZI_2)/10^8) ~= nWeekCur then
            SetMissionData(sceneId,selfId,GONGZI_1,0)
            SetMissionData(sceneId,selfId,GONGZI_2,0)
            SetMissionData(sceneId,selfId,MD_XIEZI_GONGZILINGQU,0)
         end
         if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) < 1 then
               x002102_Notify( sceneId, selfId,"    你本周尚未领取过工资任务")
            return
         end

         local xiezi1 = GetMissionData(sceneId,selfId,GONGZI_1)
         local xiezi2 = mod(GetMissionData(sceneId,selfId,GONGZI_2),10^8)--前两位用于记录第几周

          BeginUICommand( sceneId )
          UICommand_AddInt( sceneId, selfId )--这个没什么用
          UICommand_AddInt( sceneId, xiezi1 ) --开头第一个数字控制工资等级123
          UICommand_AddInt( sceneId, xiezi2 ) --
          UICommand_AddInt( sceneId, 0 )--这个控制工资任务新版旧版1是新版,其他旧版
          EndUICommand( sceneId )
          DispatchUICommand( sceneId, selfId,20120517)
      return
    end

    if GetNumText() == 3 then
      local myGongZi = GetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY)
        BeginEvent(sceneId)
                AddText(sceneId,"    您的#G工资账户#W最多仅能存储的工资数量为:#G99999999元宝#W。若您不能及时领取,多余的部分将被系统自动扣除。#r")
                AddText(sceneId,"    目前存有的工资数:#G"..myGongZi.."元宝#W。")
                AddNumText( sceneId, x002102_g_ScriptId, "领取全额工资",6,11)
        EndEvent(sceneId)
        DispatchEventList(sceneId,selfId,targetId)
      return
    end

    if GetNumText() == 11 then
      local myGongZi = GetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY)
      if myGongZi <= 0 then
           x002102_NotifyTip( sceneId, selfId, "您没有任何可以领取的工资奖励。" )       
           return
        end
        if LuaFnGetPropertyBagSpace( sceneId, selfId ) <1 then
           x002102_NotifyTip( sceneId, selfId, "道具栏至少需要空出一个位置" )       
           return
        end
      SetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY,0)
      YuanBao(sceneId,selfId,-1,1,myGongZi)
      x002102_NotifyTip( sceneId, selfId,"领取工资成功,恭喜你获得#G"..myGongZi.."元宝#W的工资。")
      BroadMsgByChatPipe(sceneId, selfId, "#cFF0000玩家#B"..GetName(sceneId,selfId).."#cFF0000在大理#G祝富贵#{_INFOAIM146,120,2,祝富贵}#cFF0000处领取了"..myGongZi.."元宝的工资。", 4);
      CiftEquip = random(10000)
      if CiftEquip >= 9500 then
         local pos = TryRecieveItem( sceneId, selfId, ChongLou, 1 )
         local transfer = GetBagItemTransfer(sceneId,selfId,pos)
           local strText = format("#cFF0000好消息:#Y玩家".."#{_INFOUSR%s}#Y在完成一周工资任务以后,累的栽倒在大理#G祝富贵#{_INFOAIM146,120,2,祝富贵}前面,祝富贵不想把事情闹大,只好拿出一件#{_INFOMSG%s}息事宁人。",GetName(sceneId,selfId),transfer)
         BroadMsgByChatPipe(sceneId, selfId, strText, 4);
      end
      return
    end

end

--**********************************
--远程调用
--**********************************
function x002102_ChaKanGongZiJinDu( sceneId, selfId )

         local nWeekCur = mod(GetWeekTime(),10) --当前第几周
         if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) >= 1 and floor(GetMissionData(sceneId,selfId,GONGZI_2)/10^8) ~= nWeekCur then
            SetMissionData(sceneId,selfId,GONGZI_1,0)
            SetMissionData(sceneId,selfId,GONGZI_2,0)
            SetMissionData(sceneId,selfId,MD_XIEZI_GONGZILINGQU,0)
         end

         x002102_AutoShuaXinGongZi(sceneId,selfId)
         x002102_JieGongZi(sceneId,selfId)

         local xiezi1 = GetMissionData(sceneId,selfId,GONGZI_1)
         local xiezi2 = mod(GetMissionData(sceneId,selfId,GONGZI_2),10^8)--前两位用于记录第几周
         local myGongZi = GetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY)

          BeginUICommand( sceneId )
          UICommand_AddInt( sceneId, selfId )--这个没什么用
          UICommand_AddInt( sceneId, xiezi1 ) --开头第一个数字控制工资等级123
          UICommand_AddInt( sceneId, xiezi2 ) --
          UICommand_AddInt( sceneId, 0 )--这个控制工资任务新版旧版1是新版,其他旧版
          UICommand_AddInt( sceneId, myGongZi ) --目前存贮的工资元宝
          EndUICommand( sceneId )
          DispatchUICommand( sceneId, selfId,20170608)

end

--**********************************
--打开面板,自动接取工资任务
--**********************************
function x002102_JieGongZi( sceneId, selfId ) --自动接取工资任务
   local CiftEquip = -1
   local type = 1
   local myLevel = GetLevel(sceneId, selfId)
   local nWeekCur = mod(GetWeekTime(),10) --当前第几周
   if myLevel >= 80 and myLevel < 90 then
         type = 2
   elseif myLevel >= 90 then
         type = 3
   end

         if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) >= 1 and floor(GetMissionData(sceneId,selfId,GONGZI_2)/10^8) ~= nWeekCur then
            SetMissionData(sceneId,selfId,GONGZI_1,0)
            SetMissionData(sceneId,selfId,GONGZI_2,0)
            SetMissionData(sceneId,selfId,MD_XIEZI_GONGZILINGQU,0)
         end
         if myLevel < 35 then
            return
         end
         if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) >= 1 then
               --x002102_NotifyTip( sceneId, selfId,"你本周已经领取过工资任务了")
            return
         else
            SetMissionData(sceneId,selfId,GONGZI_1,type*10^8)
            SetMissionData(sceneId,selfId,GONGZI_2,nWeekCur*10^8)
            x002102_NotifyTip(sceneId,selfId,"成功接取本周工资任务")
            return
         end
end

--**********************************
--自动刷新工资进度,发放工资
--**********************************
function x002102_AutoShuaXinGongZi(sceneId,selfId)

   local myLevel = GetLevel(sceneId,selfId)
   local nWeekCur = mod(GetWeekTime(),10) --当前第几周

   --if myLeve < 35 then
   --   return
   --end

   if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) >= 1 and floor(GetMissionData(sceneId,selfId,GONGZI_2)/10^8) ~= nWeekCur then
       SetMissionData(sceneId,selfId,GONGZI_1,0)
       SetMissionData(sceneId,selfId,GONGZI_2,0)
       SetMissionData(sceneId,selfId,MD_XIEZI_GONGZILINGQU,0)
   end

   local jiance1 = GetMissionData(sceneId,selfId,GONGZI_1)
   local jiance2 = mod(GetMissionData(sceneId,selfId,GONGZI_2),10^8)
   local lingquornot = GetMissionData(sceneId,selfId,MD_XIEZI_GONGZILINGQU)

   if jiance1 == 110400202 and jiance2 == 3030204 and lingquornot == 0 then
      SetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY,GetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY)+20000)
      SetMissionData(sceneId,selfId,MD_XIEZI_GONGZILINGQU,1)
   elseif jiance1 == 204400202 and jiance2 == 3020304 and lingquornot == 0 then
      SetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY,GetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY)+30000)
      SetMissionData(sceneId,selfId,MD_XIEZI_GONGZILINGQU,1)
   elseif jiance1 == 304400202 and jiance2 == 3020304 and lingquornot == 0 then
      SetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY,GetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY)+40000)
      SetMissionData(sceneId,selfId,MD_XIEZI_GONGZILINGQU,1)
   end

   if GetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY) >= 99999999 then
      SetMissionData(sceneId,selfId,MD_XIEZI_GONGZIMONEY,99999999)
   end

end

--**********************************
--醒目提示
--**********************************
function x002102_Notify( sceneId, selfId, Msg )
        BeginEvent( sceneId )
                AddText( sceneId, Msg )
        EndEvent( sceneId )
        DispatchEventList( sceneId, selfId )
end

--**********************************
--屏幕中间醒目提示
--**********************************
function x002102_NotifyTip( sceneId, selfId, Msg )
        BeginEvent( sceneId )
                AddText( sceneId, Msg )
        EndEvent( sceneId )
        DispatchMissionTips( sceneId, selfId )
end

function x002102_XieziDongtai( sceneId, selfId, clickId)
   local JuBaoData1 = GetMissionData(sceneId,selfId,JUBAOPEN_1)
   local JuBaoData2 = GetMissionData(sceneId,selfId,JUBAOPEN_2)
   local JuBaoData3 = GetMissionData(sceneId,selfId,JUBAOPEN_3)

   if clickId == 111 then--打开界面
         x002102_OnEventXieZi1(sceneId,selfId)
         x002102_OnEventXieZi2(sceneId,selfId)

   elseif clickId == 222 then--添加祝福
      if JuBaoData3 - LuaFnGetCurrentTime() > 0 then
         local yushijian = floor((JuBaoData3 - LuaFnGetCurrentTime())/60)
         x002102_NotifyTip( sceneId, selfId, "聚宝盆每小时只能祝福一次,您还需要"..yushijian.."分钟后才能再次祝福" )
         return       
      else
         SetMissionData(sceneId,selfId,JUBAOPEN_3,0)
      end

      if mod(JuBaoData1,100) >= 20 then
             x002102_NotifyTip( sceneId, selfId, "您的聚宝盆已经满了,不能容纳更多的祝福了!" )       
         return
      end
      if mod(JuBaoData1,100) == 19 then
         SetMissionData(sceneId,selfId,JUBAOPEN_1,JuBaoData1+1101)
         SetMissionData(sceneId,selfId,JUBAOPEN_2,LuaFnGetCurrentTime()+10800)
         if floor(GetMissionData(sceneId,selfId,GONGZI_2)/10^8) == mod(GetWeekTime(),10) then
            if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) == 2 or floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) == 3 and floor(mod(GetMissionData(sceneId,selfId,GONGZI_2),10^6)/10^4) < 2 then
               SetMissionData(sceneId,selfId,GONGZI_2,GetMissionData(sceneId,selfId,GONGZI_2)+10^4)
            end
         end
         x002102_NotifyTip( sceneId, selfId, "您的聚宝盆已经满了,请于3小时以后领取" )
         LuaFnSendSpecificImpactToUnit(sceneId, selfId, selfId, selfId, 49, 0);
           x002102_XieziDongtai( sceneId, selfId, 111)
      else
         --SetMissionData(sceneId,selfId,JUBAOPEN_1,JuBaoData1+101) --屏蔽这里,引擎不支持,不能做这种仿官
         SetMissionData(sceneId,selfId,JUBAOPEN_1,JuBaoData1+1)
         SetMissionData(sceneId,selfId,JUBAOPEN_3,LuaFnGetCurrentTime()+3600)
         x002102_NotifyTip( sceneId, selfId, "祝福成功:恭喜您,聚宝盆得到了祝福+1!" )
         LuaFnSendSpecificImpactToUnit(sceneId, selfId, selfId, selfId, 49, 0);
           x002102_XieziDongtai( sceneId, selfId, 111)
      end

   elseif clickId == 333 then--领取祝福
      local biaozhi = JuBaoData2 - LuaFnGetCurrentTime()
      if JuBaoData2 > 0 and biaozhi <= 0 then
         local GetYB = random(800,8000)
         YuanBao(sceneId,selfId,-1,1, GetYB )
         SetMissionData(sceneId,selfId,JUBAOPEN_1,0)
         SetMissionData(sceneId,selfId,JUBAOPEN_2,0)
         x002102_NotifyTip( sceneId, selfId, "领取成功,恭喜您获得"..GetYB.."元宝" )
         LuaFnSendSpecificImpactToUnit(sceneId, selfId, selfId, selfId, 49, 0);
           x002102_XieziDongtai( sceneId, selfId, 111)
      else
         x002102_NotifyTip( sceneId, selfId, "领取时间未到,请耐心等待" )
      end
    end
end


function x002102_OnEventXieZi1( sceneId, selfId)
          BeginUICommand( sceneId )
          EndUICommand( sceneId )--tostring()
          UICommand_AddString(sceneId,"    聚宝盆可以承载美好的祝福,每小时可以为聚宝盆增添一份祝福,当您的聚宝盆满载祝福的时候,经过3小时的炼化,便可以转化随机数量的元宝,千万不要错过这个好机会哦~ ")
          DispatchUICommand( sceneId, selfId,20170421)
end

function x002102_OnEventXieZi2( sceneId, selfId)
          local JuBaoData1 = GetMissionData(sceneId,selfId,JUBAOPEN_1)   --是否可以领取,是否可以祝福,tip进度
          local JuBaoData2 = GetMissionData(sceneId,selfId,JUBAOPEN_2)
          local JuBaoData3 = GetMissionData(sceneId,selfId,JUBAOPEN_3)   --每小时签到记录

          local nExp = mod(JuBaoData1,100)
          local count = 0
          local lingqu = 0
          local zhufu = floor(mod(JuBaoData1,1000)/100)
          local lingAA = floor(JuBaoData1/1000)

       if JuBaoData2 > 0 then
          count = JuBaoData2 - LuaFnGetCurrentTime()
       end

       if lingAA ~= 0 and count <= 0 then
          lingqu = 1
       end

          BeginUICommand( sceneId )
          EndUICommand( sceneId )
           UICommand_AddInt( sceneId,nExp)
           UICommand_AddInt( sceneId,count)
           UICommand_AddInt( sceneId,zhufu)
           UICommand_AddInt( sceneId,lingqu)
          DispatchUICommand( sceneId, selfId,20170422)
end


function x002102_ShiMenCheck( sceneId, selfId)
      if floor(GetMissionData(sceneId,selfId,GONGZI_2)/10^8) == mod(GetWeekTime(),10) then
         if floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) == 1 or
            floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) == 2 or
            floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^8) == 3 and mod(floor(GetMissionData(sceneId,selfId,GONGZI_1)/10^4),100) < 40 then
            SetMissionData(sceneId,selfId,GONGZI_1,GetMissionData(sceneId,selfId,GONGZI_1)+10^4)
         end
      end
      CallScriptFunction( 890536,"JianCe",sceneId,selfId) --检测是否当天
      if floor(mod(GetMissionData(sceneId,selfId,HUOYUEFB_1),10^9)/10^7)< 20 then
         SetMissionData(sceneId,selfId,HUOYUEZHI,GetMissionData(sceneId,selfId,HUOYUEZHI)+3) --活跃值+3
         SetMissionData(sceneId,selfId,HUOYUEFB_1,GetMissionData(sceneId,selfId,HUOYUEFB_1)+10^7)
      end
end



找到了,但是没看到是哪些进度,其他的进度都正常,只有个挖藏宝图的没生效,不知道是哪里
页: [1]
查看完整版本: 天龙八部工资任务怎么修改,有大佬知道吗

本站内容如若侵犯到您的权益,请来电来函告知,我们会尽快处理!
联系QQ:1953150286,2251387361,123784736,免责申明