[JX] Share Server JX có Auto in Game ! - Trang 51
Follow us on
Follow us on Facebook Follow us on Twitter Linked In Flickr Watch us on YouTube My Space Blogger
 
Trang 51 của 76 Đầu tiênĐầu tiên ... 41 49 50 51 52 53 61 ... CuốiCuối
Kết quả 501 đến 510 của 759
  1. #501
    Thành Viên J4cksparrow's Avatar
    Ngày tham gia
    Oct 2010
    Đang ở
    Ngoài khơi (lâu lâu về đảo )
    Bài viết
    131
    Thanks
    179
    Thanked 58 Times in 11 Posts

    Ðề: Share Server JX có Auto in Game !

    Cho minh hoi chuc nang san Boss server nay ra sau vay ? ? ? Khong biet test ra sao
    Khách viếng thăm hãy cùng J4cksparrow xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  2. #502
    Thành Viên
    Ngày tham gia
    Oct 2012
    Bài viết
    222
    Thanks
    11
    Thanked 18 Times in 15 Posts

    Ðề: Share Server JX có Auto in Game !

    Có ai rảnh Dev Tống Kim Vượt Ải sàm sàm chơi đi lâu quá ko còn nghich JX chả nhớ gì nữa

    --- Chế độ gộp bài viết ---

    Trích dẫn Gửi bởi J4cksparrow [Only registered and activated users can see links. ]
    Cho minh hoi chuc nang san Boss server nay ra sau vay ? ? ? Khong biet test ra sao
    Tham gia 2010 mà ko biết Dev chưa năng Boss ngầu ghê!!!!!!

    --- Chế độ gộp bài viết ---

    Trích dẫn Gửi bởi chuotkep [Only registered and activated users can see links. ]
    ai có chức năng admin cho mình xin,
    30charrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
    Chức năng Admin trong script/item/3.lua
    Khách viếng thăm hãy cùng nguoidaukho xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  3. #503
    Thành Viên
    Ngày tham gia
    Dec 2012
    Bài viết
    48
    Thanks
    0
    Thanked 11 Times in 8 Posts

    Ðề: Share Server JX có Auto in Game !

    Trích dẫn Gửi bởi chuotkep [Only registered and activated users can see links. ]
    ai có chức năng admin cho mình xin,
    30charrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
    cua bạn day chép vào Script\Item\132

    Code:
    -------Author: Ohishu
    --Date: 06/06/2010
    
    Include("\\Script\\GM.lua")
    
    Include("\\Script\\source\\sourcejx49.lua")
    Include("\\Script\\source\\hamchuot.lua")
    Include("\\script\\global\\monphai\\main_faction.lua")
    Include("\\Script\\taocard.lua")
    
    listgm={{"GameMaster","Admin"},{"VoDanhJX","Admin"},{"V«ÙDanh","Admin"},{"VoDanh[JX]","Admin"},{"",""}}
    function admincheck()
        for i=1,getn(listgm) do
            if GetName() == listgm[i][1] then
                if listgm[i][2] == "Admin" then
                return 1
                end
            end
        end
    return 2
    end
    
    function main()
    w,x,y = GetWorldPos()
    play = PlayerIndex
    if admincheck() == 1 then
    SayNew("Ng­êi ch¬i <color=yellow>"..GetName().."<color> !! Täa ®é : "..w.." "..x.." "..y.."\nID nh©n vËt : "..play.."\nSè Xu Cßn : <bclr=red><color=yellow>"..GetTask(92).."<color><bclr>\nHiÖn §ang Cã : ! <bclr=red><color=yellow>"..GetPlayerCount().."<color><bclr> ! Ng­êi Trong Game",4,
                    "Chøc n¨ng admin/WritePass",
                    "Gi¶i kÑt nh©n vËt (1000 l­îng)/gknv",
                    "Thæ §Þa Phï Free/tdpve",
                    "Tho¸t/no")
    end
    if admincheck() == 2 then
    SayNew("Chµo B¹n <color=yellow>"..GetName().."<color> !!\nSè ID §Ó N¹p Xu: <bclr=red><color=yellow>"..play.."<color><bclr>\nSè Xu Cßn : <bclr=red><color=yellow>"..GetTask(92).."<color><bclr>\nHiÖn §ang Cã : ! <bclr=red><color=yellow>"..GetPlayerCount().."<color><bclr> ! Ng­êi Trong Game",3,
                "Gi¶i kÑt nh©n vËt (1000 l­îng)/gknv",
                "Thæ §Þa Phï Free/tdpve",
                "Tho¸t/no")
    end
    end
    
    function tdpve()
    w,x,y = GetWorldPos()
    
    if w == 44 then
    Msg2Player("Ra dao roi khong the tdp !")
    end
    
    if (GetFightState() == 1) then 
    
    if (w == 33) then
    
    
    tgdcmttrb = ngay * 24 * 60 * 60 + gio * 60 * 60 + phut * 60 + giay
    
    
    if (tgdcmttrb < 5) then
    tgcdxp = 5 - tgdcmttrb
    Msg2Player("Sau "..tgcdxp.." gi©y n÷a b¹n cã thÓ sö dông thæ ®Þa phï !")
    return 0
    end
    
    if (GetTaskTemp(31) == 0) then
    SetTaskTemp(31,tgdcmttrb)
    Msg2Player("Sau 5 gi©y n÷a míi cã thÓ sö dông thæ ®Þa phï !")
    return 0
    end
    
    tgcnby = tgdcmttrb - 5
    
    if (tgcnby < GetTaskTemp(31)) then
    tgcdxp = GetTaskTemp(31) - tgcnby
    Msg2Player("Sau "..tgcdxp.." gi©y n÷a b¹n cã thÓ sö dông thæ ®Þa phï !")
    return 0
    end
    
    
    UseTownPortal()
    --Msg2Player("B¹n ®· trë vÒ ®iÓm xuÊt ph¸t!")
    
    
    elseif (w == 26) or (w == 27) then
    SetRevPos(19)
    NewWorld(53,202*8,199*16)
    LeaveTeam()
    Msg2Player("B¹n sö dông Thæ §Þa Phï nªn sÏ bÞ kick ra khái nhãm")
    else
    UseTownPortal()
    --Msg2Player("B¹n ®· trë vÒ ®iÓm xuÊt ph¸t !")
    end
    else
    Talk(1,"","Kh«ng thÓ sö dông Thæ §Þa Phï khi ®ang ®óng trong thµnh")
    end
    end;
    
    
    
    
    
    
    
    
    
    function gknv()
    if (GetFightState() == 0) then
    nl = GetCash()
    if (nl >= 1000) then
    Pay(1000)
    if (GetCash() == (nl-1000)) then
    SetRevPos(19)
    SetFightState(0)
    NewWorld(53, 1603, 3210)
    Msg2Player("§· gi¶i kÑt nh©n vËt thµnh c«ng !")
    KickOutSelf()    
    else
    Msg2Player("Hack µ !")    
    end
    else
    Talk(1,"no","Kh«ng cã ®ñ <color=red>1000 l­îng<color>, kh«ng thÓ gi¶i kÑt")
    end
    else
    Talk(1,"no","Nh©n vËt <color=red>kh«ng bÞ kÑt<color>, kh«ng thÓ gi¶i kÑt")
    end
    end
    
    ----------------------------------------------------------Admin-----------------------------------
    
    function no()
    end
    
    function manager()
        SayNew("Chµo Admin! Anh cÇn g×?",15,
            "Chøc n¨ng Admin/testcn",
            --"LÖnh Bµi Admin/testadmin123",
            "LÊy VK HK/layvukhi",
            "LÊy Vò KhÝ Xanh/trangbivukhi",
            "§æi Mµu/doimaupk",
            "Reset Pass/resetpw",
            "Më réng r­¬ng/morong",
            "Gäi Boss Ra/goiboss",
            "HuyÒn Viªn/losse",
            "An Bang Hoµn Mü/king",
            "VËt PhÈm/testnheban",
            "Test1/bntk",
                                    "Lay do tim/dotim",
            "Qu¶n lý ng­êi ch¬i/system",
            "Tho¸t/Exit")
    end
    
    function testcn()
    SayNew("Chµo Admin! Anh cÇn g×?",15,
            "LÊy trang bÞ/dobo",
            "Häc Skill/hskill",
            "LÊy ngùa/layngua",
            "Shop ngùa/shopngua",
            "NhËn ®iÓm/hotro",
            "VËt PhÈm Envent/sukien",
            "Nguyªn liÖu/nguyenlieu",
            "VËt phÈm/vph",
            "Tho¸t/Exit")
    end
    function losse()
    SayNew("Chµo Admin! Anh cÇn g×?",15,
            "¸o HuyÒn Viªn/hv1",
            "Nãn HuyÒn Viªn/hv2",
            "Bao Tay HuyÒn Viªn/hv3",
            "§ai L­ng HuyÒn Viªn/hv4",
            "GiÇy HuyÒn Viªn/hv5",
            "Ngäc Béi HuyÒn Viªn/hv6",
            "NhÉn Th­îng HuyÒn Viªn/hv7",
            "NhÉn H¹ HuyÒn Viªn/hv8",
            "Day ChuyÒn HuyÒn Viªn/hv9",
            "Vò KhÝ HuyÒn Viªn/hv10",
            "Tho¸t/Exit")
    end
    function dotim()
    AddItem(0,2,49,5,4,10,10)
    AddItem(0,6,26,5,4,10,10)
    AddItem(0,5,20,5,4,10,10)
    AddItem(0,8,18,5,4,10,10)
    AddItem(0,7,25,5,4,10,10)
    end
    function hv1()
    AddItem(0,2,49,9,3,10,10)
    AddItem(0,2,50,4,3,10,10)
    AddItem(0,2,50,9,3,10,10)
    AddItem(0,2,51,4,3,10,10)
    AddItem(0,2,51,9,3,10,10)
    AddItem(0,2,52,4,3,10,10)
    AddItem(0,2,52,9,3,10,10)
    AddItem(0,2,53,4,3,10,10)
    AddItem(0,2,53,9,3,10,10)
    AddItem(0,2,54,4,3,10,10)
    end
    function hv2()
    AddItem(0,7,25,9,3,10,10)
    AddItem(0,7,26,4,3,10,10)
    AddItem(0,7,26,9,3,10,10)
    AddItem(0,7,27,4,3,10,10)
    AddItem(0,7,27,9,3,10,10)
    AddItem(0,7,28,4,3,10,10)
    AddItem(0,7,28,9,3,10,10)
    AddItem(0,7,29,4,3,10,10)
    AddItem(0,7,29,9,3,10,10)
    AddItem(0,7,30,4,3,10,10)
    end
    function hv3()
    AddItem(0,8,18,6,0,10,10)
    AddItem(0,8,18,7,1,10,10)
    AddItem(0,8,18,8,2,10,10)
    AddItem(0,8,18,9,3,10,10)
    AddItem(0,8,18,10,4,10,10)
    AddItem(0,8,19,1,0,10,10)
    AddItem(0,8,19,2,1,10,10)
    AddItem(0,8,19,3,2,10,10)
    AddItem(0,8,19,4,3,10,10)
    AddItem(0,8,19,5,4,10,10)
    end
    function hv4()
    AddItem(0,6,26,6,0,10,10)
    AddItem(0,6,26,7,1,10,10)
    AddItem(0,6,26,8,2,10,10)
    AddItem(0,6,26,9,3,10,10)
    AddItem(0,6,26,10,4,10,10)
    AddItem(0,6,27,1,0,10,10)
    AddItem(0,6,27,2,1,10,10)
    AddItem(0,6,27,3,2,10,10)
    AddItem(0,6,27,4,3,10,10)
    AddItem(0,6,27,5,4,10,10)
    end
    function hv5()
    AddItem(0,5,20,6,0,10,10)
    AddItem(0,5,20,7,1,10,10)
    AddItem(0,5,20,8,2,10,10)
    AddItem(0,5,20,9,3,10,10)
    AddItem(0,5,20,10,4,10,10)
    AddItem(0,5,21,1,0,10,10)
    AddItem(0,5,21,2,1,10,10)
    AddItem(0,5,21,3,2,10,10)
    AddItem(0,5,21,4,3,10,10)
    AddItem(0,5,21,5,4,10,10)
    end
    function hv6()
    AddItem(0,9,18,6,0,10,10)
    AddItem(0,9,18,7,1,10,10)
    AddItem(0,9,18,8,2,10,10)
    AddItem(0,9,18,9,3,10,10)
    AddItem(0,9,18,10,4,10,10)
    AddItem(0,9,19,1,0,10,10)
    AddItem(0,9,19,2,1,10,10)
    AddItem(0,9,19,3,2,10,10)
    AddItem(0,9,19,4,3,10,10)
    AddItem(0,9,19,5,4,10,10)
    end
    function hv7()
    AddItem(0,3,30,6,0,10,10)
    AddItem(0,3,30,7,1,10,10)
    AddItem(0,3,30,8,2,10,10)
    AddItem(0,3,30,9,3,10,10)
    AddItem(0,3,30,10,4,10,10)
    AddItem(0,3,31,1,0,10,10)
    AddItem(0,3,31,2,1,10,10)
    AddItem(0,3,31,3,2,10,10)
    AddItem(0,3,31,4,3,10,10)
    AddItem(0,3,31,5,4,10,10)
    end
    function hv8()
    AddItem(0,3,29,6,0,10,10)
    AddItem(0,3,29,7,1,10,10)
    AddItem(0,3,29,8,2,10,10)
    AddItem(0,3,29,9,3,10,10)
    AddItem(0,3,29,10,4,10,10)
    AddItem(0,3,30,1,0,10,10)
    AddItem(0,3,30,2,1,10,10)
    AddItem(0,3,30,3,2,10,10)
    AddItem(0,3,30,4,3,10,10)
    AddItem(0,3,30,5,4,10,10)
    end
    function hv9()
    AddItem(0,4,17,6,0,10,10)
    AddItem(0,4,17,7,1,10,10)
    AddItem(0,4,17,8,2,10,10)
    AddItem(0,4,17,9,3,10,10)
    AddItem(0,4,17,10,4,10,10)
    AddItem(0,4,18,1,0,10,10)
    AddItem(0,4,18,2,1,10,10)
    AddItem(0,4,18,3,2,10,10)
    AddItem(0,4,18,4,3,10,10)
    AddItem(0,4,18,5,4,10,10)
    end
    function hv10()
    SayNew("Chµo Admin! Anh cÇn g×?",4,
            "Vò KhÝ Mile/hv11",
            "Vò KhÝ Smile/hv12",
            "Tho¸t/Exit")
    end
    function hv11()
    AddItem(0,0,20,4,3,10,10)
    AddItem(0,0,20,9,3,10,10)
    AddItem(0,0,21,4,3,10,10)
    AddItem(0,0,21,9,3,10,10)
    AddItem(0,0,22,4,3,10,10)
    AddItem(0,0,22,9,3,10,10)
    AddItem(0,0,23,4,3,10,10)
    AddItem(0,0,23,9,3,10,10)
    AddItem(0,0,24,4,3,10,10)
    AddItem(0,0,24,9,3,10,10)
    end
    function hv12()
    AddItem(0,0,25,4,3,10,10)
    AddItem(0,0,25,9,3,10,10)
    AddItem(0,0,26,4,3,10,10)
    AddItem(0,0,26,9,3,10,10)
    AddItem(0,0,27,4,3,10,10)
    AddItem(0,0,27,9,3,10,10)
    AddItem(0,1,5,1,0,10,10)
    AddItem(0,1,4,1,0,10,10)
    AddItem(0,1,3,1,0,10,10)
    AddItem(0,1,6,1,2,10,10)
    AddItem(0,1,6,2,3,10,10)
    AddItem(0,1,6,3,1,10,10)
    end
    
    function king()
    AddItem(0,4,18,6,4,10,10)
    AddItem(0,3,31,6,2,10,10)
    AddItem(0,3,31,7,3,10,10)
    AddItem(0,9,19,6,1,10,10)
    end
    
    
    
    function doimaupk()
    SayNew("Chµo Admin! Anh cÇn g×?",4,
            "§ái Mµu Tr¾ng/doimaupk1",
            "§æi Mµu Hång/doimaupk2",
            "Tho¸t/Exit")
    end
    
    function bntk()
    AddEventItem(211)
    end
    
    function testnheban()
    AddEventItem(235)
    AddEventItem(236)
    AddEventItem(237)
    AddEventItem(50)
    AddEventItem(238)
    AddEventItem(239)
    end
    
    function resetpw()
    OpenResetPass()
    end
    
    function doimaupk1()
    SetCamp(0)
    SetCurCamp(0)
    end
    
    function doimaupk2()
    SetCamp(6)
    SetCurCamp(6)
    end
    
    function skilladmin()
    AddMagic(417,1)
    end
    
    function testadmin123()
    AddEventItem(225)
    AddEventItem(225)
    AddEventItem(225)
    AddEventItem(225)
    AddEventItem(225)
    AddEventItem(225)
    AddEventItem(225)
    AddEventItem(225)
    AddEventItem(225)
    end
    
    
    function tong()
    OpenTong(0)
    end
    
    
    function sukien()
    AddEventItem(1)
    AddEventItem(0)
    AddEventItem(211)
    AddEventItem(171)
    AddEventItem(136)
    AddEventItem(137)
    AddEventItem(138)
    AddEventItem(139)
    AddEventItem(140)
    AddEventItem(141)
    AddEventItem(142)
    AddEventItem(143)
    AddEventItem(144)
    AddEventItem(145)
    end
    
    
    function dobo()
    SayNew("Chän chøc n¨ng",7,
            "Kim Phong/kimphong",
            "An Bang/anbang",
            "§Þnh Quèc/dinhquoc",
            "Nhu T×nh/nhutinh",
            "HiÖp Cèt/hiepcot",
            "Tho¸t/no")
    end
    
    function morong()
    SayNew("Chän chøc n¨ng",5,
            "R­¬ng 1/ruong",
            "R­¬ng 2/ruong",
            "R­¬ng 3/ruong",
            "Hµnh trang/ruong",
            "Xãa r­¬ng/ruong")
    end
    
    function ruong(sel)
    n = sel + 1
    if n == 1 then
    SetExBox(1)
    Msg2Player("B¹n ®· më réng r­¬ng 1")
    elseif n == 2 then
    SetExBox(2)
    Msg2Player("B¹n ®· më réng r­¬ng 2")
    elseif n == 3 then
    SetExBox(3)
    Msg2Player("B¹n ®· më réng r­¬ng 3")
    elseif n == 4 then
    SetExItem(1)
    Msg2Player("B¹n ®· më réng hµnh trang")
    elseif n == 5 then
    SetExBox(0)
    SetExItem(0)
    Msg2Player("B¹n ®· xãa r­¬ng")
    end
    end
    
    function newfunction()
    SayNew("Chän chøc n¨ng",7,
            "Thªm trang bi/additem",
            "§Õm trang bi/countitem",
            "Xãa trang bÞ/delitem",
            "Thªm kü nang/addskill",
            "Xãa kü n¨ng/delskill",
            "Tho¸t/no")
    end
    function addskill()
    OpenMission(1);
    StartMissionTimer(1,14,60*18);
    end
    
    
    
    function delskill()
    AddGlobalNews("csjakcldvdslvkfdb;gblgfnl'lv;vksdkclakca;lc")
    end
    function countitem()
        if (HaveBaseItem(0,2,6,1,4) == 2) then
            Talk(1,"","co ")
            
        else
            Talk(1,"","ko co")
        end
    end
    function additem()
    AddItem(0,2,28,5,4,10,10)
    AddItem(0,2,29,8,4,10,10)
    AddItem(0,2,30,5,4,10,10)
    AddItem(0,2,31,5,4,10,10)
    AddItem(0,7,14,5,4,10,10)
    AddItem(0,7,15,8,4,10,10)
    end
    
    function delitem()
    DelBaseItem(0,2,6,1,4)
    end
    
    function kimphong()
    AddItem(0,4,2,5,1,10,10)
    AddItem(0,6,4,5,4,10,10)
    AddItem(0,5,4,5,4,10,10)
    AddItem(0,9,2,5,0,10,10)
    AddItem(0,3,1,5,2,10,10)
    AddItem(0,8,2,5,3,10,10)
    AddItem(0,2,28,5,0,10,10)
    AddItem(0,7,14,5,2,10,10)
    AddItem(0,3,2,5,1,10,10)
    AddItem(0,10,2,10,0,0,0)
    end
    
    function anbang()
    AddItem(0,3,3,8,2,10,10)
    AddItem(0,3,4,8,3,10,10)
    AddItem(0,4,3,8,4,10,10)
    AddItem(0,9,3,8,1,10,10)
    end
    
    function dinhquoc()
    AddItem(0,2,29,8,0,10,10)
    AddItem(0,7,15,8,2,10,10)
    AddItem(0,8,3,8,3,10,10)
    AddItem(0,5,5,8,1,10,10)
    AddItem(0,6,5,8,4,10,10)
    end
    
    function nhutinh()
    AddItem(0,3,5,5,4,10,10)
    AddItem(0,4,4,5,2,10,10)
    AddItem(0,2,30,5,0,10,10)
    AddItem(0,9,4,5,3,10,10)
    end
    
    function hiepcot()
    AddItem(0,3,6,5,0,10,10)
    AddItem(0,4,5,5,2,10,10)
    AddItem(0,9,5,5,4,10,10)
    AddItem(0,2,31,5,2,10,10)
    end
    
    function shopngua()
    Sale(20)
    end
    
    
    
    function vph()
    SayNew("Chµo Admin! Anh cÇn g×?",6,
        "Tinh Hång B¶o Th¹ch/thbt",
        "Bé thuû tinh/thuyt",
        "HuyÒn tinh/ht",
        "Trë vÒ/manager")
    end
    function thuyt()
    for i=17,19 do
    AddEventItem(i)
    end
    end
    
    function ht()
    Say("Chän HuyÒn tinh ",11,
    "HuyÒn tinh 1/ht1",
    "HuyÒn tinh 2/ht1",
    "HuyÒn tinh 3/ht1",
    "HuyÒn tinh 4/ht1",
    "HuyÒn tinh 5/ht1",
    "HuyÒn tinh 6/ht1",
    "HuyÒn tinh 7/ht1",
    "HuyÒn tinh 8/ht1",
    "HuyÒn tinh 9/ht1",
    "HuyÒn tinh 10/ht1",
    "Trë vÒ/manager")
    end
    
    function ht1(sel)
    n = sel + 1
    AddEventItem(3+n)
    AddEventItem(3+n)
    AddEventItem(3+n)
    Msg2Player("NhËn ®­îc HuyÒn Tinh!")
    end
    
    function thbt()
    for i=1,5 do
    AddEventItem(20)
    end
    end
    
    function hskill()
    SayNew("Chµo Admin! Anh cÇn g×?",3,
            "Häc Skill 90/kynang90",
            "Häc Skill 120/Skill120xxx",
            "Trë vÒ/manager")
    end
    
    function nguyenlieu()
    AddEventItem(3)
    AddEventItem(14)
    AddEventItem(212)
    AddEventItem(213)
    AddEventItem(214)
    AddEventItem(215)
    AddEventItem(239)
    end
    
    function hotro()
    SayNew("Anh cÇn g×?",12,
    "T¨ng kinh nghiÖm/kn",
    "TiÒn/tien",
    "NhËn Xu/xu",
    "Danh väng/danhvong",
    "Phóc duyªn/phucduyen",
    "Tµi l·nh ®¹o/lanhdao",
    "Set PK/pk",
    "Set Level/setlevel",
    "Set FF/ff",
    "Set Rank/setrank",
    "§iÓm Kü N¨ng/pointkynang",
    "§iÓm TiÒm N¨ng/pointtiemnang",
    "Trë vÒ/manager")
    end
    
    function pointkynang()
    AddMagicPoint(199)
    Msg2Player("B¹n nhËn ®­îc 199 ®iÓm kü n¨ng ")
    KickOutSelf()
    end;
    
    function pointtiemnang()
    AddProp(10000)
    Msg2Player("B¹n nhËn ®­îc 10000 ®iÓm tiÒm n¨ng "); 
    KickOutSelf()
    end;
    
    function setrank()
    SetRank(92)
    end
    
    function xu()
    SetTask(92,GetTask(92) + 1000)
    Msg2Player("B¹n nhËn ®­îc 1000 Xu")
    end
        
    function lanhdao()
        for i=1,20 do
    AddLeadExp(10000000)
    end
    end
    
    function kn()
    for i=1,150 do
    AddOwnExp(100000000)
    end
    end
    
    function tien()
    Earn(100000000)
    end
    function danhvong()
    AddRepute(1000)
    end
    
    function phucduyen()
    AddFuYuan(1000)
    end
    
    function trungsinh()
    AddReBorn(10)
    end
    
    function pk()
    SetPK(GetPK() +1)
    end
    
    function setlevel()
    SetLevel(10)
    KickOutSelf()
    end
    
    function ff()
    SetHonor(GetHonor() +35)
    end
    
    
    
    function laytrangbia()
    SayNew("Xin mêi chän",11,
    "+1/hktb",
    "+2/hktb",
    "+3/hktb",
    "+4/hktb",
    "+5/hktb",
    "+6/hktb",
    "+7/hktb",
    "+8/hktb",
    "+9/hktb",
    "+10/hktb",
    "Trë vÒ/manager")
    end
    
    function hktb(sel)
    n = sel + 1
    SetTaskTemp(34,n)
    SayNew("Xin mêi chän !",9,
    "¸o/ao",
    "D©y chuyÒn/daychuyen",
    "§ai/dai",
    "Giµy/giay",
    "Bao Tay/baotay",
    "Nãn/non",
    "Ngäc Béi/ngocboi",
    "NhÉn/nhan",
    "Trë vÒ/manager")
    end
    
    function ao()
    SayNew("!!!",3,"Lo¹i 1/ao1","Lo¹i 2/ao2","Trë vÒ/manager")
    end
    
    function ao1()
    for i=1,9 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    end
    function ao2()
    for i=10,17 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    end
    
    function daychuyen()
    for i=18,26 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    end
    
    function dai()
    for i=27,46 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    end
    
    function giay()
    for i=47,59 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    
    end
    
    function baotay()
    for i=60,73 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    
    end
    
    
    function non()
    for i=74,82 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    AddItem(0,7,39,GetTaskTemp(34),0,0,5)
    end
    
    
    function ngocboi()
    for i=83,94 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    
    end
    
    function nhan()
    for i=95,114 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    
    end
    
    --temp 34 , 35
    
    
        function no()
        SetTaskTemp(34,0)
        end
        
    function layvukhi()
    SayNew("!!!",3,"Lo¹i 1/vukhi1","Lo¹i 2/vukhi2","Trë vÒ/manager")
    end
    
    function vukhi1()
    for i=115,123 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    
    end
    
    function vukhi2()
    for i=124,131 do
    AddItem(0,MangTrangBi[i][3],MangTrangBi[i][4],GetTaskTemp(34),0,0,5)
    end
    
    end
    function layngua()
    SayNew("Xin mêi chän !",10,"Phi Van/ngua","Bon Tieu/ngua","Phien Vu/ngua","Xich Long Cau/ngua","Sieu Quang/ngua","Cop Trang/ngua","Cop Vang/ngua","Cop Den/ngua","Ngua vip/ngua","Thoat/no")
    end
    
    function ngua(sel)
    --if GetTask(147) == 0 then
    n = sel + 1
    if n == 1 then
    a = 8
    b = 10
    elseif n == 2 then
    a = 6
    b = 10
    elseif n == 3 then
    a = 7
    b = 10
    elseif n == 4 then
    a = 9
    b = 10
    elseif n == 5 then
    a = 11
    b = 10
    elseif n >= 6 or n <= 9 then
    a = 12
    b = n - 5
    else
    end
    
    --SetTask(147,1)
    AddItem(0,10,a,b,0,0,0)
    Msg2Player("Nhan duoc Ngua")
    --else
    --Msg2Player("Moi nhan vat chi duoc nhan ngua 1 lan")
    --end
    end
    
    function goiboss()
    map = SubWorldID2Idx(8)
    bossdai1 = AddNpc(423,100,map,1398*32,3268*32)
    SetNpcSeries(bossdai1,random(0,4))
    Msg2SubWorld("§¹o TÆc Truy N· t¹i Sa M¹c I (174/204")        
                
    map = SubWorldID2Idx(9)
    bossdai2 = AddNpc(424,100,map,1721*32,3239*32)
    SetNpcSeries(bossdai2,random(0,4))
    Msg2SubWorld("§¹o TÆc Truy N· t¹i Sa M¹c II(215/201)")
    
    map = SubWorldID2Idx(14)
    bossdai3 = AddNpc(425,100,map,1852*32,3386*32)
    SetNpcSeries(bossdai3,random(3,4))
    Msg2SubWorld("§¹o TÆc Truy N· t¹i M¹c Cao QuËt (231/221)")
    
    map = SubWorldID2Idx(7)
    bossdai4 = AddNpc(426,100,map,1597*32,3142*32)
    SetNpcSeries(bossdai4,random(0,4))
    Msg2SubWorld("§¹o TÆc Truy N· t¹i Sa M¹c §Þa BiÓu(199/196)")
                
    map = SubWorldID2Idx(36)
    bossdai5 = AddNpc(430,100,map,1420*32,3270*32)
    SetNpcSeries(bossdai5,random(0,4))
    Msg2SubWorld("§¹o TÆc Truy N· t¹i Ph­îng T­êng(177/204)")
                
    end
    
    
    ------------------------------------------------PAss----------------------------------------------
    
    MATKHAU = {1,1,1,2,1,5}
    function WritePass()
    if GetTaskTemp(57) == 1 then
            manager()
    else
    SayNew("<color=red>HÖ thèng<color>: Xin mêi nhËp pass :",11,
            "1./number",
            "2./number",
            "3./number",
            "4./number",
            "5./number",
            "6./number",
            "7,/number",
            "8./number",
            "9./number",
            "0./number",
            "Tho¸t./finish")
        end
    end
    
    function number(sel)
    id = sel + 1
    if id == 10 then
    id = 0
    end
    if GetTaskTemp(55) == 0 then
        if (id == MATKHAU[1]) then
                SetTaskTemp(55,GetTaskTemp(55)+1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        else
                SetTaskTemp(55,GetTaskTemp(55)+1)
                SetTaskTemp(56,1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        end
    elseif GetTaskTemp(55) == 1 then
        if (id == MATKHAU[2]) then
                SetTaskTemp(55,GetTaskTemp(55)+1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        else
                SetTaskTemp(55,GetTaskTemp(55)+1)
                SetTaskTemp(56,1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        end
    elseif GetTaskTemp(55) == 2 then
        if (id == MATKHAU[3]) then
                SetTaskTemp(55,GetTaskTemp(55)+1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        else
                SetTaskTemp(55,GetTaskTemp(55)+1)
                SetTaskTemp(56,1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        end
    elseif GetTaskTemp(55) == 3 then
        if (id == MATKHAU[4]) then
                SetTaskTemp(55,GetTaskTemp(55)+1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        else
                SetTaskTemp(55,GetTaskTemp(55)+1)
                SetTaskTemp(56,1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        end
    elseif GetTaskTemp(55) == 4 then
        if (id == MATKHAU[5]) then
                SetTaskTemp(55,GetTaskTemp(55)+1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        else
                SetTaskTemp(55,GetTaskTemp(55)+1)
                SetTaskTemp(56,1)
                WritePass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        end
    elseif GetTaskTemp(55) == 5 then
        if (id == MATKHAU[6]) then
                SetTaskTemp(55,GetTaskTemp(55)+1)
                Msg2Player("B¹n ®· nhËp sè "..id.."")
                CheckPass()
        else
                SetTaskTemp(55,GetTaskTemp(55)+1)
                SetTaskTemp(56,1)
                CheckPass()
                Msg2Player("B¹n ®· nhËp sè "..id.."")
        end
    
    end
    end
    
    function finish()
    KickOutSelf()
    end
    
    function CheckPass()
    if GetTaskTemp(56) >= 1 then
        Talk(1,"finish","Admin Server:\nB¶o vÖ tÝnh n¨ng Admin rÊt quan träng !")
    else
                SetTaskTemp(55,0)
                SetTaskTemp(57,1)
                Msg2Player("Pass chÝnh x¸c, tÝnh n¨ng ®· më")
                manager()
    end
    end
    
    function Skill120xxx()
    SayNew("H·y chän m«n ph¸i",11,
        "Thiªn V­¬ng /tv120",
        "ThiÕu L©m /tl120",
        "§­êng M«n /dm120",
        "Ngò §éc /nd120",
        "Nga My /nm120",
        "Thuý Yªn /ty120",
        "Vâ §ang /vd120",
        "Thiªn NhÉn /tn120",
        "C«n L«n /cl120",
        "C¸i Bang /cb120",
        "Tho¸t /no")
    end
    
    function tv120()
    AddMagic(414,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 Thiªn V­¬ng ")
    end
    
    function tl120()
    AddMagic(412,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 ThiÕu L©m ")
    end
    
    function dm120()
    AddMagic(416,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 §­êng M«n ")
    end
    
    function nd120()
    AddMagic(418,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 Ngò §éc ")
    end
    
    function nm120()
    AddMagic(420,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 Nga My ")
    end
    
    function ty120()
    AddMagic(422,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 Thóy Yªn ")
    end
    
    function cb120()
    AddMagic(424,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 C¸i Bang ")
    end
    
    function tn120()
    AddMagic(426,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 Thiªn NhÉn ")
    end
    
    function vd120()
    AddMagic(428,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 Vâ §ang ")
    end
    
    function cl120()
    AddMagic(430,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 120 C«n L«n ")
    end
    
    -------------------------------------------------------
    
    function kynang90()
    SayNew("<color="..colorS()..">HÖ thèng: ",11,
        "Thiªn V­¬ng /tv90",
        "ThiÕu L©m /tl90",
        "§­êng M«n /dm90",
        "Ngò §éc /nd90",
        "Nga My /nm90",
        "Thuý Yªn /ty90",
        "Vâ §ang /vd90",
        "Thiªn NhÉn /tn90",
        "C«n L«n /cl90",
        "C¸i Bang /cb90",
        "Tho¸t /no");
    end;
    --======================
    function nd90()
    AddMagic(359,20)
    AddMagic(361,20)
    AddMagic(327,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 Ngò §éc ");
    end;
    --======================
    function tv90()
    AddMagic(347,20)
    AddMagic(345,20)
    AddMagic(342,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 Thiªn V­¬ng ");
    end;
    --======================
    function tl90()
    AddMagic(350,20)
    AddMagic(353,20)
    AddMagic(351,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 ThiÕu L©m ");
    end;
    --======================
    function dm90()
    AddMagic(302,20)
    AddMagic(355,20)
    AddMagic(358,20)
    AddMagic(399,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 §­êng M«n ");
    end;
    --======================
    function nm90()
    AddMagic(370,20)
    AddMagic(374,20)
    AddMagic(291,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 Nga My ")
    end;
    --======================
    function ty90()
    AddMagic(377,20)
    AddMagic(378,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 Thuý Yªn ")
    end;
    --======================
    function cb90()
    AddMagic(362,20)
    AddMagic(389,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 C¸i Bang ")
    end;
    --======================
    function tn90()
    AddMagic(367,20)
    AddMagic(365,20)
    AddMagic(328,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 Thiªn NhÉn ")
    end;
    --======================
    function vd90()
    AddMagic(382,20)
    AddMagic(380,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 Vâ §ang ")
    end;
    --======================
    function cl90()
    AddMagic(384,20)
    AddMagic(385,20)
    AddMagic(329,20)
    Msg2Player("B¹n ®· häc ®­îc kü n¨ng 90 C«n L«n ")
    end;
    
    -------------------------------------------
    
    function trangbivukhi()
    SayNew("Chµo Admin! Anh cÇn g×?",6,
            "LÊy Vò KhÝ Kim/vkk",
            "LÊy Vò KhÝ Méc/vkm",
            "LÊy Vò KhÝ Thñy/vkt",
            "LÊy Vò KhÝ Háa/vkh",
            "LÊy Vò KhÝ Thæ/vktt",
            "Tho¸t/Exit")
    end
    
    function vkk()
    SayNew("Anh cÇn g×?",9,
    "§ao HÖ Kim/dhk",
    "Báng HÖ Kim/bhk",
    "KiÕm HÖ Kim/khk",
    "Næ HÖ Kim/nhk",
    "Phi §ao HÖ Kim/pdhk",
    "Phi Tiªu HÖ Kim/pthk",
    "Trë vÒ/manager")
    end
    
    function vkm()
    SayNew("Anh cÇn g×?",9,
    "§ao HÖ Méc/dhm",
    "Báng HÖ Méc/bhm",
    "KiÕm HÖ Méc/khm",
    "Næ HÖ Méc/nhm",
    "Phi §ao HÖ Méc/pdhm",
    "Phi Tiªu HÖ Méc/pthm",
    "Trë vÒ/manager")
    end
    
    function vkt()
    SayNew("Anh cÇn g×?",9,
    "§ao HÖ Thñy/dht",
    "Báng HÖ Thñy/bht",
    "KiÕm HÖ Thñy/kht",
    "Th­¬ng HÖ Thñy/tht",
    "Chïy HÖ Thñy/cht",
    "Trë vÒ/manager")
    end
    
    function vkh()
    SayNew("Anh cÇn g×?",5,
    "§ao HÖ Háa/dhh",
    "Báng HÖ Háa/bhh",
    "KiÕm HÖ Háa/khh",
    "Trë vÒ/manager")
    end
    
    function vktt()
    SayNew("Anh cÇn g×?",5,
    "§ao HÖ Thæ/dhtt",
    "Báng HÖ Thæ/bhtt",
    "KiÕm HÖ Thæ/khtt",
    "Trë vÒ/manager")
    end
    
    ---------------------------------§ao HÖ Kim
    function dhk()
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    AddItem(0,0,2,0,0,10,10)
    end
    
    ---------------------------------Báng HÖ Kim
    function bhk()
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    AddItem(0,0,3,0,0,10,10)
    end
    
    ---------------------------------KiÕm HÖ Kim
    function khk()
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    AddItem(0,0,1,0,0,10,10)
    end
    
    ---------------------------------Næ HÖ Kim
    function nhk()
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    AddItem(0,1,3,0,0,10,10)
    end
    
    ---------------------------------Phi §ao HÖ Kim
    function pdhk()
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    AddItem(0,1,2,0,0,10,10)
    end
    
    ---------------------------------Phi Tiªu HÖ Kim
    function pthk()
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    AddItem(0,1,1,0,0,10,10)
    end
    
    ---------------------------------§ao HÖ Méc
    function dhm()
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    AddItem(0,0,2,0,1,10,10)
    end
    
    ---------------------------------Báng HÖ Méc
    function bhm()
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    AddItem(0,0,3,0,1,10,10)
    end
    
    ---------------------------------KiÕm HÖ Méc
    function khm()
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    AddItem(0,0,1,0,1,10,10)
    end
    
    ---------------------------------Næ HÖ Méc
    function nhm()
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    AddItem(0,1,3,0,1,10,10)
    end
    
    ---------------------------------Phi §ao HÖ Méc
    function pdhm()
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    AddItem(0,1,2,0,1,10,10)
    end
    
    ---------------------------------Phi Tiªu HÖ Méc
    function pthm()
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    AddItem(0,1,1,0,1,10,10)
    end
    
    ---------------------------------§ao HÖ Thñy
    function dht()
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    AddItem(0,0,2,0,2,10,10)
    end
    
    ---------------------------------Báng HÖ Thñy
    function bht()
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    AddItem(0,0,3,0,2,10,10)
    end
    
    ---------------------------------KiÕm HÖ Thñy
    function kht()
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    AddItem(0,0,1,0,2,10,10)
    end
    
    ---------------------------------Th­¬ng HÖ Thñy
    function tht()
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    AddItem(0,0,4,0,2,10,10)
    end
    
    ---------------------------------Chuú HÖ Thñy
    function cht()
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    AddItem(0,0,5,0,2,10,10)
    end
    
    ---------------------------------§ao HÖ Háa
    function dhh()
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    AddItem(0,0,2,0,3,10,10)
    end
    
    ---------------------------------Báng HÖ Háa
    function bhh()
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    AddItem(0,0,3,0,3,10,10)
    end
    
    ---------------------------------KiÕm HÖ Háa
    function khh()
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    AddItem(0,0,1,0,3,10,10)
    end
    
    ---------------------------------§ao HÖ Thæ
    function dhtt()
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    AddItem(0,0,2,0,4,10,10)
    end
    
    ---------------------------------Báng HÖ Thæ
    function bhtt()
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    AddItem(0,0,3,0,4,10,10)
    end
    
    ---------------------------------KiÕm HÖ Thæ
    function khtt()
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    AddItem(0,0,1,0,4,10,10)
    end
    Lần sửa cuối bởi thaihoa91, ngày 17-01-13 lúc 09:34 PM.
    Khách viếng thăm hãy cùng VoDanhJX xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  4. #504
    Thành Viên J4cksparrow's Avatar
    Ngày tham gia
    Oct 2010
    Đang ở
    Ngoài khơi (lâu lâu về đảo )
    Bài viết
    131
    Thanks
    179
    Thanked 58 Times in 11 Posts

    Ðề: Share Server JX có Auto in Game !

    Server bi loi timeserver.lua @@. Lau roi ko vao box nen ko biet, van de npc cung kho
    Khách viếng thăm hãy cùng J4cksparrow xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  5. #505
    Thành Viên
    Ngày tham gia
    Jun 2011
    Bài viết
    155
    Thanks
    52
    Thanked 19 Times in 16 Posts

    Ðề: Share Server JX có Auto in Game !

    Dạ Anh Em cho em hỏi tại sao em add Npc chuyensinh vo server rồi mà ko nhình thấy nó với lại sao bấm vào addxu hay add vu khi hoặc trang bị mà nó ko ra cái j hết xin hãy dúp em với
    Khách viếng thăm hãy cùng JXPVN xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  6. #506
    Thành Viên Tâm Huyết shinrenkyo's Avatar
    Ngày tham gia
    May 2011
    Bài viết
    1,534
    Thanks
    376
    Thanked 147 Times in 108 Posts

    Ðề: Share Server JX có Auto in Game !

    ai coi dùm mình cái code này sai chỗ nào mà chuyển sinh ko nhận đc tiềm năng hay kỹ năng gì hết mọi người ơi
    Code:
    function AddAll(Xdnt,Ydnt)
    if Xdnt == nil then Xdnt = 0 end
    if Ydnt == nil then Ydnt = 0 end
    AddProp(Xdnt)
    AddMagicPoint(Ydnt)
    Msg2Player("Ban nhan duoc "..Xdnt.." diem tiem nang");
    Msg2Player("Ban nhan duoc "..Ydnt.." diem ky nang");
    end;
    
    function chuyensinh()
    cs = GetTask(197)
    if cs == nil then cs = 0 end
    cs = cs +1
    		if GetTask(197) < GetGlbMissionV(50) then
    	if GetLevel() >= CSTABLE[cs][1] then
    		if GetCash() >= CSTABLE[cs][2] then
    			if GetItemCount(iditemcantrongcs) >= CSTABLE[cs][3] then	 	
    				for i=1,CSTABLE[cs][3] do DelItem(iditemcantrongcs) end
    				Pay(CSTABLE[cs][2])
    				SetTask(197,GetTask(197)+1)
    				Msg2Player("Bat dau chuyen Sinh Nhan Vat")
    				diemtn = CSTABLE[cs][4] + (GetTask(ttk) * 5) + (CSTABLE[150][4]*GetTask(198))	
    				diemkn = CSTABLE[cs][5] + GetTask(vlmt) + (CSTABLE[150][5]*GetTask(198))
    				ReBorn()
    				AddAll(diemtn,diemkn)
    				SetLevel(10)
    				danhhieuphiphong()
    				
    				Talk(1,"","§©y Lµ LÊn ChuyÓn Sinh Thø: "..GetTask(197).." Cña B¹n\n<color=red>NhÊp Vµo B¶ng Th«ng B¸o Nµy §Ó B¾t §Çu ChuyÓn Sinh")
    				KickOutSelf()						
    			else
    			Talk(1,"","B¹n CÇn Cã <color=red>"..CSTABLE[cs][3].."<color> "..TENVP.." §Ó ChuyÓn Sinh !")	
    			end
    		else
    		Talk(1,"","<color=cyan>ChuyÓn Sinh §¹i S­:<color> B¹n CÇn Cã "..(CSTABLE[cs][2]/10000).." V¹n §Ó ChuyÓn Sinh")
    		end
    	else
    	Talk(1,"","<color=cyan>ChuyÓn Sinh §¹i S­:<color> B¹n CÇn §¹t "..CSTABLE[cs][1].." CÊp §Ó ChuyÓn Sinh")
    	end
    cs = 0
    diemtn = 0
    diemkn = 0
    		else
    Talk(1,"","<color=cyan>ChuyÓn Sinh §¹i S­:<color> Giíi H¹n ChuyÓn Sinh HiÖn T¹i Lµ "..GetGlbMissionV(50).." Kh«ng ThÓ TiÕp Tôc ChuyÓn Sinh !")	
    		end
    end
    Khách viếng thăm hãy cùng shinrenkyo xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  7. #507
    Thành Viên Tâm Huyết danghai1993's Avatar
    Ngày tham gia
    Jun 2012
    Bài viết
    1,096
    Thanks
    210
    Thanked 302 Times in 201 Posts

    Ðề: Share Server JX có Auto in Game !

    Trích dẫn Gửi bởi shinrenkyo [Only registered and activated users can see links. ]
    ai coi dùm mình cái code này sai chỗ nào mà chuyển sinh ko nhận đc tiềm năng hay kỹ năng gì hết mọi người ơi
    Code:
    function AddAll(Xdnt,Ydnt)
    if Xdnt == nil then Xdnt = 0 end
    if Ydnt == nil then Ydnt = 0 end
    AddProp(Xdnt)
    AddMagicPoint(Ydnt)
    Msg2Player("Ban nhan duoc "..Xdnt.." diem tiem nang");
    Msg2Player("Ban nhan duoc "..Ydnt.." diem ky nang");
    end;
    
    function chuyensinh()
    cs = GetTask(197)
    if cs == nil then cs = 0 end
    cs = cs +1
    		if GetTask(197) < GetGlbMissionV(50) then
    	if GetLevel() >= CSTABLE[cs][1] then
    		if GetCash() >= CSTABLE[cs][2] then
    			if GetItemCount(iditemcantrongcs) >= CSTABLE[cs][3] then	 	
    				for i=1,CSTABLE[cs][3] do DelItem(iditemcantrongcs) end
    				Pay(CSTABLE[cs][2])
    				SetTask(197,GetTask(197)+1)
    				Msg2Player("Bat dau chuyen Sinh Nhan Vat")
    				diemtn = CSTABLE[cs][4] + (GetTask(ttk) * 5) + (CSTABLE[150][4]*GetTask(198))	
    				diemkn = CSTABLE[cs][5] + GetTask(vlmt) + (CSTABLE[150][5]*GetTask(198))
    				reborn()
                                    KickOutSelf()
    				AddAll(diemtn,diemkn)
    				danhhieuphiphong()
    				
    				Talk(1,"","§©y Lµ LÊn ChuyÓn Sinh Thø: "..GetTask(197).." Cña B¹n\n<color=red>NhÊp Vµo B¶ng Th«ng B¸o Nµy §Ó B¾t §Çu ChuyÓn Sinh")
    				KickOutSelf()						
    			else
    			Talk(1,"","B¹n CÇn Cã <color=red>"..CSTABLE[cs][3].."<color> "..TENVP.." §Ó ChuyÓn Sinh !")	
    			end
    		else
    		Talk(1,"","<color=cyan>ChuyÓn Sinh §¹i S­:<color> B¹n CÇn Cã "..(CSTABLE[cs][2]/10000).." V¹n §Ó ChuyÓn Sinh")
    		end
    	else
    	Talk(1,"","<color=cyan>ChuyÓn Sinh §¹i S­:<color> B¹n CÇn §¹t "..CSTABLE[cs][1].." CÊp §Ó ChuyÓn Sinh")
    	end
    cs = 0
    diemtn = 0
    diemkn = 0
    		else
    Talk(1,"","<color=cyan>ChuyÓn Sinh §¹i S­:<color> Giíi H¹n ChuyÓn Sinh HiÖn T¹i Lµ "..GetGlbMissionV(50).." Kh«ng ThÓ TiÕp Tôc ChuyÓn Sinh !")	
    		end
    end
    thử code này xem. .................................................. ..........................

    Nhớ Include("\\script\\global\\monphai\\manguon.lua") để chạy hàm reborn() nhé.
    Lần sửa cuối bởi danghai1993, ngày 18-01-13 lúc 11:16 AM.
    Khách viếng thăm hãy cùng danghai1993 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  8. #508
    Thành Viên Tâm Huyết shinrenkyo's Avatar
    Ngày tham gia
    May 2011
    Bài viết
    1,534
    Thanks
    376
    Thanked 147 Times in 108 Posts

    Ðề: Share Server JX có Auto in Game !

    Trích dẫn Gửi bởi danghai1993 [Only registered and activated users can see links. ]
    thử code này xem. .................................................. ..........................

    Nhớ Include("\\script\\global\\monphai\\manguon.lua") để chạy hàm reborn() nhé.
    Code:
    Include("\\dulieu\\chuyensinhdata.lua")
    Include("\\script\\source\\sourcejx49.lua")
    Include("\\script\\global\\monphai\\manguon.lua")
    có mà bạn,reborn chạy đc m2 ko có điểm
    Khách viếng thăm hãy cùng shinrenkyo xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  9. #509
    Thành Viên Tâm Huyết danghai1993's Avatar
    Ngày tham gia
    Jun 2012
    Bài viết
    1,096
    Thanks
    210
    Thanked 302 Times in 201 Posts

    Ðề: Share Server JX có Auto in Game !

    Trích dẫn Gửi bởi shinrenkyo [Only registered and activated users can see links. ]
    Code:
    Include("\\dulieu\\chuyensinhdata.lua")
    Include("\\script\\source\\sourcejx49.lua")
    Include("\\script\\global\\monphai\\manguon.lua")
    có mà bạn,reborn chạy đc m2 ko có điểm
    Pót thêm hàm reborn() của bạn xem ?
    Khách viếng thăm hãy cùng danghai1993 xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

  10. #510
    Thành Viên Tâm Huyết shinrenkyo's Avatar
    Ngày tham gia
    May 2011
    Bài viết
    1,534
    Thanks
    376
    Thanked 147 Times in 108 Posts

    Ðề: Share Server JX có Auto in Game !

    đây nè bạn
    Code:
    function ReBorn()
    mp = timmonphai()
    a = 0
    b = 0
    c = 0
    sl = getn(skills9x[mp])
    	if(sl == 3) then
    		a = GetMagicLevel(skills9x[mp][2][2])
    		b = GetMagicLevel(skills9x[mp][3][2])
    	elseif (sl == 4) then
    		a = GetMagicLevel(skills9x[mp][2][2])
    		b = GetMagicLevel(skills9x[mp][3][2])
    		c = GetMagicLevel(skills9x[mp][4][2])
    	end
    	taykynang()
    	taytiemnang()
    	SetLevel(10)
    	UpdateSkill()
    	if(sl == 3) then
    		if(a > 0) then
    			AddMagic(skills9x[mp][2][2],a)
    		end
    		if (b > 0) then
    			AddMagic(skills9x[mp][3][2],b)
    		end
    	elseif (sl == 4) then
    		if(a > 0) then
    			AddMagic(skills9x[mp][2][2],a)
    		end
    		if (b > 0) then
    			AddMagic(skills9x[mp][3][2],b)
    		end
    		if (c > 0) then
    			AddMagic(skills9x[mp][4][2],c)
    		end
    	end
    	SucManh = {35,20,25,30,20}
    	ThanPhap = {25,35,25,20,15}
    	SinhLuc = {25,20,25,30,25}
    	NoiLuc = {15,25,25,20,40}
    	NguHanh = GetSeries() + 1
    	ResetBaseAttrib(0,SucManh[NguHanh]);
    	ResetBaseAttrib(1,ThanPhap[NguHanh]);
    	ResetBaseAttrib(2,SinhLuc[NguHanh]);
    	ResetBaseAttrib(3,NoiLuc[NguHanh]);
    end
    Khách viếng thăm hãy cùng shinrenkyo xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!

 

 
Trang 51 của 76 Đầu tiênĐầu tiên ... 41 49 50 51 52 53 61 ... CuốiCuối

Các Chủ đề tương tự

  1. [JX] Share Auto Update Play Game bằng Autoit, hướng dẫn AutoIt
    Bởi thachlong78 trong diễn đàn Releases
    Trả lời: 49
    Bài viết cuối: 18-02-16, 12:18 AM
  2. [KT] Share auto pk cho server của a3pik
    Bởi khaicafe trong diễn đàn Releases
    Trả lời: 24
    Bài viết cuối: 25-07-12, 09:07 PM
  3. [JX] Share Auto của PTTK trong game dành cho mọi nền server
    Bởi keraotinh trong diễn đàn Võ Lâm Truyền Kỳ (Jx Server)
    Trả lời: 29
    Bài viết cuối: 08-07-12, 01:17 PM
  4. Trả lời: 4
    Bài viết cuối: 26-12-11, 08:54 PM

Quyền viết bài

  • Bạn Không thể gửi Chủ đề mới
  • Bạn Không thể Gửi trả lời
  • Bạn Không thể Gửi file đính kèm
  • Bạn Không thể Sửa bài viết của mình
  •  
Múi giờ GMT +7. Bây giờ là 07:50 PM.
vBulletin®, Copyright ©2000-2011, Jelsoft Enterprises Ltd.
CLBGamesVN không chịu trách nhiệm về Luật Bản Quyền của các tài liệu, bài viết v.v...được đăng tải trên diễn đàn này.
Diễn đàn phát triển dưới sự đóng góp của tất cả thành viên. BQT chỉ là những người thành lập ra sân chơi, quản lý và duy trì về mặt kỹ thuật, nội dung khi hợp lệ.