View Full Version : [HKGH] Lỗi đánh quái không chết
tsunami9x
17-07-14, 05:05 PM
Hi all,
Hiện tại mình đang dùng Client v8 của Viethome và server v8 của vanluat, tất cả đều ok duy chỉ có điều là vào game đánh quái thì ko chết :( mình đã tìm thử vài bản client v8 gồm cả patch 80015 của tàu nhưng cũng không được.
Mod nào biết cách fix thì chỉ dùm mình, thanks!
Link server đang sử dụng là gì ? ??
tsunami9x
17-07-14, 09:15 PM
Mình dùng thử cả bản 70 và 80 của vanluat
hiện tại thì lỗi đánh quái ko chết là đang dùng v80: <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
Tìm đoạn này 是否加密=1 sửa lại thành 0
=> nằm trong config của GameServer
tsunami9x
17-07-14, 11:15 PM
Tìm đoạn này 是否加密=1 sửa lại thành 0
=> nằm trong config của GameServer
cái đó mặc định là 0 rồi :? mình thử đưa về 1 thì ko kết nối đc với sv nên chuyển về như cũ rồi.
tsunami9x
17-07-14, 11:46 PM
Ahh,
mình nhầm bản server. cái đang dùng là cái này: <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
nó cũng gần như nhau, test thử cả client v9.0 cũng chạy đc và cũng ko đánh chết đc quái.
hoanglong15
18-07-14, 08:47 AM
Nguyên nhân toàn bộ ở Client.exe hết bạn nhé **== kiếm cái Client phù hợp mà vọc vô thế thôi ăn ngay 100%
tsunami9x
18-07-14, 08:58 AM
mình vừa quẩy lại bản 70 thì chạy ngon rồi, nhưng mà đến lúc làm nv thăng cấp thì mãi ko dc :(
mình vừa quẩy lại bản 70 thì chạy ngon rồi, nhưng mà đến lúc làm nv thăng cấp thì mãi ko dc :(
Mở file Npcmisson.lua trong floder Script copy lên đây xem thử :D
tsunami9x
18-07-14, 11:09 AM
Mở file Npcmisson.lua trong floder Script copy lên đây xem thử :D
Nội dung file đây bạn.
--[一转任务]function MissIon18(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
elseif CzId==2 then
if Player.Player_Level < 10 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,0,1)
SetQigong(UserWorldId,5)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+20000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[二转正任务]
function MissIon11(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
elseif CzId==2 then
if Player.Player_Job_leve>=2 then
return
elseif Player.Player_Level < 35 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,1,2)
SetQigong(UserWorldId,6)
UpGongFu(UserWorldId)
UpYzbItme(UserWorldId)
Player.Player_Money=Player.Player_Money+100000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[二转邪任务]
function MissIon12(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 35 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=2 then
return
elseif Player.Player_Level < 35 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,2,2)
SetQigong(UserWorldId,6)
UpGongFu(UserWorldId)
UpYzbItme(UserWorldId)
Player.Player_Money=Player.Player_Money+100000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[三转正任务]
function MissIon45(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 60 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=3 then
return
elseif Player.Player_Level < 60 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,3)
SetQigong(UserWorldId,7)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+200000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[三转邪任务]
function MissIon46(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 60 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=3 then
return
elseif Player.Player_Level < 60 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,3)
SetQigong(UserWorldId,7)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+200000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[四转正任务]
function MissIon73(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 80 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=4 then
return
elseif Player.Player_Level < 80 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,4)
SetQigong(UserWorldId,8)
SetQigong(UserWorldId,9)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+300000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[四转邪任务]
function MissIon74(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 80 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=4 then
return
elseif Player.Player_Level < 80 or Player.Player_Qigong_point>0 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,4)
SetQigong(UserWorldId,8)
SetQigong(UserWorldId,9)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+300000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[五转任务]
function MissIon178(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 100 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=5 then
return
elseif Player.Player_Level < 100 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,5)
SetQigong(UserWorldId,10)
AddSkill(UserWorldId,0,25)
AddSkill(UserWorldId,0,26)
AddSkill(UserWorldId,0,27)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+400000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[六转任务]
function MissIon300(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<115 or Player.Player_WuXun<2000 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=6 then
return
elseif Player.Player_Level<115 or Player.Player_WuXun<2000 or Player.Player_Money<1000000000 or Player.Player_Job_leve<5 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook6(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,6)
Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[七转任务]
function MissIon301(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<120 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=7 then
return
elseif Player.Player_Level<120 or Player.Player_Money<1000000000 or Player.Player_Job_leve<6 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook7(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,7)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务]
function MissIon400(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务1]
function MissIon401(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务2]
function MissIon402(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务3]
function MissIon403(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务4]
function MissIon404(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务5]
function MissIon405(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务6]
function MissIon406(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务7]
function MissIon407(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务8]
function MissIon408(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[八转转任务9]
function MissIon409(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 or Player.Player_Money<1000000000 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Job_leve>=8 then
return
elseif Player.Player_Level<130 or Player.Player_Money<1000000000 or Player.Player_Job_leve<7 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"装备栏没有空位了,请清理", 9, "系统提示")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
--Player.Player_Money=Player.Player_Money+400000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
Còn đây là log khi nhận nv, mãi khôgn trả đc nv :(
<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b> (<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>)
Xóa nội dung của file NpcMisson.lua kia đi copy hết đoạn này rồi Save lại :-c
-> Trong floder Script có các file lua khác thì xóa hết luôn đi chỉ chừa lại 2 File OpenItmeTrigGer.lua với NpcMisson.lua là đủ rồi !!
--[Thăng Chức 1]
function MissIon18(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
elseif CzId==2 then
if Player.Player_Level < 10 then
return
end
SetPlayerTransfer(UserWorldId,0,1)
SetQigong(UserWorldId,5)
UpHpMpSp(UserWorldId)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+500000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 2 Chính Phái]
function MissIon11(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 35 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 35 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,1,2)
SetQigong(UserWorldId,6)
UpGongFu(UserWorldId)
UpYzbItme(UserWorldId)
Player.Player_Money=Player.Player_Money+1000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 2 Tà Phái]
function MissIon12(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 35 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 35 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,2,2)
SetQigong(UserWorldId,6)
UpGongFu(UserWorldId)
UpYzbItme(UserWorldId)
Player.Player_Money=Player.Player_Money+1000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 3 Chính Phái]
function MissIon45(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 60 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 60 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,3)
SetQigong(UserWorldId,7)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+2000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 3 Tà Phái]
function MissIon46(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 60 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 60 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,3)
SetQigong(UserWorldId,7)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+2000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 4 Chính Phái]
function MissIon73(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 80 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 80 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,4)
SetQigong(UserWorldId,8)
SetQigong(UserWorldId,9)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+3000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 4 Tà Phái]
function MissIon74(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 80 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 80 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,4)
SetQigong(UserWorldId,8)
SetQigong(UserWorldId,9)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+3000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 5]
function MissIon178(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 100 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 100 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,5)
SetQigong(UserWorldId,10)
AddSkill(UserWorldId,0,25)
AddSkill(UserWorldId,0,26)
AddSkill(UserWorldId,0,27)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+4000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Thiên 1]
function MissIon300(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<115 or Player.Player_WuXun < 15000 then
SendSysMsg(UserWorldId,"Diem Vo Huan chua dat 15000!", 20, "He thong")
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level<115 or Player.Player_WuXun < 15000 then
SendSysMsg(UserWorldId,"Diem Vo Huan chua dat 15000!", 20, "He thong")
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"Khong du o trong", 9, "He thong")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook6(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,6)
Player.Player_Money=Player.Player_Money+5000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Thiên 2]
function MissIon301(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<120 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level<120 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"Khong du o trong", 9, "He thong")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook7(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,7)
Player.Player_Money=Player.Player_Money+6000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Thiên 3]
function MissIon254(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level<130 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"Khong du o trong!", 9, "He thong")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
Player.Player_Money=Player.Player_Money+7000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
tsunami9x
18-07-14, 09:21 PM
Xóa nội dung của file NpcMisson.lua kia đi copy hết đoạn này rồi Save lại :-c
-> Trong floder Script có các file lua khác thì xóa hết luôn đi chỉ chừa lại 2 File OpenItmeTrigGer.lua với NpcMisson.lua là đủ rồi !!
--[Thăng Chức 1]
function MissIon18(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
elseif CzId==2 then
if Player.Player_Level < 10 then
return
end
SetPlayerTransfer(UserWorldId,0,1)
SetQigong(UserWorldId,5)
UpHpMpSp(UserWorldId)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+500000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 2 Chính Phái]
function MissIon11(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 35 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 35 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,1,2)
SetQigong(UserWorldId,6)
UpGongFu(UserWorldId)
UpYzbItme(UserWorldId)
Player.Player_Money=Player.Player_Money+1000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 2 Tà Phái]
function MissIon12(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 35 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 35 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,2,2)
SetQigong(UserWorldId,6)
UpGongFu(UserWorldId)
UpYzbItme(UserWorldId)
Player.Player_Money=Player.Player_Money+1000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 3 Chính Phái]
function MissIon45(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 60 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 60 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,3)
SetQigong(UserWorldId,7)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+2000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 3 Tà Phái]
function MissIon46(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 60 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 60 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,3)
SetQigong(UserWorldId,7)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+2000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 4 Chính Phái]
function MissIon73(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 80 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 80 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,4)
SetQigong(UserWorldId,8)
SetQigong(UserWorldId,9)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+3000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 4 Tà Phái]
function MissIon74(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 80 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 80 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,4)
SetQigong(UserWorldId,8)
SetQigong(UserWorldId,9)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+3000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Chức Lần 5]
function MissIon178(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level < 100 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level < 100 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
SetPlayerTransfer(UserWorldId,Player.Player_Zx,5)
SetQigong(UserWorldId,10)
AddSkill(UserWorldId,0,25)
AddSkill(UserWorldId,0,26)
AddSkill(UserWorldId,0,27)
UpGongFu(UserWorldId)
Player.Player_Money=Player.Player_Money+4000000
UpMoney(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Thiên 1]
function MissIon300(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<115 or Player.Player_WuXun < 15000 then
SendSysMsg(UserWorldId,"Diem Vo Huan chua dat 15000!", 20, "He thong")
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level<115 or Player.Player_WuXun < 15000 then
SendSysMsg(UserWorldId,"Diem Vo Huan chua dat 15000!", 20, "He thong")
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"Khong du o trong", 9, "He thong")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook6(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,6)
Player.Player_Money=Player.Player_Money+5000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Thiên 2]
function MissIon301(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<120 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level<120 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"Khong du o trong", 9, "He thong")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook7(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,7)
Player.Player_Money=Player.Player_Money+6000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
--[Thăng Thiên 3]
function MissIon254(UserWorldId,QuestId, CzId, RwJdId)
local Player = GetPlayer(UserWorldId)
if CzId==1 then
if Player.Player_Level<130 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
else
SendMissionMsg(UserWorldId,QuestId, 11, RwJdId)
end
elseif CzId==2 then
if Player.Player_Level<130 then
SendMissionMsg(UserWorldId,QuestId, 12, RwJdId)
return
end
local weiz=GetPackage(UserWorldId)
if weiz==-1 then
SendSysMsg(UserWorldId,"Khong du o trong!", 9, "He thong")
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
return
end
AddSkillBook8(UserWorldId,weiz);
SetPlayerTransfer(UserWorldId,Player.Player_Zx,8)
Player.Player_Money=Player.Player_Money+7000000
UpGongFu(UserWorldId)
UpMoney(UserWorldId)
UpExp(UserWorldId)
UpYzbItme(UserWorldId)
AddQuest(UserWorldId,QuestId,1)
SendMissionMsg(UserWorldId,QuestId, 21, 1)
elseif CzId==3 then
SendMissionMsg(UserWorldId,QuestId, 31, RwJdId)
elseif CzId==5 then
SendMissionMsg(UserWorldId,QuestId, 51, RwJdId)
end
end
hjx, giờ thì còn ko nhận đc nv luôn :'( click mãi ko nhận nổi :'(
Mà bạn cho có DB 7.0 mà vị trí NPC chuẩn không? DB hiện tại NPC đứng hết 1 chỗ nhìn chán muốn chêt :(
hjx, giờ thì còn ko nhận đc nv luôn :'( click mãi ko nhận nổi :'(
Mà bạn cho có DB 7.0 mà vị trí NPC chuẩn không? DB hiện tại NPC đứng hết 1 chỗ nhìn chán muốn chêt :(
Cái đấy là chỉ nhiệm vụ thăng chức thôi :| , muốn các nhiệm vụ khác thì phải tự viết !
quocphi1206
23-07-14, 11:18 PM
Tình hình mình chới sv này cũng bị 1 số lỗi : <b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>
-quái đánh mãi không chết
-đăng nhập 1 lần out tk ra đăng nhập lại không đc mà phải tắt hẳn login và game sever
-Mình chơi client 9.0 quái bị lỗi tọa độ không khớp
- NPC thỉnh thoảng click vào không hiện ra bảng menu lại out sever vào từ đầu :(
Pi có khắc phục đc lỗi nào ko chỉ mình với
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.