PDA

View Full Version : [JX] [Giúp đỡ] Server The Hades - Lỗi không có chức năng Chuyển Sinh



shocklads
10-09-12, 09:07 AM
Mình dùng server the Hades, mọi thứ đều ổn chỉ có việc ko thể đối thoại với NPC Chuyển sinh. Bạn nào biết cách fix vui lòng hd giùm mình. Thx!:">

Learning
10-09-12, 09:11 AM
--Author:Ohishu
----Date: 08/08/2010

Include("\\script\\source\\sourcejx49.lua")
Include("\\script\\global\\monter\\monterblh.lua")
Include("\\script\\global\\monter\\monter_dtt.lua")
Include("\\script\\global\\monter\\monter2x.lua")
Include("\\script\\global\\monter\\monter3x.lua")
Include("\\script\\global\\monter\\monter4x.lua")
Include("\\script\\global\\monter\\monter5x.lua")
Include("\\script\\global\\monter\\monter6x.lua")
Include("\\script\\global\\monter\\monter7x.lua")
Include("\\script\\global\\monter\\monter8x.lua")
Include("\\script\\global\\monter\\monter9x.lua")
Include("\\script\\global\\monter\\monter10x.lua")
Include("\\script\\global\\monter\\monter11x.lua")
Include("\\script\\global\\monter\\monter12x.lua")
Include("\\script\\global\\monter\\monter13x.lua")
Include("\\script\\global\\monter\\monter14x.lua")
Include("\\script\\global\\monter\\monter15x.lua")
Include("\\script\\global\\monter\\monter16x.lua")
Include("\\script\\global\\monter\\monter17x.lua")
Include("\\script\\global\\monter\\monter18x.lua")
Include("\\script\\global\\monter\\monter19x.lua")
Include("\\script\\global\\monter\\monter20x.lua")
Include("\\script\\global\\monter\\benthuyen.lua")
Include("\\script\\global\\monter\\satthu.lua")
Include("\\script\\global\\monter\\vuotai.lua")
Include("\\script\\tongkim\\addquaitongkim.lua")
Include("\\script\\global\\monter\\thanhthi.lua")
Include("\\script\\congthanh\\addquaicongthanh.lua")
function npcallmaps()
npcmapindex = SubWorldID2Idx(53)
mp1=AddNpc(189,95,npcmapindex,1615*32,3171*32)
mp2=AddNpc(184,95,npcmapindex,1612*32,3174*32)
mp3=AddNpc(186,95,npcmapindex,1620*32,3165*32)
mp4=AddNpc(177,95,npcmapindex,1625*32,3167*32)
mp5=AddNpc(527,95,npcmapindex,1639*32,3187*32)
mp6=AddNpc(171,95,npcmapindex,1637*32,3189*32)
mp7=AddNpc(174,95,npcmapindex,1635*32,3191*32)
mp8=AddNpc(188,95,npcmapindex,1633*32,3193*32)
mp9=AddNpc(187,95,npcmapindex,1631*32,3195*32)
mp10=AddNpc(181,95,npcmapindex,1618*32,3168*32)

