Xem kết quả Bình chọn: Bạn đánh giá như thế nào về ver3
- Người bình chọn
- 67. Bạn không thể bình chọn trong Bình chọn này
Bình chọn có nhiều lựa chọn
Kết quả 321 đến 330 của 339
-
05-03-15, 04:54 PM #321
- Ngày tham gia
- Apr 2013
- Bài viết
- 1,237
- Thanks
- 315
- Thanked 500 Times in 292 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
Khách viếng thăm hãy cùngbthhhzxây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
05-03-15, 05:11 PM #322
- Ngày tham gia
- Mar 2015
- Bài viết
- 6
- Thanks
- 7
- Thanked 0 Times in 0 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
Tại mình nói chưa rõ nên chắc bạn hiểu sai ý
Win8 nhưng chạy kèm trên máy ảo, chứ không chạy trực tiếp được...
Còn 1 thắc mắt mong m.n giải thích hộ với ( cái chức năng GM mình kích hoạt theo cách này [Only registered and activated users can see links. ] rồi mà nó không hiển thị được
Sửa xong - load lại SecureCRT_ thì khi kích vào nó nhảy chúc năng lung tung...)Khách viếng thăm hãy cùng AlvinEdward xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
05-03-15, 09:32 PM #323
- Ngày tham gia
- Apr 2013
- Bài viết
- 1,237
- Thanks
- 315
- Thanked 500 Times in 292 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
Tốt nhất tự làm 1 cái thẻ GM cho bản thân đỡ phải cực .
Code lệnh bài GM mình làm đây . share cho mọi người phát triển nhanh
Ưu điểm : mang theo bên người muốn dùng chỗ nào cũng được, có hàm dofile muốn test script nhanh cu'' dung winscp sửa trực tiếp rồi tét luôn tại chỗ
Nhược điểm : Chưa thấy nhược điểm
Cách add ntn thì cũng như add thêm 1 item vào nhé
Code:Include("\\script\\lib\\awardtemplet.lua") Include("\\script\\dailogsys\\dailogsay.lua") Include("\\script\\global\\fuyuan.lua") Include("\\script\\missions\\leaguematch\\npc\\officer.lua") Include("\\script\\lib\\log.lua") function main() dofile("script/item/bthhh1995.lua") local tbSay = {} tinsert(tbSay,"Test lung lung./test") tinsert(tbSay,"NhËn 20 cÊp ®é./capdo") tinsert(tbSay,"Trang bÞ Cùc PhÈm/cucphkhac") tinsert(tbSay,"Ta muèn lÊy vËt phÈm./show_item") -- tinsert(tbSay,"Ta muèn nhËn tiÒn ®ång./moreitem") tinsert(tbSay,"NhËn ®iÓm/hotro") tinsert(tbSay,"Trang bÞ hiÕm/fifong") tinsert(tbSay,"Thay ®æi tr¹ng th¸i/trangthai") -- tinsert(tbSay,"LÊy ngùa/layngua") -- tinsert(tbSay,"NhËn Skill 180/nhanskill180") tinsert(tbSay,"Tho¸t/no") Say(" LÖnh Bµi Hç Trî Test Game - By Bthhh1995", getn(tbSay), tbSay) return 1 end function test() --AddGoldItem(0, 6) for i=1,1 do AddItem(6,1,1,0,0,0) end end function capdo() for i=1,20 do AddOwnExp(1000000000000) end end SKILL_180 = {1220,1221,1223,1222,1224,1225,1227,1226,1228,1229} local tbEquipFreeCell = { {2, 1}, {2, 2}, {1, 1}, {1, 2}, {2, 1}, --¾±´ø£¬¶¥´÷£¬ÉϽ䣬»¤Ýó£¬Ñü´ø {2, 3}, {2, 4}, {2, 2}, {1, 2}, {1, 1}, --?¢ÎÎäÆ÷£¬Ñ¥×Ó£¬Ñü×¹£¬Ï¢½ä } local tbFactionSeries = { [1] = {1, 2}, [2] = {3, 4}, [3] = {5, 6}, [4] = {7, 8}, [5] = {9, 10}, } function trangthai() local tbSay = {} tinsert(tbSay,"PK ChÝnh Ph¸i./mauvang") tinsert(tbSay,"PK Tµ Ph¸i./mautim") tinsert(tbSay,"PK Trung LËp./mauxanh") tinsert(tbSay,"PK S¸t Thñ./maudo") tinsert(tbSay,"Tho¸t/no") Say(" LÖnh Bµi Hç Trî Test Game - By Bthhh1995 ", getn(tbSay), tbSay) end function mauvang() SetCurCamp(1) SetCamp(1) end function mautim() SetCurCamp(2) SetCamp(2) end function mauxanh() SetCurCamp(3) SetCamp(3) end function maudo() SetCurCamp(4) SetCamp(4) end function no() end local tbFreeItem = { {szName="Håi Thiªn T¸i T¹o CÈm Nang", tbProp={6,1,1781,1,0,0}, tbParam={60}}, {szName="Nh¹c v¬ng kiÕm", tbProp={6,1,2340,0,0,0}}, {szName="Qu¶ huy hoµng cao cÊp.", tbProp={6,1,1075,1,0,0}}, {szName="Khiªu chiªn lÔ bao", tbProp={6,1,2006,1,0,0}}, {szName="-ThËp Toµn §¹i Bæ-", tbProp={6,1,1399,1,0,0}}, {szName="Viªm §ª ®å b¶o", tbProp={6,1,2805,1,0,0}}, {szName="Tèng kim bÝ b¶o", tbProp={6,1,2741,1,0,0}}, {szName="§¹i lùc", tbProp={6,1,2517,1,0,0}}, {szName="-H·n HuyÕt Long C©u-", tbProp={0,10,18,1,0,0}, nWidth=2, nHeigth=3}, } function nhanskill180() local nFaction = GetLastFactionNumber() + 1 if nFaction==0 then Say("Kh«ng cã m«n ph¸i mµ ®åi nhËn skill thÊt truyÒn, ta kh«ng cã thêi gian ®ïa víi ng¬i", 0) return else for i=1,10 do if (nFaction==i) then if (HaveMagic(SKILL_180[i]) == -1) then AddMagic(SKILL_180[i],20) Say("B¹n häc ®îc kü n¨ng cÊp 180 <color=yellow>"..GetSkillName(SKILL_180[i]), 0) else Say("Ng¬i ®· cã kü n¨ng thÊt truyÒn råi, ®õng tham lam", 0) return end end end end end function cucphkhac() dohoangkim() end function bachkim() local tbOpt = { {"ThiÕu l©m", bktl}, {"Thiªn v¬ng", bktv}, {"®êng m«n", bkdm}, {"Ngò ®éc", bk5d}, {"Nga mi", bknm}, {"Thuý yªn", bkty}, {"C¸i bang", bkcb}, {"Thiªn nhÉn", bktn}, {"Vâ ®ang", bkvd}, {"C«n l«n", bkcl}, {"Trë l¹i", dialog_main}, {"Tho¸t"}, } CreateNewSayEx("<npc>Chän m«n ph¸i?", tbOpt) end function bktl() AddGoldItem(0, 11) AddGoldItem(0, 6) end function bktv() AddGoldItem(0, 16) AddGoldItem(0, 21) AddGoldItem(0, 26) end function bknm() AddGoldItem(0, 31) end function bkty() AddGoldItem(0, 46) end function bk5d() AddGoldItem(0, 61) end function bkdm() AddGoldItem(0, 71) AddGoldItem(0, 76) AddGoldItem(0, 81) end function bkcb() AddGoldItem(0, 96) end function bktn() AddGoldItem(0, 101) end function bkvd() for i=4346,4355 do AddPlatinaItem(3, i) end end function bkcl() AddGoldItem(0, 126) end function hacthan() for i=3890,3894 do AddGoldItem(0, i) end end function matna1() for i=4493,4523 do AddGoldItem(0, i) end end function matna2() for i=4524,4554 do AddGoldItem(0, i) end end function matna3() for i=4555,4585 do AddGoldItem(0, i) end end function matna4() for i=4586,4616 do AddGoldItem(0, i) end end function matna5() for i=4617,4630 do AddGoldItem(0, i) end end function nukim() if GetSex() == 1 then SetSeries(0) KickOutSelf() else Talk(1,"","Ng¬i lµ Pª §ª µ ?") end end function hotro() local tbOpt = { -- {"T¨ng kinh nghiÖm", kn}, {"LÊy 100 tiÒn ®ång", tiendong}, {"TiÒn", tien}, {"TÈy ®iÓm", clear_attibute_point}, {"Danh väng,Phóc duyªn", danhvongphucduyen}, {"Tµi l·nh ®¹o", lanhdao}, -- {"§iÓm Kü N¨ng", pointkynang}, -- {"§iÓm TiÒm N¨ng", pointtiemnang}, {"Trë l¹i", main}, {"Tho¸t"}, } CreateNewSayEx("<npc>Anh cÇn g×?", tbOpt) end function pointkynang() AddMagicPoint(100) CreateNewSayEx("<npc>B¹n nhËn ®îc 100 ®iÓm kü n¨ng", tbOpt) KickOutSelf() end; function pointtiemnang() AddProp(1000) CreateNewSayEx("<npc>B¹n nhËn ®îc 10000 ®iÓm tiÒm n¨ng", tbOpt) end; function lanhdao() for i=1,20 do AddLeadExp(10000000) end end function kn() for i=1,80 do AddOwnExp(1000000000) end end function tien1() Earn(1000000) end function tien() Earn(100000000) end function danhvongphucduyen() AddRepute(100000); FuYuan_Start(); FuYuan_Add(100000); CreateNewSayEx("<npc>B¹n nhËn ®îc 10000 ®iÓm", tbOpt) end function conghien() AddContribution(100000) end function trungsinh() AddReBorn(10) end function gm_functionboss() for i =1,10 do AddItem(6,1,1022,0,0,0) end end function moreitem() local tab_Content = { " LÊy 100 tiÒn ®ång /tiendong", -- " LÊy VK HKMP /bachkim", -- " LÊy 1000v lîng /tienvan", -- " LÊy Cùc PhÈm /tbcucph", -- "LÖnh bµi gäi boss /goiboss", "Vßng s¸ng danh hiÖu/vongsa", " Th«i kh«ng lÊy g× n÷a hãt." } Say(" Muèn lÊy thªm c¸i g× nµo ? ", getn(tab_Content), tab_Content); end; function tienvan() Earn(10000000) end; function tbcucph() cucpham() end; function tiendong() AddStackItem(100,4,417,1,1,0,0,0) -- nhan 100 tien dong end; function goiboss() AddItem(6,1,1022,0,0,0) end function vongsa() n_title = 3000 -- S?a ID danh hi?u vào local nServerTime = GetCurServerTime()+ 1728000; --20*24*60*60 local nDate = FormatTime2Number(nServerTime); local nDay = floor(mod(nDate,1000000) / 10000); local nMon = mod(floor(nDate / 1000000) , 100) local nTime = nMon * 1000000 + nDay * 10000 Title_AddTitle(n_title, 2, nTime) Title_ActiveTitle(n_title) end function layngua() local tbOpt = { {"Ngùa nhãm 1", vip1}, {"Ngùa nhãm 2", vip2}, {"Ngùa nhãm 3", vip3}, -- {"Ngùa nhãm 4", vip4}, -- {"Ngùa b¸ ®¹o", nguabadao}, {"Trë l¹i", dialog_main}, {"Tho¸t"}, } CreateNewSayEx("<npc>Anh cÇn g×?", tbOpt) end function nguabadao() AddGoldItem(0, 4480) AddGoldItem(0, 4366) AddGoldItem(0, 5093) AddGoldItem(0, 5097) end function vip1() AddItem(0,10,6,10,0,0,0) AddItem(0,10,7,10,0,0,0) AddItem(0,10,8,10,0,0,0) AddItem(0,10,9,10,0,0,0) AddItem(0,10,10,10,0,0,0) end function vip2() AddItem(0,10,11,10,0,0,0) AddItem(0,10,12,10,0,0,0) AddItem(0,10,13,10,0,0,0) AddItem(0,10,14,10,0,0,0) AddItem(0,10,15,10,0,0,0) end function vip3() AddItem(0,10,16,10,0,0,0) AddItem(0,10,17,10,0,0,0) AddItem(0,10,18,10,0,0,0) AddItem(0,10,19,10,0,0,0) AddItem(0,10,20,10,0,0,0) end function vip4() AddItem(0,10,21,10,0,0,0) AddItem(0,10,22,10,0,0,0) AddItem(0,10,23,10,0,0,0) AddItem(0,10,24,10,0,0,0) AddItem(0,10,25,10,0,0,0) end function level_up_to150() local nCurLevel = GetLevel() if nCurLevel >= 150 then if ST_IsTransLife() == 1 then Talk(1, "", "Ng¬i ®· ®¹t cÊp 150 råi.") else Talk(1, "", "§i chuyÓn sinh tríc ®i råi trë l¹i th¨ng cÊp.") end return end local nAddLevel = 150 - nCurLevel ST_LevelUp(nAddLevel) end function choose_faction() if check_faction() ~= 1 then Talk(1, "", "Ng¬i ®· gia nhËp m«n ph¸i.") return end local nSeries = GetSeries() + 1 local tbOpt = {} for i=1, getn(%tbFactionSeries[nSeries]) do local nIndex = %tbFactionSeries[nSeries][i] tinsert(tbOpt, {%tbFaction[nIndex].szShowName, set_faction, {nIndex}}) end tinsert(tbOpt, {"Trë vª", dialog_main}) tinsert(tbOpt, {"Kªt thóc ®èi tho¹i."}) CreateNewSayEx("<npc>Mét khi gia nhËp m«n ph¸i kh«ng thÓ thay ®æi, h·y suy nghÜ kü.", tbOpt) end function set_faction(nIndex) local szTitle = format("<npc>X¸c nhËn muèn gia nhËp m«n ph¸i ?<color=yellow>%s<color> m«n ph¸i?", %tbFaction[nIndex].szShowName) local tbOpt = { {"X¸c nhËn!", do_set_faction, {nIndex}}, {"Trë vª.", choose_faction}, {"Kªt thóc ®èi tho¹i."}, } CreateNewSayEx(szTitle, tbOpt) end function show_equip(nFactionId, nSubFactionId) local tbEquip = %tbFaction[nFactionId]["tbEquip"][nSubFactionId] local tbEquipName = tbEquip["tbEquipName"] local nFirstEquipId = tbEquip["nFirstEquipId"] local tbOpt = {} for i=1, getn(tbEquipName) do tinsert(tbOpt, {tbEquipName[i], get_equip, {i, nFirstEquipId + i - 1}}) end tinsert(tbOpt, {"Trë vª", show_faction}) tinsert(tbOpt, {"Kªt thóc ®èi tho¹i."}) local szTitle = format("<npc>LÊy ®å %s Kim ¤", tbEquip.szFaction) CreateNewSayEx(szTitle, tbOpt) end function get_equip(nIndex, nEquipId) local nWidth = %tbEquipFreeCell[nIndex][1] local nHeigth = %tbEquipFreeCell[nIndex][2] if CountFreeRoomByWH(nWidth, nHeigth) < 1 then Talk(1, "", format("CÇn Ut nhÊt 1 c¸i %dx%d tói ®eo lng", nWidth, nHeigth)) return end AddGoldItem(0, nEquipId) end function daithanhbikip15x() AddItem(6,1,30446,0,0,0) end function show_item() local tbOpt = {} local nCount = getn(%tbFreeItem) local szOption = "" for i=1, nCount-1 do szOption = format("NhËn %s", %tbFreeItem[i].szName) tinsert(tbOpt, {szOption, get_item, {i}}) end szOption = format("NhËn %s", %tbFreeItem[nCount].szName) tinsert(tbOpt, {szOption, get_single_item, {nCount}}) tinsert(tbOpt, {"NhËn cùc phÈm giíi chØ...", get_normal_item}) tinsert(tbOpt, {"NhËn ®¹i thµnh bÝ kÝp 150", daithanhbikip15x}) tinsert(tbOpt, {"Trë vª.", main}) tinsert(tbOpt, {"Kªt thóc ®èi tho¹i."}) CreateNewSayEx("<npc>l·o phu n¬i nµy ca h¬i thë nham vËt phÈm nhng nhËn lÊy", tbOpt) end function get_normal_item() local tbOpt = { --{"NhËn 5 viªn KNB.", cszb}, {"Hng Bang Chi Giíi", xb_jz}, {"TrÊn Nh¹c Chi Giíi", zy_jz}, {"Thîng Ph¬ng Chi Giíi", sf_jz}, {"Thiªn Hµ Giíi", sh_jz}, {"§O Hoµng Chi Giíi", dh_jz}, {"Thiªn Tö Chi Giíi", tz_jz}, {"ThO Tóc Toµn Giíi", sz_jz}, {"Cµn Kh«n Giíi ChØ (Cùc phÈm)", jz08}, {"L·nh B¸ Nguyªn Méng Chi Giíi (Míi)", jz08x}, {"Trë vÒ.", main}, {"Kªt thóc ®èi tho¹i."}, } CreateNewSayEx("<npc>L·o phu ca mét sè man cùc phÈm, ngêi cÇn thøc g× ?", tbOpt) end function fifong() local tbOpt = { {"Phi phong", phiphong}, {"Ên", an}, {"Trang søc", trangsuc}, -- {"Vò liÖt", vuliet}, -- {"Huynh ®Ö", huynhde}, -- {"Cè s¬n", coson}, -- {"D¬ng thÇn", duongthan}, {"VËt PhÈm Kh¸c", huytinh}, {"Trë l¹i", main}, {"Tho¸t"}, } CreateNewSayEx("<npc>Chän item", tbOpt) end function trangsuc() local tbOpt = { {"Trang søc 1", trangsuc1}, {"Trang søc 2", trangsuc2}, -- {"Trang søc 3", trangsuc3}, {"Trë l¹i", main}, {"Tho¸t"}, } CreateNewSayEx("<npc>Chän item", tbOpt) end function an23() local tbOpt = { {"Ên 1", an1}, {"Ên 2", an2}, {"Ên 3", an3}, {"Ên 4", an4}, {"Trë l¹i", main}, {"Tho¸t"}, } CreateNewSayEx("<npc>Chän item", tbOpt) end function huytinh() dotim() end function matna() local tbOpt = { {"MÆt n¹ 1", matna1}, {"MÆt n¹ 2", matna2}, {"MÆt n¹ 3", matna3}, {"MÆt n¹ 4", matna4}, {"MÆt n¹ 5", matna5}, {"Trë l¹i", main}, {"Tho¸t"}, } CreateNewSayEx("<npc>Chän item", tbOpt) end function an4() for i=5161,5197 do AddGoldItem(0, i) end end function an3() for i=5131,5161 do AddGoldItem(0, i) end end function an2() for i=5098,5130 do AddGoldItem(0, i) end end function coson() AddGoldItem(0, 4441) AddGoldItem(0, 4445) AddGoldItem(0, 4449) AddGoldItem(0, 4453) AddGoldItem(0, 4457) AddGoldItem(0, 4461) AddGoldItem(0, 4465) AddGoldItem(0, 4469) end function huynhde() for i=4436,4437 do AddGoldItem(0, i) end for i=4481,4482 do AddGoldItem(0, i) end end function vuliet() for i=5208,5212 do AddGoldItem(0, i) end end function pro1() for i=430,441 do AddGoldItem(0, i) end end function dongsat() for i=494,497 do AddGoldItem(0, i) end for i=378,379 do AddGoldItem(0, i) end end function duongthan() for i=514,520 do AddGoldItem(0, i) end end function phiphong() for i=3465,3490 do AddGoldItem(0, i) end end function an() for i=3205,3234 do AddGoldItem(0, i) end end function trangsuc1() for i=3542,3554 do AddGoldItem(0, i) end for i=3491,3506 do AddGoldItem(0, i) end end function trangsuc2() AddGoldItem(0,3506) AddGoldItem(0,3880) AddGoldItem(0,3881) AddGoldItem(0,3882) AddGoldItem(0,3883) AddGoldItem(0,3884) AddGoldItem(0,3885) AddGoldItem(0,3886) AddGoldItem(0,3887) AddGoldItem(0,3888) end function cszb() AddEventItem(343) AddEventItem(343) AddEventItem(343) AddEventItem(343) AddEventItem(343) end function xb_jz() AddGoldItem(0, 508) end function zy_jz() AddGoldItem(0, 509) end function sf_jz() AddGoldItem(0, 510) end function sh_jz() AddGoldItem(0, 511) end function dh_jz() AddGoldItem(0, 530) end function tz_jz() AddGoldItem(0, 531) end function sz_jz() AddGoldItem(0, 498) end function jz08() AddGoldItem(0, 3878) end function jz08x() AddGoldItem(0, 3541) end function get_item(nIndex) local nMaxCount = CalcFreeItemCellCount() g_AskClientNumberEx(0, nMaxCount, "Xin mêi ®a vµo nhËn lÊy", {get_item_back, {nIndex}}) end function get_item_back(nIndex, nCount) if nCount <= 0 then return end if CalcFreeItemCellCount() < nCount then Talk(1, "", format("CÇn Ut nhÊt <color=yellow>%d<color> tói kh«ng gian...", nCount)) return end local szLogTitle = format("[liguan]get_free_item_%s", %tbFreeItem[nIndex].szName) tbAwardTemplet:GiveAwardByList(%tbFreeItem[nIndex], szLogTitle, nCount) end function get_single_item(nIndex) local tbItem = %tbFreeItem[nIndex] if CountFreeRoomByWH(tbItem.nWidth, tbItem.nHeigth) < 1 then Talk(1, "", format("CÇn Ut nhÊt 1 %dx%d µÄ±³°ü¿O¼ä", tbItem.nWidth, tbItem.nHeigth)) return end local szLogTitle = format("[liguan]get_free_item_%s", tbItem.szName) tbAwardTemplet:GiveAwardByList(tbItem, szLogTitle) end function clear_attibute_point() local tbOpt = { {"TÈy ®iÓm kü n¨ng", clear_skill}, {"TÈy ®iÓm ti?m n¨ng", clear_prop}, {"Trë vÒ", main}, {"KOt thóc ®èi tho¹i."}, } CreateNewSayEx("<npc>Ng¬i quyOt u muèn tÈy tñy?", tbOpt) end function clear_skill() local tbOpt = { {"X¸c nhËn", do_clear_skill}, {"§Ó ta suy nghÜ l¹i."}, {"Trë v?", clear_attibute_point}, } CreateNewSayEx("<npc>Ng¬i vÉn quyOt u muèn tÈy tñy?", tbOpt) end function do_clear_skill() local i = HaveMagic(210) -- ÇṦ¸íÝâ²ï×÷ local j = HaveMagic(400) -- ¡°½ï¸»¼·Æ¶¡±¸íÝâ²ï×÷ local n = RollbackSkill() -- Çå³ý¼¼Äܲ¢·µ»ØËùÓм¼ÄÜ?㣨°üµ¨ÇṦµÈÌØÊâ¼¼ÄÜ£? local x = 0 if (i ~= -1) then i = 1; x = x + i end -- Õ⸽¾äÅжÏÊÇÅųý´Óδѧ¹ýÇṦµÄÈË·µ»Ø-1´Ó¶øµ¼Ö¢µãÊý¼ÆËã´íÎóÇé¿ö if (j ~= -1) then x = x + j end local rollback_point = n - x -- °Ñ¼¼Äܵ㵱×ö¿ÕÏеãÊý·µ»¹£¬µ«ÏÈ?Û³ýÇṦµ? if (rollback_point + GetMagicPoint() < 0) then -- Èç¹ûÏ´³É¸Ë¸ºÊý£¬Ôòµ±×÷0£¨ÎªÒԺ󶵴ÎÏ´µã±£?ô£? rollback_point = -1 * GetMagicPoint() end AddMagicPoint(rollback_point) if (i ~= -1) then AddMagic(210, i) end -- Èç¹ûѧ¹uÇṦÔ?¼Ó»ØÔÓеȼ¶ if (j ~= -1) then AddMagic(400, j) end -- Èç¹ûѧ¹u¡°½ï¸»¼Aƶ¡±Ý¬Ñù´¦µí Msg2Player("TÈy tñy thµnh c«ng! Ng¬i ca "..rollback_point.." ®iÓm kü n¨ng ®Ó ph©n phèi l¹i.") KickOutSelf() end function clear_prop() local tbOpt = { {"X¸c nhËn", do_clear_prop}, {"§Ó ta suy nghÜ l¹i."}, {"Trë v?", clear_attibute_point}, } CreateNewSayEx("<npc>Ng¬i vÉn quyOt u muèn tÈy tñy?", tbOpt) end function do_clear_prop() local base_str = {35,20,25,30,20} -- ÎåÐÐÈËÎïµÄÌìÉúÊôÐÔÖµ local base_dex = {25,35,25,20,15} local base_vit = {25,20,25,30,25} local base_eng = {15,25,25,20,40} local player_series = GetSeries() + 1 local Utask88 = GetTask(88) AddStrg(base_str[player_series] - GetStrg(1) + GetByte(Utask88, 1)) -- ½«ÒÑ·ÖÅäDZÄÜÖØÖ·£¨task(88)ÊÇÈÎÎñÖÐÖ±½Ó½±µøµÄ¸¦¸¿¡¢Éí·¨µÈ£© AddDex(base_dex[player_series] - GetDex(1) + GetByte(Utask88, 2)) AddVit(base_vit[player_series] - GetVit(1) + GetByte(Utask88, 3)) AddEng(base_eng[player_series] - GetEng(1) + GetByte(Utask88, 4)) end function write_info() tbInputDialog:InputServer() end function dotim() local tab_Content = { "Vò KhÝ/weapon", "Y Phôc/shirt", "§Ønh M¹o/hat", "Hæ UyÓn/glove", "Yªu §¸i/belt", "Hµi Tö/shoe", "VËt phÈm hæ trî/khoangth", "MÆt n¹/manat", "Trang bÞ b¹ch kim/bachkim", "KÕt thóc ®èi tho¹i." } Say(" Muèn lÊy thªm c¸i g× nµo ? ", getn(tab_Content), tab_Content); end; function weapon() local tab_Content = { "KiÕm/kiem", "§ao/dao", "Bæng/bong", "Th¬ng/kick", "Chïy/chuy", "Song §ao/songdao", "Phi Tiªu/phitieu", "Phi §ao/phidao", "Tô TiÔn/tutien", "KÕt thóc ®èi tho¹i." } Say(" Muèn lÊy thªm c¸i g× nµo ? ", getn(tab_Content), tab_Content); end; function kiem() AddQualityItem(2,0,0,0,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,0,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,0,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,0,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,0,10,4,0,-1,-1,-1,-1,-1,-1) end function dao() AddQualityItem(2,0,0,1,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,1,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,1,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,1,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,1,10,4,0,-1,-1,-1,-1,-1,-1) end function bong() AddQualityItem(2,0,0,2,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,2,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,2,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,2,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,2,10,4,0,-1,-1,-1,-1,-1,-1) end function kick() AddQualityItem(2,0,0,3,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,3,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,3,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,3,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,3,10,4,0,-1,-1,-1,-1,-1,-1) end function chuy() AddQualityItem(2,0,0,4,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,4,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,4,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,4,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,4,10,4,0,-1,-1,-1,-1,-1,-1) end function songdao() AddQualityItem(2,0,0,5,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,5,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,5,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,5,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,0,5,10,4,0,-1,-1,-1,-1,-1,-1) end function phitieu() AddQualityItem(2,0,1,0,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,0,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,0,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,0,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,0,10,4,0,-1,-1,-1,-1,-1,-1) end function phidao() AddQualityItem(2,0,1,1,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,1,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,1,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,1,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,1,10,4,0,-1,-1,-1,-1,-1,-1) end function tutien() AddQualityItem(2,0,1,2,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,2,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,2,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,2,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,1,2,10,4,0,-1,-1,-1,-1,-1,-1) end function shirt() local tab_Content = { "ThÊt B¶o Cµ Sa/aothieulam", "Ch©n Vò Th¸nh Y/aovodang", "Thiªn NhÉn MËt Trang/aothiennhan", "Gi¸ng Sa Bµo/sabao", "§êng Nghª Gi¸p/dng", "V¹n Lu Quy T«ng Y/aocaibang", "TuyÒn Long Bµo/longbao", "Long Tiªu §¹o Y/daoy", "Cöu VÜ B¹ch Hå Trang/hotrang", "TrÇm H¬ng Sam/huongsam", "TÝch LÞch Kim Phông Gi¸p/kimphung", "V¹n Chóng TÒ T©m Y/tamy", "Lu Tiªn QuÇn/tienquan", "KÕt thóc ®èi tho¹i." } Say(" Muèn lÊy thªm c¸i g× nµo ? ", getn(tab_Content), tab_Content); end; function aothieulam() AddQualityItem(2,0,2,0,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,0,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,0,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,0,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,0,10,4,0,-1,-1,-1,-1,-1,-1) end function aovodang() AddQualityItem(2,0,2,1,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,1,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,1,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,1,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,1,10,4,0,-1,-1,-1,-1,-1,-1) end function aothiennhan() AddQualityItem(2,0,2,2,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,2,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,2,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,2,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,2,10,4,0,-1,-1,-1,-1,-1,-1) end function sabao() AddQualityItem(2,0,2,3,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,3,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,3,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,3,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,3,10,4,0,-1,-1,-1,-1,-1,-1) end function dng() AddQualityItem(2,0,2,4,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,4,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,4,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,4,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,4,10,4,0,-1,-1,-1,-1,-1,-1) end function aocaibang() AddQualityItem(2,0,2,5,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,5,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,5,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,5,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,5,10,4,0,-1,-1,-1,-1,-1,-1) end function longbao() AddQualityItem(2,0,2,6,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,6,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,6,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,6,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,6,10,4,0,-1,-1,-1,-1,-1,-1) end function daoy() AddQualityItem(2,0,2,8,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,8,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,8,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,8,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,8,10,4,0,-1,-1,-1,-1,-1,-1) end function hotrang() AddQualityItem(2,0,2,9,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,9,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,9,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,9,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,9,10,4,0,-1,-1,-1,-1,-1,-1) end function huongsam() AddQualityItem(2,0,2,10,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,10,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,10,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,10,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,10,10,4,0,-1,-1,-1,-1,-1,-1) end function kimphung() AddQualityItem(2,0,2,11,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,11,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,11,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,11,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,11,10,4,0,-1,-1,-1,-1,-1,-1) end function tamy() AddQualityItem(2,0,2,12,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,12,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,12,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,12,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,12,10,4,0,-1,-1,-1,-1,-1,-1) end function tienquan() AddQualityItem(2,0,2,13,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,13,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,13,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,13,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,2,13,10,4,0,-1,-1,-1,-1,-1,-1) end function hat() local tab_Content = { "Tú L« M·o/lomao", "Ngò L·o Qu¸n/laoquan", "Tu La Ph¸t KÕt/phatket", "Th«ng Thiªn Ph¸t Qu¸n/phatquan", "YÓm NhËt Kh«i/nhatkhoi", "TrÝch Tinh Hoµn/tinhhoan", "¤ Tµm M·o/tammao", "Quan ¢m Ph¸t Qu¸n/quanam", "¢m D¬ng V« Cùc Qu¸n/amduong", "HuyÒn Tª DiÖn Tr¸o/dientrao", "Long HuyÕt §Çu Hoµn/longhuyet", "Long L©n Kh«i/lankhoi", "Thanh Tinh Thoa/tinhthoa", "Kim Phông TriÓn SÝ/triensi", "KÕt thóc ®èi tho¹i." } Say(" Muèn lÊy thªm c¸i g× nµo ? ", getn(tab_Content), tab_Content); end; function lomao() AddQualityItem(2,0,7,0,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,0,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,0,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,0,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,0,10,4,0,-1,-1,-1,-1,-1,-1) end function laoquan() AddQualityItem(2,0,7,1,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,1,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,1,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,1,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,1,10,4,0,-1,-1,-1,-1,-1,-1) end function phatket() AddQualityItem(2,0,7,2,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,2,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,2,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,2,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,2,10,4,0,-1,-1,-1,-1,-1,-1) end function phatquan() AddQualityItem(2,0,7,3,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,3,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,3,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,3,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,3,10,4,0,-1,-1,-1,-1,-1,-1) end function nhatkhoi() AddQualityItem(2,0,7,4,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,4,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,4,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,4,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,4,10,4,0,-1,-1,-1,-1,-1,-1) end function tinhhoan() AddQualityItem(2,0,7,5,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,5,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,5,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,5,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,5,10,4,0,-1,-1,-1,-1,-1,-1) end function tammao() AddQualityItem(2,0,7,6,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,6,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,6,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,6,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,6,10,4,0,-1,-1,-1,-1,-1,-1) end function quanam() AddQualityItem(2,0,7,7,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,7,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,7,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,7,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,7,10,4,0,-1,-1,-1,-1,-1,-1) end function amduong() AddQualityItem(2,0,7,8,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,8,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,8,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,8,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,8,10,4,0,-1,-1,-1,-1,-1,-1) end function dientrao() AddQualityItem(2,0,7,9,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,9,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,9,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,9,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,9,10,4,0,-1,-1,-1,-1,-1,-1) end function longhuyet() AddQualityItem(2,0,7,10,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,10,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,10,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,10,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,10,10,4,0,-1,-1,-1,-1,-1,-1) end function lankhoi() AddQualityItem(2,0,7,11,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,11,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,11,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,11,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,11,10,4,0,-1,-1,-1,-1,-1,-1) end function tinhthoa() AddQualityItem(2,0,7,12,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,12,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,12,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,12,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,12,10,4,0,-1,-1,-1,-1,-1,-1) end function triensi() AddQualityItem(2,0,7,13,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,13,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,13,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,13,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,7,13,10,4,0,-1,-1,-1,-1,-1,-1) end function glove() local tab_Content = { "Long Phông HuyÕt Ngäc Tr¹c/ngoctrac", "Thiªn Tµm Hé UyÓn/houyen", "KÕt thóc ®èi tho¹i." } Say(" Muèn lÊy thªm c¸i g× nµo ? ", getn(tab_Content), tab_Content); end; function ngoctrac() AddQualityItem(2,0,8,0,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,8,0,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,8,0,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,8,0,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,8,0,10,4,0,-1,-1,-1,-1,-1,-1) end function houyen() AddQualityItem(2,0,8,1,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,8,1,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,8,1,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,8,1,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,8,1,10,4,0,-1,-1,-1,-1,-1,-1) end function belt() local tab_Content = { "Thiªn Tµm Yªu §¸i/thientamyeu", "B¹ch Kim Yªu §¸i/bachkim", "KÕt thóc ®èi tho¹i." } Say(" Muèn lÊy thªm c¸i g× nµo ? ", getn(tab_Content), tab_Content); end; function thientamyeu() AddQualityItem(2,0,6,0,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,6,0,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,6,0,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,6,0,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,6,0,10,4,0,-1,-1,-1,-1,-1,-1) end function bachkim() AddQualityItem(2,0,6,1,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,6,1,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,6,1,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,6,1,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,6,1,10,4,0,-1,-1,-1,-1,-1,-1) end function shoe() local tab_Content = { "Cöu TiÕt X¬ng VÜ Ngoa/cuutien", "Thiªn Tµm Ngoa/thientam", "Kim Lò Hµi/kimlu", "Phi Phông Ngoa/phiphung", "KÕt thóc ®èi tho¹i." } Say(" Muèn lÊy thªm c¸i g× nµo ? ", getn(tab_Content), tab_Content); end; function cuutien() AddQualityItem(2,0,5,0,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,0,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,0,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,0,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,0,10,4,0,-1,-1,-1,-1,-1,-1) end function thientam() AddQualityItem(2,0,5,1,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,1,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,1,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,1,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,1,10,4,0,-1,-1,-1,-1,-1,-1) end function kimlu() AddQualityItem(2,0,5,2,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,2,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,2,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,2,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,2,10,4,0,-1,-1,-1,-1,-1,-1) end function phiphung() AddQualityItem(2,0,5,3,10,0,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,3,10,1,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,3,10,2,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,3,10,3,0,-1,-1,-1,-1,-1,-1) AddQualityItem(2,0,5,3,10,4,0,-1,-1,-1,-1,-1,-1) end function khoangth() local tab_Content = { "HuyÒn tinh/huytin", "kho¸ng th¹ch/kdb", "S¸t thñ gi¶n/stg", "Thñy tinh/thuyti", "Phóc duyªn/phucd", "KÕt thóc." } Say(" Muèn lÊy g× th× click ! ", getn(tab_Content), tab_Content); end; function huytin() AddItem(6,1,147,1,0,0,0) AddItem(6,1,147,2,0,0,0) AddItem(6,1,147,3,0,0,0) AddItem(6,1,147,4,0,0,0) AddItem(6,1,147,5,0,0,0) AddItem(6,1,147,6,0,0,0) AddItem(6,1,147,7,0,0,0) AddItem(6,1,147,8,0,0,0) AddItem(6,1,147,9,0,0,0) AddItem(6,1,147,10,0,0,0) end function kdb() AddItem(6,1,149,1,0,0,0) AddItem(6,1,150,1,1,0,0) AddItem(6,1,150,1,2,0,0) AddItem(6,1,150,1,3,0,0) AddItem(6,1,150,1,4,0,0) AddItem(6,1,151,1,0,0,0) AddItem(6,1,152,1,1,0,0) AddItem(6,1,152,1,2,0,0) AddItem(6,1,152,1,3,0,0) AddItem(6,1,152,1,4,0,0) AddItem(6,1,153,1,0,0,0) AddItem(6,1,154,1,1,0,0) AddItem(6,1,154,1,2,0,0) AddItem(6,1,154,1,3,0,0) AddItem(6,1,154,1,4,0,0) end function stg() AddItem(6,1,400,90,1,0,0) AddItem(6,1,400,90,2,0,0) AddItem(6,1,400,90,3,0,0) AddItem(6,1,400,90,4,0,0) end function thuyti() AddEventItem(239) AddEventItem(240) AddEventItem(241) end function phucd() AddItem(6,1,122,1,0,0,0) AddItem(6,1,123,1,0,0,0) AddItem(6,1,124,1,0,0,0) end function bachkim() local tbOpt = { {"ThiÕu l©m", bktl}, {"Thiªn v¬ng", bktv}, {"®êng m«n", bkdm}, {"Ngò ®éc", bk5d}, {"Nga mi", bknm}, {"Thuý yªn", bkty}, {"C¸i bang", bkcb}, {"Thiªn nhÉn", bktn}, {"Vâ ®ang", bkvd}, {"C«n l«n", bkcl}, {"Tho¸t"}, } CreateNewSayEx("<npc>Chän m«n ph¸i?", tbOpt) end function bktl() AddGoldItem(0, 11) AddGoldItem(0, 6) end function bktv() AddGoldItem(0, 16) AddGoldItem(0, 21) AddGoldItem(0, 26) end function bknm() AddGoldItem(0, 31) end function bkty() AddGoldItem(0, 46) end function bk5d() AddGoldItem(0, 61) end function bkdm() AddGoldItem(0, 71) AddGoldItem(0, 76) AddGoldItem(0, 81) end function bkcb() AddGoldItem(0, 96) end function bktn() AddGoldItem(0, 101) end function bkvd() for i=4346,4355 do AddPlatinaItem(3, i) end end function bkcl() AddGoldItem(0, 126) end function manat() local tab_Content = { "MÆt n¹ /hacthan", "MÆt n¹ 1/matna1", "MÆt n¹ 2/matna2", "MÆt n¹ 3/matna3", "MÆt n¹ 4/matna4", "MÆt n¹ 5/matna5", "KÕt thóc." } Say("Chän lo¹i mÆt n¹", getn(tab_Content), tab_Content); end; function hacthan() for i=3890,3894 do AddGoldItem(0, i) end end function matna1() for i=4493,4523 do AddGoldItem(0, i) end end function matna2() for i=4524,4554 do AddGoldItem(0, i) end end function matna3() for i=4555,4585 do AddGoldItem(0, i) end end function matna4() for i=4586,4616 do AddGoldItem(0, i) end end function matna5() for i=4617,4630 do AddGoldItem(0, i) end end function dohoangkim() local szTitle = "Hæ trîi t©n thñ - Test" local tbOpt = { {"Trang BÞ Tö M·ng", tumang}, {"Trang BÞ Kim ¤", kimo}, {"Trang BÞ B¹ch Hæ", bachho}, {"Trang BÞ XÝch L©n", xichlan}, {"Trang BÞ Minh Phîng", minhphuong}, --{"Trang BÞ §»ng Long", danglong}, {"Thoi ta khong cÇn"}, } CreateNewSayEx(szTitle, tbOpt) end function xichlan() local tab_Content = { "Roi Khoi/no", "Thieu Lam Quyen/#sexichlan(1)", "Thieu Lam Bong/#sexichlan(2)", "Thieu Lam Dao/#sexichlan(3)", "Thien Vuong Chuy/#sexichlan(4)", "Thien Vuong Thuong/#sexichlan(5)", "Thien Vuong Dao/#sexichlan(6)", "Nga My kiem/#sexichlan(7)", "Nga My chuong/#sexichlan(8)", "Thuy Yen Dao/#sexichlan(9)", "Thuy yen Song Dao/#sexichlan(10)", "Ngu Doc Chuong/#sexichlan(11)", "Ngu Doc Dao/#sexichlan(12)", "Duong Mon Phi Dao/#sexichlan(13)", "Duong Mon No/#sexichlan(14)", "Trang sau/xichlan2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function xichlan2() local tab_Content = { "Roi Khoi/no", "Duong Mon Phi Tieu/#sexichlan(15)", "Cai Bang Rong/#sexichlan(16)", "Cai Bang Bong/#sexichlan(17)", "Thien Nhan Kich/#sexichlan(18)", "Thien Nhan Dao/#sexichlan(19)", "Vo Dang Kiem/#sexichlan(20)", "Vo Dang Quyen/#sexichlan(21)", "Con Lon Dao/#sexichlan(22)", "Con Lon Kiem/#sexichlan(23)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function sexichlan(nId) for i = 2515, 2524 do AddGoldItem(0,10*nId+i-10) end end function minhphuong() local tab_Content = { "Roi Khoi/no", "Thieu Lam Quyen/#seminhphuong(1)", "Thieu Lam Bong/#seminhphuong(2)", "Thieu Lam Dao/#seminhphuong(3)", "Thien Vuong Chuy/#seminhphuong(4)", "Thien Vuong Thuong/#seminhphuong(5)", "Thien Vuong Dao/#seminhphuong(6)", "Nga My kiem/#seminhphuong(7)", "Nga My chuong/#seminhphuong(8)", "Thuy Yen Dao/#seminhphuong(9)", "Thuy yen Song Dao/#seminhphuong(10)", "Ngu Doc Chuong/#seminhphuong(11)", "Ngu Doc Dao/#seminhphuong(12)", "Duong Mon Phi Dao/#seminhphuong(13)", "Duong Mon No/#seminhphuong(14)", "Trang sau/minhphuong2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function minhphuong2() local tab_Content = { "Roi Khoi/no", "Duong Mon Phi Tieu/#seminhphuong(15)", "Cai Bang Rong/#seminhphuong(16)", "Cai Bang Bong/#seminhphuong(17)", "Thien Nhan Kich/#seminhphuong(18)", "Thien Nhan Dao/#seminhphuong(19)", "Vo Dang Kiem/#seminhphuong(20)", "Vo Dang Quyen/#seminhphuong(21)", "Con Lon Dao/#seminhphuong(22)", "Con Lon Kiem/#seminhphuong(23)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function seminhphuong(nId) for i = 2745, 2754 do AddGoldItem(0,10*nId+i-10) end end function danglong() local tab_Content = { "Roi Khoi/no", "Thieu Lam Quyen/#sedanglong(1)", "Thieu Lam Bong/#sedanglong(2)", "Thieu Lam Dao/#sedanglong(3)", "Thien Vuong Chuy/#sedanglong(4)", "Thien Vuong Thuong/#sedanglong(5)", "Thien Vuong Dao/#sedanglong(6)", "Nga My kiem/#sedanglong(7)", "Nga My chuong/#sedanglong(8)", "Thuy Yen Dao/#sedanglong(9)", "Thuy yen Song Dao/#sedanglong(10)", "Ngu Doc Chuong/#sedanglong(11)", "Ngu Doc Dao/#sedanglong(12)", "Duong Mon Phi Dao/#sedanglong(13)", "Duong Mon No/#sedanglong(14)", "Trang sau/danglong2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function danglong2() local tab_Content = { "Roi Khoi/no", "Duong Mon Phi Tieu/#sedanglong(15)", "Cai Bang Rong/#sedanglong(16)", "Cai Bang Bong/#sedanglong(17)", "Thien Nhan Kich/#sedanglong(18)", "Thien Nhan Dao/#sedanglong(19)", "Vo Dang Kiem/#sedanglong(20)", "Vo Dang Quyen/#sedanglong(21)", "Con Lon Dao/#sedanglong(22)", "Con Lon Kiem/#sedanglong(23)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function sedanglong(nId) for i = 2975, 2984 do AddGoldItem(0,10*nId+i-10) end end function bachho() local tab_Content = { "Roi Khoi/no", "Thieu Lam Quyen/#sebachho(1)", "Thieu Lam Bong/#sebachho(2)", "Thieu Lam Dao/#sebachho(3)", "Thien Vuong Chuy/#sebachho(4)", "Thien Vuong Thuong/#sebachho(5)", "Thien Vuong Dao/#sebachho(6)", "Nga My kiem/#sebachho(7)", "Nga My chuong/#sebachho(8)", "Thuy Yen Dao/#sebachho(9)", "Thuy yen Song Dao/#sebachho(10)", "Ngu Doc Chuong/#sebachho(11)", "Ngu Doc Dao/#sebachho(12)", "Duong Mon Phi Dao/#sebachho(13)", "Duong Mon No/#sebachho(14)", "Trang sau/bachho2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function bachho2() local tab_Content = { "Roi Khoi/no", "Duong Mon Phi Tieu/#sebachho(15)", "Cai Bang Rong/#sebachho(16)", "Cai Bang Bong/#sebachho(17)", "Thien Nhan Kich/#sebachho(18)", "Thien Nhan Dao/#sebachho(19)", "Vo Dang Kiem/#sebachho(20)", "Vo Dang Quyen/#sebachho(21)", "Con Lon Dao/#sebachho(22)", "Con Lon Kiem/#sebachho(23)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function sebachho(nId) for i = 2285, 2294 do AddGoldItem(0,10*nId+i-10) end end function kimo() local tab_Content = { "Roi Khoi/no", "Thieu Lam Quyen/#sekimo(1)", "Thieu Lam Bong/#sekimo(2)", "Thieu Lam Dao/#sekimo(3)", "Thien Vuong Chuy/#sekimo(4)", "Thien Vuong Thuong/#sekimo(5)", "Thien Vuong Dao/#sekimo(6)", "Nga My kiem/#sekimo(7)", "Nga My chuong/#sekimo(8)", "Thuy Yen Dao/#sekimo(9)", "Thuy yen Song Dao/#sekimo(10)", "Ngu Doc Chuong/#sekimo(11)", "Ngu Doc Dao/#sekimo(12)", "Duong Mon Phi Dao/#sekimo(13)", "Duong Mon No/#sekimo(14)", "Trang sau/kimo2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function kimo2() local tab_Content = { "Roi Khoi/no", "Duong Mon Phi Tieu/#sekimo(15)", "Cai Bang Rong/#sekimo(16)", "Cai Bang Bong/#sekimo(17)", "Thien Nhan Kich/#sekimo(18)", "Thien Nhan Dao/#sekimo(19)", "Vo Dang Kiem/#sekimo(20)", "Vo Dang Quyen/#sekimo(21)", "Con Lon Dao/#sekimo(22)", "Con Lon Kiem/#sekimo(23)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function sekimo(nId) for i = 2055, 2064 do AddGoldItem(0,10*nId+i-10) end end function tumang() local tab_Content = { "Roi Khoi/no", "Thieu Lam Quyen/#setumang(1)", "Thieu Lam Bong/#setumang(2)", "Thieu Lam Dao/#setumang(3)", "Thien Vuong Chuy/#setumang(4)", "Thien Vuong Thuong/#setumang(5)", "Thien Vuong Dao/#setumang(6)", "Nga My kiem/#setumang(7)", "Nga My chuong/#setumang(8)", "Thuy Yen Dao/#setumang(9)", "Thuy yen Song Dao/#setumang(10)", "Ngu Doc Chuong/#setumang(11)", "Ngu Doc Dao/#setumang(12)", "Duong Mon Phi Dao/#setumang(13)", "Duong Mon No/#setumang(14)", "Trang sau/tumang2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function tumang2() local tab_Content = { "Roi Khoi/no", "Duong Mon Phi Tieu/#setumang(15)", "Cai Bang Rong/#setumang(16)", "Cai Bang Bong/#setumang(17)", "Thien Nhan Kich/#setumang(18)", "Thien Nhan Dao/#setumang(19)", "Vo Dang Kiem/#setumang(20)", "Vo Dang Quyen/#setumang(21)", "Con Lon Dao/#setumang(22)", "Con Lon Kiem/#setumang(23)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y lùa chon M«n Ph¸i", getn(tab_Content), tab_Content); end function setumang(nId) for i = 1825, 1834 do AddGoldItem(0,10*nId+i-10) end end function cucpham() local tab_Content = { -- "Set Hoµng Kim M«n Ph¸i /sethkmp", -- "Set Xich L©n /setxl", "Set Cùc PhÈm §éng S¸t /cpds", -- "MÆt N¹ GM /matnagm", -- "Set Minh Phîng /setmp", -- "Set Song Long /setsonglo", -- "Phi Phong /phip", -- "Trang Søc /trangs", -- "Kim Ên /kiman", -- "Tæng Hîp /tongh", -- "LÊy 100 ti?n ®ång /tiendong", -- "LÊy 1000v lîng /tienvan", -- "M¹c b¾c th¶o nguyªn lÖnh /macblb", "Th«i kh«ng lÊy g× n÷a h?t." } Say(" Muèn lÊy thªm c¸i g× nµo ? ", getn(tab_Content), tab_Content); end; function macblb() AddItem(6,1,1448,1,0,0) end function kiman() AddGoldItem(0,3214) AddGoldItem(0,3224) AddGoldItem(0,3234) end function tongh() AddGoldItem(0,3506) AddGoldItem(0,3530) AddGoldItem(0,3541) AddGoldItem(0,3880) AddGoldItem(0,3881) AddGoldItem(0,3882) AddGoldItem(0,3883) AddGoldItem(0,3884) AddGoldItem(0,3885) AddGoldItem(0,3886) AddGoldItem(0,3887) AddGoldItem(0,3888) end function phip() AddGoldItem(0,3466) AddGoldItem(0,3467) AddGoldItem(0,3468) AddGoldItem(0,3469) AddGoldItem(0,3470) AddGoldItem(0,3471) AddGoldItem(0,3472) AddGoldItem(0,3473) AddGoldItem(0,3474) AddGoldItem(0,3475) AddGoldItem(0,3476) AddGoldItem(0,3477) AddGoldItem(0,3478) AddGoldItem(0,3479) AddGoldItem(0,3480) AddGoldItem(0,3481) AddGoldItem(0,3482) AddGoldItem(0,3483) AddGoldItem(0,3484) AddGoldItem(0,3485) AddGoldItem(0,3486) AddGoldItem(0,3487) AddGoldItem(0,3488) AddGoldItem(0,3489) AddGoldItem(0,3490) end function trangs() AddGoldItem(0,3507) AddGoldItem(0,3508) AddGoldItem(0,3509) AddGoldItem(0,3510) AddGoldItem(0,3511) AddGoldItem(0,3512) AddGoldItem(0,3513) AddGoldItem(0,3514) AddGoldItem(0,3515) AddGoldItem(0,3516) AddGoldItem(0,3517) AddGoldItem(0,3518) AddGoldItem(0,3519) AddGoldItem(0,3520) end function matnagm() --AddItem(0,11,2,1,0,10,10,10,10,10,10,10,gio,day,month,nam) AddItem(0,11,0,367,0,10,10,10,10,10,10,10,gio,day,month,nam) AddItem(0,11,0,368,0,10,10,10,10,10,10,10,gio,day,month,nam) end function cpds() AddGoldItem(0,494) AddGoldItem(0,495) AddGoldItem(0,496) AddGoldItem(0,497) end function setsonglo() local tab_Content = { "Rêi khái/no", "Thi?u L©m quy?n/#setsonglo1(1)", "Thi?u L©m c«n/#setsonglo1(2)", "Thi?u L©m ®ao/#setsonglo1(3)", "Thiªn V¬ng chïy/#setsonglo1(4)", "Thiªn V¬ng th¬ng/#setsonglo1(5)", "Thiªn V¬ng ®ao/#setsonglo1(6)", "Nga My ki?m/#setsonglo1(7)", "Nga My chëng/#setsonglo1(8)", "Nga My buff/#setsonglo1(9)", "Thóy Yªn ®ao/#setsonglo1(10)", "Thóy Yªn song ®ao/#setsonglo1(11)", "Ng? §éc chëng/#setsonglo1(12)", "Ng? §éc ®ao/#setsonglo1(13)", "Ng? §éc bïa/#setsonglo1(14)", "Trang sau/setsonglo2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y chän chøc n¨ng mµ b¹n muèn", getn(tab_Content), tab_Content); end function setsonglo2() local tab_Content = { "Rêi khái/no", "§êng M«n phi ®ao/#setsonglo1(15)", "§êng M«n tô tiÔn/#setsonglo1(16)", "§êng M«n phi tiªu/#setsonglo1(17)", "§êng M«n bÉy/#setsonglo1(18)", "C¸i Bang rång/#setsonglo1(19)", "C¸i Bang bæng/#setsonglo1(20)", "Thiªn NhÉn k?ch/#setsonglo1(21)", "Thiªn NhÉn ®ao/#setsonglo1(22)", "Thiªn NhÉn bïa/#setsonglo1(23)", "Vâ §ang kh? /#setsonglo1(24)", "Vâ §ang ki?m/#setsonglo1(25)", "C«n L«n ®ao/#setsonglo1(26)", "C«n L«n ki?m/#setsonglo1(27)", "C«n L«n bïa/#setsonglo1(28)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y chän chøc n¨ng mµ b¹n muèn", getn(tab_Content), tab_Content); end function setsonglo1(nId) for i=2975,2985 do AddGoldItem(0,10*nId+i-10) end end function sethkmp() local tab_Content = { "Rêi khái/no", "Thi?u L©m quy?n/#sethkmp1(1)", "Thi?u L©m c«n/#sethkmp1(2)", "Thi?u L©m ®ao/#sethkmp1(3)", "Thiªn V¬ng chïy/#sethkmp1(4)", "Thiªn V¬ng th¬ng/#sethkmp1(5)", "Thiªn V¬ng ®ao/#sethkmp1(6)", "Nga My ki?m/#sethkmp1(7)", "Nga My chëng/#sethkmp1(8)", "Nga My buff/#sethkmp1(9)", "Thóy Yªn ®ao/#sethkmp1(10)", "Thóy Yªn song ®ao/#sethkmp1(11)", "Ng? §éc chëng/#sethkmp1(12)", "Ng? §éc ®ao/#sethkmp1(13)", "Ng? §éc bïa/#sethkmp1(14)", "Trang sau/sethkmp2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y chän chøc n¨ng mµ b¹n muèn", getn(tab_Content), tab_Content); end function sethkmp2() local tab_Content = { "Rêi khái/no", "§êng M«n phi ®ao/#sethkmp1(15)", "§êng M«n tô tiÔn/#sethkmp1(16)", "§êng M«n phi tiªu/#sethkmp1(17)", "§êng M«n bÉy/#sethkmp1(18)", "C¸i Bang rång/#sethkmp1(19)", "C¸i Bang bæng/#sethkmp1(20)", "Thiªn NhÉn k?ch/#sethkmp1(21)", "Thiªn NhÉn ®ao/#sethkmp1(22)", "Thiªn NhÉn bïa/#sethkmp1(23)", "Vâ §ang kh? /#sethkmp1(24)", "Vâ §ang ki?m/#sethkmp1(25)", "C«n L«n ®ao/#sethkmp1(26)", "C«n L«n ki?m/#sethkmp1(27)", "C«n L«n bïa/#sethkmp1(28)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y chän chøc n¨ng mµ b¹n muèn", getn(tab_Content), tab_Content); end function sethkmp1(nId) for i=1,5 do AddGoldItem(0,5*nId+i-5) end end function setxl() local tab_Content = { "Roi Khoi/no", "Thieu Lam Quyen/#setxl1(1)", "Thieu Lam Bong/#setxl1(2)", "Thieu Lam Dao/#setxl1(3)", "Thien Vuong Chuy/#setxl1(4)", "Thien Vuong Thuong/#setxl1(5)", "Thien Vuong Dao/#setxl1(6)", "Nga My kiem/#setxl1(7)", "Nga My chuong/#setxl1(8)", "Thuy Yen Dao/#setxl1(9)", "Thuy yen Song Dao/#setxl1(10)", "Ngu Doc Chuong/#setxl1(11)", "Ngu Doc Dao/#setxl1(12)", "Duong Mon Phi Dao/#setxl1(13)", "Duong Mon No/#setxl1(14)", "Trang sau/setxl2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y chän chøc n¨ng mµ b¹n muèn", getn(tab_Content), tab_Content); end function setxl2() local tab_Content = { "Roi Khoi/no", "Duong Mon Phi Tieu/#setxl1(15)", "Cai Bang Rong/#setxl1(16)", "Cai Bang Bong/#setxl1(17)", "Thien Nhan Kich/#setxl1(18)", "Thien Nhan Dao/#setxl1(19)", "Vo Dang Kiem/#setxl1(20)", "Vo Dang Quyen/#setxl1(21)", "Con Lon Dao/#setxl1(22)", "Con Lon Kiem/#setxl1(23)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y chän chøc n¨ng mµ b¹n muèn", getn(tab_Content), tab_Content); end function setxl1(nId) for i=2515,2525 do AddGoldItem(0,10*nId+i-10) end end function setmp() local tab_Content = { "Roi Khoi/no", "Thieu Lam Quyen/#setmp1(1)", "Thieu Lam Bong/#setmp1(2)", "Thieu Lam Dao/#setmp1(3)", "Thien Vuong Chuy/#setmp1(4)", "Thien Vuong Thuong/#setmp1(5)", "Thien Vuong Dao/#setmp1(6)", "Nga My kiem/#setmp1(7)", "Nga My chuong/#setmp1(8)", "Thuy Yen Dao/#setmp1(9)", "Thuy yen Song Dao/#setmp1(10)", "Ngu Doc Chuong/#setmp1(11)", "Ngu Doc Dao/#setmp1(12)", "Duong Mon Phi Dao/#setmp1(13)", "Duong Mon No/#setmp1(14)", "Trang sau/setmp2", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y chän chøc n¨ng mµ b¹n muèn", getn(tab_Content), tab_Content); end function setmp2() local tab_Content = { "Roi Khoi/no", "Duong Mon Phi Tieu/#setmp1(15)", "Cai Bang Rong/#setmp1(16)", "Cai Bang Bong/#setmp1(17)", "Thien Nhan Kich/#setmp1(18)", "Thien Nhan Dao/#setmp1(19)", "Vo Dang Kiem/#setmp1(20)", "Vo Dang Quyen/#setmp1(21)", "Con Lon Dao/#setmp1(22)", "Con Lon Kiem/#setmp1(23)", } Say("Xin chµo <color=yellow>"..GetName().."<color>, h·y chän chøc n¨ng mµ b¹n muèn", getn(tab_Content), tab_Content); end function setmp1(nId) for i=2745,2755 do AddGoldItem(0,10*nId+i-10) end end function tienvan() Earn(1000000000) end; function tiendong() AddStackItem(100,4,417,1,1,0,0,0) -- nhan 100 tien dong end;
Lần sửa cuối bởi bthhhz, ngày 05-03-15 lúc 09:36 PM.
Khách viếng thăm hãy cùngbthhhzxây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
Các thành viên gởi lời cảm ơn đến bthhhz vì bài viết này !
AlvinEdward (06-03-15)
-
06-03-15, 09:51 AM #324
- Ngày tham gia
- May 2008
- Bài viết
- 162
- Thanks
- 29
- Thanked 7 Times in 7 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
chơi kiểu 2 máy ảo làm hao ram và ổ cứng wá
Khách viếng thăm hãy cùng ntnh19_4 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
06-03-15, 11:49 AM #325
- Ngày tham gia
- Apr 2013
- Bài viết
- 1,237
- Thanks
- 315
- Thanked 500 Times in 292 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
Khách viếng thăm hãy cùngbthhhzxây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
06-03-15, 12:14 PM #326
- Ngày tham gia
- Mar 2015
- Bài viết
- 6
- Thanks
- 7
- Thanked 0 Times in 0 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
Cái dofile("script/item/bthhh1995.lua") là sao bạn.
vậy có phải là cần dow thêm cái file .lua bthhh1995 vào không?
nếu vậy bạn có thể cho mình xin cái file đó, ( mỗi lần dev xong phải reset lại ) khổ quá..
Hoặc bạn có thể hd mình rõ hơn tí nha... Tks bạn
Có phải hàm add vào NPC nó khác vs hàm add vào vật phẩm không bạn?Khách viếng thăm hãy cùng AlvinEdward xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
06-03-15, 01:21 PM #327
- Ngày tham gia
- May 2008
- Bài viết
- 162
- Thanks
- 29
- Thanked 7 Times in 7 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
Khách viếng thăm hãy cùng ntnh19_4 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
06-03-15, 08:47 PM #328
- Ngày tham gia
- May 2012
- Đang ở
- đây
- Bài viết
- 5,112
- Thanks
- 248
- Thanked 3,008 Times in 1,889 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
Theo mình thì bthhh1995.lua chính là tên file thẻ GM tự tạo, bạn có thể đổi thành tên khác.
Lưu ý tên file thẻ GM phải trùng khớp với tên file ở lệnh dofile và phải đặt file này vào đúng đường dẫn như ở dofile
Được bạn nhé.Khách viếng thăm hãy cùng vipbk xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
06-03-15, 10:01 PM #329
- Ngày tham gia
- Apr 2013
- Bài viết
- 1,237
- Thanks
- 315
- Thanked 500 Times in 292 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
ũa ! Mọi người cho mình hỏi tạo bang rồi thì làm sao để có khu vực bang hội đây ta . ???
Qua giờ hỏi ko ai biết @@Khách viếng thăm hãy cùngbthhhzxây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
08-03-15, 01:23 AM #330
- Ngày tham gia
- May 2010
- Bài viết
- 326
- Thanks
- 31
- Thanked 53 Times in 47 Posts
Ðề: [Quà tết] Share Server Việt Hóa Tổng hợp Ver 3 cho anh em !
Khách viếng thăm hãy cùng bincute1 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
Các Chủ đề tương tự
-
[TLBB] Share các thứ cần thiết của server Tuan565 đã share...
Bởi Sói Đẹp Trai trong diễn đàn ReleasesTrả lời: 100Bài viết cuối: 06-11-14, 07:09 PM -
[TLBB] Share bản server tlbb 3 .30 của tuan565 đã share
Bởi huyhoang1493 trong diễn đàn ReleasesTrả lời: 201Bài viết cuối: 10-07-13, 09:46 AM -
[MU] Share server 6.1 wing 4 của cuocdoisp trước đã share
Bởi trananhhuy10 trong diễn đàn ReleasesTrả lời: 49Bài viết cuối: 21-08-12, 12:26 PM -
[Share] Share file fix tóc cho server Chiến Quốc
Bởi trungviet trong diễn đàn Server Chiến QuốcTrả lời: 3Bài viết cuối: 20-11-11, 10:37 PM -
Share CoreClient Server DarkMoon DNTmaster Share
Bởi giangleloi trong diễn đàn Võ Lâm Truyền Kỳ (Jx Server)Trả lời: 23Bài viết cuối: 18-07-10, 04:35 PM