SetNpcScript(mp1, "\\script\\global\\monphai\\thieulam.lua");
SetNpcScript(mp2, "\\script\\global\\monphai\\thienvuong.lua");
SetNpcScript(mp3, "\\script\\global\\monphai\\ngudoc.lua");
SetNpcScript(mp4, "\\script\\global\\monphai\\duongmon.lua");
SetNpcScript(mp5, "\\script\\global\\monphai\\ngami.lua");
SetNpcScript(mp6, "\\script\\global\\monphai\\thuyyen.lua");
SetNpcScript(mp7, "\\script\\global\\monphai\\caibang.lua");
SetNpcScript(mp8, "\\script\\global\\monphai\\vodang.lua");
SetNpcScript(mp9, "\\script\\global\\monphai\\conlon.lua");
SetNpcScript(mp10, "\\script\\global\\monphai\\thiennhan.lua");
---He Thong NPC Script
npcmapindex= SubWorldID2Idx(53)
npcid801=AddNpc(831,95,npcmapindex,1620*32,3172*32 )
npcid802=AddNpc(218,95,npcmapindex,1623*32,3175*32 )
npcid803=AddNpc(176,95,npcmapindex,1626*32,3178*32 )
npcid804=AddNpc(244,95,npcmapindex,1629*32,3181*32 )
npcid807=AddNpc(670,95,npcmapindex,1632*32,3184*32 )
npcid808=AddNpc(216,95,npcmapindex,50800,103000)
npcid809=AddNpc(288,95,npcmapindex,52120,101530)
kytrancac=AddNpc(182,95,npcmapindex,51712,101888)
cs=AddNpc(675,95,npcmapindex,51456,102400)
SetNpcScript(cs ,"\\script\\global\\chuyensinh.lua")
SetNpcScript(kytrancac, "\\script\\global\\kytrancac.lua")
SetNpcScript(npcid807, "\\script\\vuotai\\sugia1.lua")
SetNpcScript(npcid801, "\\script\\tongkim\\baodanhtongkim.lua")
SetNpcScript(npcid802, "\\script\\global\\sugiasatthu.lua")
SetNpcScript(npcid803, "\\script\\global\\bannguavip.lua")
SetNpcScript(npcid804, "\\script\\global\\tientrang.lua")
SetNpcScript(npcid808,"\\script\\global\\lekienquan.lua")
SetNpcScript(npcid809,"\\script\\datau\\dataunew.lua")
--SetNpcScript(npcid805, "\\script\\global\\taytuy.lua")
--SetNpcScript(npcid806, "\\script\\global\\sudungsach.lua")
AddNPCEx(668,1,53,202,200,3,8,"\\script\\global\\lanh_dia\\main_ld.lua",6)
AddNPCEx(681,1,53,199,199,9,7,"\\script\\global\\npc_xephang.lua",6)
AddNPCEx(219,1,53,199,198,9,2,"\\script\\global\\buonban\\taphoa.lua",6)
AddNPCEx(198,1,53,198,197,1,2,"\\script\\global\\buonban\\thoren1.lua",6)
AddNPCEx(203,1,53,199,200,4,7,"\\script\\global\\buonban\\hieuthuoc.lua",6)
AddNPCEx(237,1,45,205,201, 8,6,"\\script\\ohishu\\sanboss\\xaphu.lua",6)
AddNPCEx(291,1,53,195,202, 9,7,"\\script\\global\\doanhoadang.lua",5)
AddNPCEx(293,1,53,193,203, 2,12,"\\script\\global\\chuongdangcungnu.lua",5)
AddNPCEx(245,1,53,198,201, 4,7,"\\script\\global\\daisulaolao.lua",5)
AddNPCEx(260,1,53,199,200, 9,6,"\\script\\global\\hangrong.lua",5)
AddNPCEx(173,1,53,203,199, 5,5,"\\script\\global\\sudungsach.lua",6)
--AddNPCEx(676,1,53,203,199, 5,5,"\\script\\global\\taytuy.lua",6)
AddNPCEx(178,1,53,202,200, 12,10,"\\script\\global\\epdo\\trangbihk.lua",5) -- ep do Hk +1 >. +10
--AddNPCEx(290,1,53,208,202, 12,10,"\\script\\global\\5qua.lua",5) -- cay ngu qua~
AddNPCEx(251,1,53,202,198,3,9,"\\script\\cacsukien\\banghoi\\lapbang.lua",6) -- tao bang hoi
AddNPCEx(689,1,53,200,199,2,12,"\\script\\ket_hon\\nguyetlao.lua",6)
--AddNPCEx(198,1,53,199,199, 0,0,"\\script\\global\\buonban\\thoren1.lua",6) -- ep do tim'
--AddNPCEx(292,1,53,207,203,11,8,"\\script\\global\\nguyendan.lua")
AddNPCEx(290,1,53,198,201,7,0,"\\script\\global\\nguyendan.lua") --- them moi
nguyendan = AddNpc(196,1,npcmapindex,1599*32,3226*32)
SetNpcScript(nguyendan,"\\script\\global\\epbc.lua")

--nguyendan = AddNpc(292,1,npcmapindex,1599*32,3226*32)
--SetNpcScript(nguyendan,"\\script\\global\\nguyendan.lua")
ruong1 = AddNpc(516,1,npcmapindex,1577*32,3253*32)
SetNpcScript(ruong1,"\\script\\moilam\\ruongchua.lua")
onggia = AddNpc(686,1,npcmapindex,1612*32,3209*32)
SetNpcScript(onggia,"\\script\\global\\onggianoel.lua")
----He Thong Monter
npcthanhthi()
monterskills()
monterblh()
monter2x()
monter3x()
monter4x()
monter5x()
monter6x()
monter7x()
monter8x()
monter9x()
monter10x()
monter11x()
monter12x()
monter13x()
monter14x()
monter15x()
monter16x()
monter17x()
monter18x()
monter19x()
monter20x() -- phong lang do
benthuyen()
pldbac()
----He Thong Vuot Ai Tong Kim Cong Thanh Boss Sat Thu !
addquaitongkim()
bosssatthu()
addquaicongthanh()



----He Thong NPC Lien Dau !
AddNPCEx(175,1,53,204,201,4,1,"\\script\\global\\thanbithuongnhan.lua",6)
--AddNPCEx(775,1,42,186,190,6,8,"\\script\\lien_dau\\su_gia_lien_dau.lua",6)
--AddNPCEx(838,1,42,192,189,6,8,"\\script\\moilam\\ruongchua.lua",6)
--AddNPCEx(235,1,42,183,188,6,8,"\\script\\lien_dau\\xaphuliendau.lua",6)
--AddNPCEx(203,1,42,191,192,6,8,"\\script\\lien_dau\\chuduocdiem.lua",6)
--- NPC Phong Lang Do
AddNPCEx(235,1,46,143,188, 6,7,"\\script\\phonglangdo\\xaphupld.lua",5)
AddNPCEx(235,1,46,160,181, 6,9,"\\script\\phonglangdo\\xaphupld.lua",5)

----He Thong NPC Lanh Dia !
AddNPCEx(170,1,55,202,204,0,4,"\\script\\global\\lanh_dia\\tranhvlmc.lua",6)
AddNPCEx(170,1,54,202,204,0,4,"\\script\\global\\lanh_dia\\tranhvlmc.lua",6)
AddNPCEx(170,1,56,202,204,0,4,"\\script\\global\\lanh_dia\\tranhvlmc.lua",6)
AddNPCEx(235,1,57,212,205,2,5,"\\script\\Á½ºþÇø\\°ÍÁêÏØ\\npc\\xaphu.l ua",6)
AddNPCEx(235,1,58,211,205,6,7,"\\script\\Á½ºþÇø\\°ÍÁêÏØ\\npc\\xaphu.l ua",6)
AddNPCEx(235,1,59,211,205,7,4,"\\script\\Á½ºþÇø\\°ÍÁêÏØ\\npc\\xaphu.l ua",6)
AddNPCEx(197,1,57,201,205,8,8,"\\script\\global\\lanh_dia\\phongngua.lua",6)
AddNPCEx(170,1,57,204,204,9,1,"\\script\\global\\lanh_dia\\phongtinhluyen.lua",6)
AddNPCEx(198,1,57,210,201,3,5,"\\script\\global\\lanh_dia\\phongren.lua",6)
AddNPCEx(674,1,57,213,200,0,2,"\\script\\global\\lanh_dia\\phonglactap.lua",6)
AddNPCEx(178,1,57,208,204,5,1,"\\script\\global\\lanh_dia\\phongtho.lua",6)
AddNPCEx(178,1,58,208,203,5,8,"\\script\\global\\lanh_dia\\phongtho.lua",6)
AddNPCEx(178,1,59,208,203,5,8,"\\script\\global\\lanh_dia\\phongtho.lua",6)
AddNPCEx(197,1,58,202,205,2,4,"\\script\\global\\lanh_dia\\phongngua.lua",6)
AddNPCEx(170,1,58,204,204,6,3,"\\script\\global\\lanh_dia\\phongtinhluyen.lua",6)
AddNPCEx(198,1,58,209,201,8,6,"\\script\\global\\lanh_dia\\phongren.lua",6)
AddNPCEx(674,1,58,212,200,9,1,"\\script\\global\\lanh_dia\\phonglactap.lua",6)
AddNPCEx(197,1,59,201,205,8,7,"\\script\\global\\lanh_dia\\phongngua.lua",6)
AddNPCEx(170,1,59,204,204,9,1,"\\script\\global\\lanh_dia\\phongtinhluyen.lua",6)
AddNPCEx(198,1,59,208,202,9,1,"\\script\\global\\lanh_dia\\phongren.lua",6)
AddNPCEx(674,1,59,213,200,2,0,"\\script\\global\\lanh_dia\\phonglactap.lua",6)
end



Lưu Lại Với Tên Là Get_NPC.lua . rồi copy vào Script/Global/

shocklads
10-09-12, 09:17 AM
Lưu Lại Với Tên Là Get_NPC.lua . rồi copy vào Script/Global/
Ko biết mình còn bị lỗi gì khác ko, nhưng sau khi thử copy thư mục script của server DuongDaiCaJX qua vẫn ko đối thoại với NPC đc. Vậy NPC Chuyển sinh này còn bị hạn chế ở file nào khác nữa ko nhỉ?

Learning
10-09-12, 09:23 AM
để lại yahoo đi. tớ team qua coi nào .

shocklads
10-09-12, 09:25 AM
để lại yahoo đi. tớ team qua coi nào .
Thx bạn.
<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>