BNT GAME
Tổng số bài gửi : 183 Điểm : 2147483646 Uy Danh Giang Hồ : 88 Join date : 18/09/2011 Age : 31 Đến từ : Tphcm
| Tiêu đề: [ VFCKey_cheats ] Code cheat Do Thành viên VFCKey thực hiện Thu Aug 23, 2012 7:18 pm | |
| VFCKey_Cheats có thể cheat dc hết tất cả Map và hình như toàn bộ map ^^! Trước tiên Add cheat theo Lệnh Cheat :( Tức là ai cũng có thể cheat dc hết )Mã nguồn đây : Add Vào Bên Dưới globals :- Spoiler:
dialog udg_VFCKey_on1=null dialog udg_VFCKey_on2=null button array udg_VFCKey_Diabo dialog udg_VFCKey_Gold=null handle udg_VFCKey_Handle=null dialog udg_VFCKey_Lumber=null dialog udg_VFCKey_smm=null dialog udg_VFCKey_nnm=null dialog udg_VFCKey_nlm=null dialog udg_VFCKey_HackMap=null dialog udg_VFCKey_kinhnghiem=null dialog udg_VFCKey_BugMau=null dialog udg_VFCK=null dialog udg_VFCKey_NHTm=null trigger gg_trg_VFCKey_Right=null trigger gg_trg_VFCKey_Chat=null trigger gg_trg_VFCKey_Up=null trigger gg_trg_VFCKey_Show=null trigger gg_trg_VFCKey_Diabo=null
Còn đoạn này thì add vào Phần function InitGlobals takes nothing returns nothing Bên Dưới có từ local integer i=0 : - Spoiler:
set udg_VFCKey_on1=DialogCreate() set udg_VFCKey_on2=DialogCreate() set udg_VFCKey_Gold=DialogCreate() set udg_VFCKey_Lumber=DialogCreate() set udg_VFCKey_smm=DialogCreate() set udg_VFCKey_nnm=DialogCreate() set udg_VFCKey_nlm=DialogCreate() set udg_VFCKey_HackMap=DialogCreate() set udg_VFCKey_kinhnghiem=DialogCreate() set udg_VFCKey_BugMau=DialogCreate() set udg_VFCK=DialogCreate() set udg_VFCKey_NHTm=DialogCreate()
Phần này hơi khó 1 tí ! chú ý đọc kỹ , Sau khi add xong phần đoạn trên của function InitGlobals takes nothing returns nothing thì kéo từ từ xuống phía dưới đến khi Code hiện ra có từ endfunction thì add thêm phần đoạn này vào sau nó : - Spoiler:
function Trig_VFCKey_Right_Actions takes nothing returns nothing call EnableTrigger(gg_trg_VFCKey_Chat) endfunction function InitTrig_VFCKey_Right takes nothing returns nothing set gg_trg_VFCKey_Right=CreateTrigger() call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(10),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(11),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerAddAction(gg_trg_VFCKey_Right,function Trig_VFCKey_Right_Actions) endfunction function Trig_VFCKey_Chat_Actions takes nothing returns nothing call EnableTrigger(gg_trg_VFCKey_Up) call DisableTrigger(GetTriggeringTrigger()) endfunction function InitTrig_VFCKey_Chat takes nothing returns nothing set gg_trg_VFCKey_Chat=CreateTrigger() call DisableTrigger(gg_trg_VFCKey_Chat) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(0),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(1),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(2),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(3),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(4),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(5),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(6),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(7),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(8),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(9),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(10),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(11),"VFCKey",true) call TriggerAddAction(gg_trg_VFCKey_Chat,function Trig_VFCKey_Chat_Actions) endfunction function Trig_VFCKey_Up_Actions takes nothing returns nothing call EnableTrigger(gg_trg_VFCKey_Show) call DisableTrigger(GetTriggeringTrigger()) endfunction function InitTrig_VFCKey_Up takes nothing returns nothing set gg_trg_VFCKey_Up=CreateTrigger() call DisableTrigger(gg_trg_VFCKey_Up) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(10),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(11),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerAddAction(gg_trg_VFCKey_Up,function Trig_VFCKey_Up_Actions) endfunction function Trig_VFCKey_Show_Actions takes nothing returns nothing call DialogClearBJ(udg_VFCKey_on1) call DialogSetMessageBJ(udg_VFCKey_on1,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_on1,"GOLD Cheats") set udg_VFCKey_Diabo[1]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"LUMBER cheats") set udg_VFCKey_Diabo[2]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"STR cheats") set udg_VFCKey_Diabo[3]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"INT cheats") set udg_VFCKey_Diabo[4]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"Agi Cheats") set udg_VFCKey_Diabo[7]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"Qua trang (page 2)") set udg_VFCKey_Diabo[5]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"Hoa Giai Phep Thuat") set udg_VFCKey_Diabo[44]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"Thoat") set udg_VFCKey_Diabo[6]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_on2) call DialogSetMessageBJ(udg_VFCKey_on2,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_on2,"Hack Map") set udg_VFCKey_Diabo[8]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Bug Exp Giet Quai") set udg_VFCKey_Diabo[9]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Bug Mau %") set udg_VFCKey_Diabo[10]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Noi Luc Ho Than") set udg_VFCKey_Diabo[46]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Tro Ve (page 1)") set udg_VFCKey_Diabo[11]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Thoat") set udg_VFCKey_Diabo[12]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_Gold) call DialogSetMessageBJ(udg_VFCKey_Gold,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_Gold,"+ 5.000") set udg_VFCKey_Diabo[13]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Gold,"+ 15.000") set udg_VFCKey_Diabo[14]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Gold,"+ 50.000") set udg_VFCKey_Diabo[15]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Gold,"+ 100.000") set udg_VFCKey_Diabo[16]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_Lumber) call DialogSetMessageBJ(udg_VFCKey_Lumber,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_Lumber,"+ 10") set udg_VFCKey_Diabo[17]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Lumber,"+ 500") set udg_VFCKey_Diabo[18]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Lumber,"+ 5.000") set udg_VFCKey_Diabo[19]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Lumber,"+ 50.000") set udg_VFCKey_Diabo[20]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_smm) call DialogSetMessageBJ(udg_VFCKey_smm,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_smm,"+ 10") set udg_VFCKey_Diabo[21]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_smm,"+ 50") set udg_VFCKey_Diabo[22]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_smm,"+ 500") set udg_VFCKey_Diabo[23]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_smm,"+ 5000") set udg_VFCKey_Diabo[24]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_nlm) call DialogSetMessageBJ(udg_VFCKey_nlm,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_nlm,"+ 10") set udg_VFCKey_Diabo[25]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nlm,"+ 50") set udg_VFCKey_Diabo[26]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nlm,"+ 500") set udg_VFCKey_Diabo[27]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nlm,"+ 5000") set udg_VFCKey_Diabo[28]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_nnm) call DialogSetMessageBJ(udg_VFCKey_nnm,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_nnm,"+ 10") set udg_VFCKey_Diabo[29]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nnm,"+ 50") set udg_VFCKey_Diabo[30]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nnm,"+ 500") set udg_VFCKey_Diabo[31]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nnm,"+ 5000") set udg_VFCKey_Diabo[32]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_HackMap) call DialogSetMessageBJ(udg_VFCKey_HackMap,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_HackMap,"Ba^.t") set udg_VFCKey_Diabo[33]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_kinhnghiem) call DialogSetMessageBJ(udg_VFCKey_kinhnghiem,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"200%") set udg_VFCKey_Diabo[34]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"400%") set udg_VFCKey_Diabo[35]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"600%") set udg_VFCKey_Diabo[41]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"800%") set udg_VFCKey_Diabo[42]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"1000%") set udg_VFCKey_Diabo[43]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_BugMau) call DialogSetMessageBJ(udg_VFCKey_BugMau,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 150%") set udg_VFCKey_Diabo[36]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 200%") set udg_VFCKey_Diabo[37]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 400%") set udg_VFCKey_Diabo[38]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 800%") set udg_VFCKey_Diabo[39]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 1500%") set udg_VFCKey_Diabo[40]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCK) call DialogSetMessageBJ(udg_VFCK,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCK,"Nhan Skills Noi Luc Ho Than") set udg_VFCKey_Diabo[45]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCK,"Max Skills Noi Luc Ho Than") set udg_VFCKey_Diabo[47]=GetLastCreatedButtonBJ() call DialogDisplayBJ(true,udg_VFCKey_on1,GetTriggerPlayer()) endfunction function InitTrig_VFCKey_Show takes nothing returns nothing set gg_trg_VFCKey_Show=CreateTrigger() call DisableTrigger(gg_trg_VFCKey_Show) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(10),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(11),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerAddAction(gg_trg_VFCKey_Show,function Trig_VFCKey_Show_Actions) endfunction function Trig_VFCKey_Diabo_Func002C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[1]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func003C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[2]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func004C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[3]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func005C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[4]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func006C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[7]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func007C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[8]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func008C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[9]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func009C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[10]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func010C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[46]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func012C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[5]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func013C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[11]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func015C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[13]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func016C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[14]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func017C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[15]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func018C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[16]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func020C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[17]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func021C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[18]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func022C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[19]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func023C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[20]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func025C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[21]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func026C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[22]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func027C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[23]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func028C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[24]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func030C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[25]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func031C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[26]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func032C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[27]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func033C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[28]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func035C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[29]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func036C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[30]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func037C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[31]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func038C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[32]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func040C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[33]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func042C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[34]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func043C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[35]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func044C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[41]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func045C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[42]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func046C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[43]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func048C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[36]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func049C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[37]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func050C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[38]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func051C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[39]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func052C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[40]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func054C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[44]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func055C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[45]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func056C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[47]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Actions takes nothing returns nothing if(Trig_VFCKey_Diabo_Func002C())then call DialogSetMessageBJ(udg_VFCKey_Gold,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_Gold,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func003C())then call DialogSetMessageBJ(udg_VFCKey_Lumber,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_Lumber,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func004C())then call DialogSetMessageBJ(udg_VFCKey_smm,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_smm,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func005C())then call DialogSetMessageBJ(udg_VFCKey_nlm,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_nlm,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func006C())then call DialogSetMessageBJ(udg_VFCKey_on2,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_nnm,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func007C())then call DialogSetMessageBJ(udg_VFCKey_HackMap,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_HackMap,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func008C())then call DialogSetMessageBJ(udg_VFCKey_kinhnghiem,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_kinhnghiem,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func009C())then call DialogSetMessageBJ(udg_VFCKey_BugMau,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_BugMau,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func010C())then call DialogSetMessageBJ(udg_VFCK,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCK,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func012C())then call DialogDisplayBJ(false,udg_VFCKey_on1,GetTriggerPlayer()) call DialogDisplayBJ(true,udg_VFCKey_on2,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func013C())then call DialogDisplayBJ(false,udg_VFCKey_on2,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func015C())then call AdjustPlayerStateBJ(5000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD) else endif if(Trig_VFCKey_Diabo_Func016C())then call AdjustPlayerStateBJ(15000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD) else endif if(Trig_VFCKey_Diabo_Func017C())then call AdjustPlayerStateBJ(50000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD) else endif if(Trig_VFCKey_Diabo_Func018C())then call AdjustPlayerStateBJ(100000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD) else endif if(Trig_VFCKey_Diabo_Func020C())then call AdjustPlayerStateBJ(10,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER) else endif if(Trig_VFCKey_Diabo_Func021C())then call AdjustPlayerStateBJ(500,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER) else endif if(Trig_VFCKey_Diabo_Func022C())then call AdjustPlayerStateBJ(5000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER) else endif if(Trig_VFCKey_Diabo_Func023C())then call AdjustPlayerStateBJ(50000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER) else endif if(Trig_VFCKey_Diabo_Func025C())then call ModifyHeroStat(bj_HEROSTAT_STR,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,10) else endif if(Trig_VFCKey_Diabo_Func026C())then call ModifyHeroStat(bj_HEROSTAT_STR,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,50) else endif if(Trig_VFCKey_Diabo_Func027C())then call ModifyHeroStat(bj_HEROSTAT_STR,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,500) else endif if(Trig_VFCKey_Diabo_Func028C())then call ModifyHeroStat(bj_HEROSTAT_STR,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,5000) else endif if(Trig_VFCKey_Diabo_Func030C())then call ModifyHeroStat(bj_HEROSTAT_INT,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,10) else endif if(Trig_VFCKey_Diabo_Func031C())then call ModifyHeroStat(bj_HEROSTAT_INT,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,50) else endif if(Trig_VFCKey_Diabo_Func032C())then call ModifyHeroStat(bj_HEROSTAT_INT,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,500) else endif if(Trig_VFCKey_Diabo_Func033C())then call ModifyHeroStat(bj_HEROSTAT_INT,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,5000) else endif if(Trig_VFCKey_Diabo_Func035C())then call ModifyHeroStat(bj_HEROSTAT_AGI,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,10) else endif if(Trig_VFCKey_Diabo_Func036C())then call ModifyHeroStat(bj_HEROSTAT_AGI,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,50) else endif if(Trig_VFCKey_Diabo_Func037C())then call ModifyHeroStat(bj_HEROSTAT_AGI,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,500) else endif if(Trig_VFCKey_Diabo_Func038C())then call ModifyHeroStat(bj_HEROSTAT_AGI,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,5000) else endif if(Trig_VFCKey_Diabo_Func040C())then call FogEnableOn() call FogMaskEnableOn() call CreateFogModifierRectBJ(true,GetTriggerPlayer(),FOG_OF_WAR_VISIBLE,GetPlayableMapRect()) call FogModifierStart(GetLastCreatedFogModifier()) else endif if(Trig_VFCKey_Diabo_Func042C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),200.) else endif if(Trig_VFCKey_Diabo_Func043C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),400.) else endif if(Trig_VFCKey_Diabo_Func044C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),600.) else endif if(Trig_VFCKey_Diabo_Func045C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),800.) else endif if(Trig_VFCKey_Diabo_Func046C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),1000.) else endif if(Trig_VFCKey_Diabo_Func048C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),150.) else endif if(Trig_VFCKey_Diabo_Func049C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),200.) else endif if(Trig_VFCKey_Diabo_Func050C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),300.) else endif if(Trig_VFCKey_Diabo_Func051C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),800.) else endif if(Trig_VFCKey_Diabo_Func052C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),1500.) else endif if(Trig_VFCKey_Diabo_Func054C())then call UnitRemoveBuffsExBJ(bj_BUFF_POLARITY_EITHER,bj_BUFF_RESIST_EITHER,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),true,true) else endif if(Trig_VFCKey_Diabo_Func055C())then call UnitAddAbilityBJ('ANms',GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer()))) else endif if(Trig_VFCKey_Diabo_Func056C())then call SetUnitAbilityLevelSwapped('ANms',GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),3) else endif set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=1 loop exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd set bj_forLoopAIndex=bj_forLoopAIndex+1 endloop endfunction function InitTrig_VFCKey_Diabo takes nothing returns nothing set gg_trg_VFCKey_Diabo=CreateTrigger() call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_on1) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_on2) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_Gold) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_Lumber) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_HackMap) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_smm) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_nnm) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_nlm) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_BugMau) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_kinhnghiem) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCK) call TriggerAddAction(gg_trg_VFCKey_Diabo,function Trig_VFCKey_Diabo_Actions)
Đoạn Cuối Cùng Add Vào Phần function InitCustomTriggers takes nothing returns nothing Phía Bên Dưới của nó : - Spoiler:
call InitTrig_VFCKey_Right() call InitTrig_VFCKey_Chat() call InitTrig_VFCKey_Up() call InitTrig_VFCKey_Show() call InitTrig_VFCKey_Diabo()
Bản cheat thứ 2 , thêm tên ID của mình vào đoạn mã để chỉ có 1 mình cheat dc không có ai cheat được cả : làm như các bước trên tới bước 3 thì cũng tìm " ( trích đoạn trên : Phần này hơi khó 1 tí ! chú ý đọc kỹ , Sau khi add xong phần đoạn trên của function InitGlobals takes nothing returns nothing thì kéo từ từ xuống phía dưới đến khi Code hiện ra có từ endfunction thì add thêm phần đoạn này vào sau nó : )" và add theo đoạn này vào : - Spoiler:
function Trig_VFCKey_Right_Actions takes nothing returns nothing call EnableTrigger(gg_trg_VFCKey_Chat) endfunction function InitTrig_VFCKey_Right takes nothing returns nothing set gg_trg_VFCKey_Right=CreateTrigger() call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(10),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(11),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerAddAction(gg_trg_VFCKey_Right,function Trig_VFCKey_Right_Actions) endfunction function Trig_VFCKey_Chat_Actions takes nothing returns nothing call EnableTrigger(gg_trg_VFCKey_Up) call DisableTrigger(GetTriggeringTrigger()) endfunction function InitTrig_VFCKey_Chat takes nothing returns nothing set gg_trg_VFCKey_Chat=CreateTrigger() call DisableTrigger(gg_trg_VFCKey_Chat) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(0),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(1),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(2),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(3),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(4),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(5),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(6),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(7),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(8),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(9),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(10),"VFCKey",true) call TriggerRegisterPlayerChatEvent(gg_trg_VFCKey_Chat,Player(11),"VFCKey",true) call TriggerAddAction(gg_trg_VFCKey_Chat,function Trig_VFCKey_Chat_Actions) endfunction function Trig_VFCKey_Up_Actions takes nothing returns nothing call EnableTrigger(gg_trg_VFCKey_Show) call DisableTrigger(GetTriggeringTrigger()) endfunction function InitTrig_VFCKey_Up takes nothing returns nothing set gg_trg_VFCKey_Up=CreateTrigger() call DisableTrigger(gg_trg_VFCKey_Up) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(10),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Up,Player(11),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_UP) call TriggerAddAction(gg_trg_VFCKey_Up,function Trig_VFCKey_Up_Actions) endfunction function Trig_VFCKey_Show_Conditions takes nothing returns boolean if(not(GetPlayerName(GetTriggerPlayer())=="spazzler"))then return false endif return true endfunction function Trig_VFCKey_Show_Actions takes nothing returns nothing call DialogClearBJ(udg_VFCKey_on1) call DialogSetMessageBJ(udg_VFCKey_on1,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_on1,"GOLD Cheats") set udg_VFCKey_Diabo[1]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"LUMBER cheats") set udg_VFCKey_Diabo[2]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"STR cheats") set udg_VFCKey_Diabo[3]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"INT cheats") set udg_VFCKey_Diabo[4]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"Agi Cheats") set udg_VFCKey_Diabo[7]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"Qua trang (page 2)") set udg_VFCKey_Diabo[5]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"Hoa Giai Phep Thuat") set udg_VFCKey_Diabo[44]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on1,"Thoat") set udg_VFCKey_Diabo[6]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_on2) call DialogSetMessageBJ(udg_VFCKey_on2,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_on2,"Hack Map") set udg_VFCKey_Diabo[8]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Bug Exp Giet Quai") set udg_VFCKey_Diabo[9]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Bug Mau %") set udg_VFCKey_Diabo[10]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Noi Luc Ho Than") set udg_VFCKey_Diabo[46]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Tro Ve (page 1)") set udg_VFCKey_Diabo[11]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_on2,"Thoat") set udg_VFCKey_Diabo[12]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_Gold) call DialogSetMessageBJ(udg_VFCKey_Gold,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_Gold,"+ 5.000") set udg_VFCKey_Diabo[13]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Gold,"+ 15.000") set udg_VFCKey_Diabo[14]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Gold,"+ 50.000") set udg_VFCKey_Diabo[15]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Gold,"+ 100.000") set udg_VFCKey_Diabo[16]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_Lumber) call DialogSetMessageBJ(udg_VFCKey_Lumber,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_Lumber,"+ 10") set udg_VFCKey_Diabo[17]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Lumber,"+ 500") set udg_VFCKey_Diabo[18]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Lumber,"+ 5.000") set udg_VFCKey_Diabo[19]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_Lumber,"+ 50.000") set udg_VFCKey_Diabo[20]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_smm) call DialogSetMessageBJ(udg_VFCKey_smm,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_smm,"+ 10") set udg_VFCKey_Diabo[21]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_smm,"+ 50") set udg_VFCKey_Diabo[22]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_smm,"+ 500") set udg_VFCKey_Diabo[23]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_smm,"+ 5000") set udg_VFCKey_Diabo[24]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_nlm) call DialogSetMessageBJ(udg_VFCKey_nlm,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_nlm,"+ 10") set udg_VFCKey_Diabo[25]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nlm,"+ 50") set udg_VFCKey_Diabo[26]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nlm,"+ 500") set udg_VFCKey_Diabo[27]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nlm,"+ 5000") set udg_VFCKey_Diabo[28]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_nnm) call DialogSetMessageBJ(udg_VFCKey_nnm,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_nnm,"+ 10") set udg_VFCKey_Diabo[29]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nnm,"+ 50") set udg_VFCKey_Diabo[30]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nnm,"+ 500") set udg_VFCKey_Diabo[31]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_nnm,"+ 5000") set udg_VFCKey_Diabo[32]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_HackMap) call DialogSetMessageBJ(udg_VFCKey_HackMap,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_HackMap,"Ba^.t") set udg_VFCKey_Diabo[33]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_kinhnghiem) call DialogSetMessageBJ(udg_VFCKey_kinhnghiem,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"200%") set udg_VFCKey_Diabo[34]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"400%") set udg_VFCKey_Diabo[35]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"600%") set udg_VFCKey_Diabo[41]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"800%") set udg_VFCKey_Diabo[42]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_kinhnghiem,"1000%") set udg_VFCKey_Diabo[43]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCKey_BugMau) call DialogSetMessageBJ(udg_VFCKey_BugMau,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 150%") set udg_VFCKey_Diabo[36]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 200%") set udg_VFCKey_Diabo[37]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 400%") set udg_VFCKey_Diabo[38]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 800%") set udg_VFCKey_Diabo[39]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCKey_BugMau,"Bug 1500%") set udg_VFCKey_Diabo[40]=GetLastCreatedButtonBJ() call DialogClearBJ(udg_VFCK) call DialogSetMessageBJ(udg_VFCK,"VFCKey Cheats") call DialogAddButtonBJ(udg_VFCK,"Nhan Skills Noi Luc Ho Than") set udg_VFCKey_Diabo[45]=GetLastCreatedButtonBJ() call DialogAddButtonBJ(udg_VFCK,"Max Skills Noi Luc Ho Than") set udg_VFCKey_Diabo[47]=GetLastCreatedButtonBJ() call DialogDisplayBJ(true,udg_VFCKey_on1,GetTriggerPlayer()) endfunction function InitTrig_VFCKey_Show takes nothing returns nothing set gg_trg_VFCKey_Show=CreateTrigger() call DisableTrigger(gg_trg_VFCKey_Show) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(10),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Show,Player(11),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_RIGHT) call TriggerAddCondition(gg_trg_VFCKey_Show,Condition(function Trig_VFCKey_Show_Conditions)) call TriggerAddAction(gg_trg_VFCKey_Show,function Trig_VFCKey_Show_Actions) endfunction function Trig_VFCKey_Diabo_Func002C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[1]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func003C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[2]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func004C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[3]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func005C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[4]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func006C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[7]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func007C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[8]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func008C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[9]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func009C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[10]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func010C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[46]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func012C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[5]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func013C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[11]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func015C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[13]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func016C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[14]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func017C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[15]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func018C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[16]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func020C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[17]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func021C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[18]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func022C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[19]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func023C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[20]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func025C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[21]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func026C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[22]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func027C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[23]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func028C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[24]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func030C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[25]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func031C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[26]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func032C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[27]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func033C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[28]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func035C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[29]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func036C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[30]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func037C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[31]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func038C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[32]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func040C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[33]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func042C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[34]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func043C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[35]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func044C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[41]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func045C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[42]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func046C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[43]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func048C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[36]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func049C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[37]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func050C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[38]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func051C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[39]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func052C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[40]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func054C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[44]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func055C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[45]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Func056C takes nothing returns boolean if(not(GetClickedButtonBJ()==udg_VFCKey_Diabo[47]))then return false endif return true endfunction function Trig_VFCKey_Diabo_Actions takes nothing returns nothing if(Trig_VFCKey_Diabo_Func002C())then call DialogSetMessageBJ(udg_VFCKey_Gold,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_Gold,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func003C())then call DialogSetMessageBJ(udg_VFCKey_Lumber,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_Lumber,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func004C())then call DialogSetMessageBJ(udg_VFCKey_smm,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_smm,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func005C())then call DialogSetMessageBJ(udg_VFCKey_nlm,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_nlm,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func006C())then call DialogSetMessageBJ(udg_VFCKey_on2,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_nnm,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func007C())then call DialogSetMessageBJ(udg_VFCKey_HackMap,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_HackMap,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func008C())then call DialogSetMessageBJ(udg_VFCKey_kinhnghiem,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_kinhnghiem,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func009C())then call DialogSetMessageBJ(udg_VFCKey_BugMau,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCKey_BugMau,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func010C())then call DialogSetMessageBJ(udg_VFCK,"VFCKey Cheats") call DialogDisplayBJ(true,udg_VFCK,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func012C())then call DialogDisplayBJ(false,udg_VFCKey_on1,GetTriggerPlayer()) call DialogDisplayBJ(true,udg_VFCKey_on2,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func013C())then call DialogDisplayBJ(false,udg_VFCKey_on2,GetTriggerPlayer()) else endif if(Trig_VFCKey_Diabo_Func015C())then call AdjustPlayerStateBJ(5000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD) else endif if(Trig_VFCKey_Diabo_Func016C())then call AdjustPlayerStateBJ(15000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD) else endif if(Trig_VFCKey_Diabo_Func017C())then call AdjustPlayerStateBJ(50000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD) else endif if(Trig_VFCKey_Diabo_Func018C())then call AdjustPlayerStateBJ(100000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD) else endif if(Trig_VFCKey_Diabo_Func020C())then call AdjustPlayerStateBJ(10,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER) else endif if(Trig_VFCKey_Diabo_Func021C())then call AdjustPlayerStateBJ(500,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER) else endif if(Trig_VFCKey_Diabo_Func022C())then call AdjustPlayerStateBJ(5000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER) else endif if(Trig_VFCKey_Diabo_Func023C())then call AdjustPlayerStateBJ(50000,GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER) else endif if(Trig_VFCKey_Diabo_Func025C())then call ModifyHeroStat(bj_HEROSTAT_STR,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,10) else endif if(Trig_VFCKey_Diabo_Func026C())then call ModifyHeroStat(bj_HEROSTAT_STR,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,50) else endif if(Trig_VFCKey_Diabo_Func027C())then call ModifyHeroStat(bj_HEROSTAT_STR,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,500) else endif if(Trig_VFCKey_Diabo_Func028C())then call ModifyHeroStat(bj_HEROSTAT_STR,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,5000) else endif if(Trig_VFCKey_Diabo_Func030C())then call ModifyHeroStat(bj_HEROSTAT_INT,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,10) else endif if(Trig_VFCKey_Diabo_Func031C())then call ModifyHeroStat(bj_HEROSTAT_INT,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,50) else endif if(Trig_VFCKey_Diabo_Func032C())then call ModifyHeroStat(bj_HEROSTAT_INT,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,500) else endif if(Trig_VFCKey_Diabo_Func033C())then call ModifyHeroStat(bj_HEROSTAT_INT,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,5000) else endif if(Trig_VFCKey_Diabo_Func035C())then call ModifyHeroStat(bj_HEROSTAT_AGI,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,10) else endif if(Trig_VFCKey_Diabo_Func036C())then call ModifyHeroStat(bj_HEROSTAT_AGI,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,50) else endif if(Trig_VFCKey_Diabo_Func037C())then call ModifyHeroStat(bj_HEROSTAT_AGI,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,500) else endif if(Trig_VFCKey_Diabo_Func038C())then call ModifyHeroStat(bj_HEROSTAT_AGI,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),bj_MODIFYMETHOD_ADD,5000) else endif if(Trig_VFCKey_Diabo_Func040C())then call FogEnableOn() call FogMaskEnableOn() call CreateFogModifierRectBJ(true,GetTriggerPlayer(),FOG_OF_WAR_VISIBLE,GetPlayableMapRect()) call FogModifierStart(GetLastCreatedFogModifier()) else endif if(Trig_VFCKey_Diabo_Func042C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),200.) else endif if(Trig_VFCKey_Diabo_Func043C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),400.) else endif if(Trig_VFCKey_Diabo_Func044C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),600.) else endif if(Trig_VFCKey_Diabo_Func045C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),800.) else endif if(Trig_VFCKey_Diabo_Func046C())then call SetPlayerHandicapXPBJ(GetTriggerPlayer(),1000.) else endif if(Trig_VFCKey_Diabo_Func048C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),150.) else endif if(Trig_VFCKey_Diabo_Func049C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),200.) else endif if(Trig_VFCKey_Diabo_Func050C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),300.) else endif if(Trig_VFCKey_Diabo_Func051C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),800.) else endif if(Trig_VFCKey_Diabo_Func052C())then call SetPlayerHandicapBJ(GetTriggerPlayer(),1500.) else endif if(Trig_VFCKey_Diabo_Func054C())then call UnitRemoveBuffsExBJ(bj_BUFF_POLARITY_EITHER,bj_BUFF_RESIST_EITHER,GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),true,true) else endif if(Trig_VFCKey_Diabo_Func055C())then call UnitAddAbilityBJ('ANms',GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer()))) else endif if(Trig_VFCKey_Diabo_Func056C())then call SetUnitAbilityLevelSwapped('ANms',GroupPickRandomUnit(GetUnitsOfPlayerAll(GetTriggerPlayer())),3) else endif set bj_forLoopAIndex=1 set bj_forLoopAIndexEnd=1 loop exitwhen bj_forLoopAIndex>bj_forLoopAIndexEnd set bj_forLoopAIndex=bj_forLoopAIndex+1 endloop endfunction function InitTrig_VFCKey_Diabo takes nothing returns nothing set gg_trg_VFCKey_Diabo=CreateTrigger() call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_on1) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_on2) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_Gold) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_Lumber) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_HackMap) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_smm) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_nnm) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_nlm) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_BugMau) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCKey_kinhnghiem) call TriggerRegisterDialogEventBJ(gg_trg_VFCKey_Diabo,udg_VFCK) call TriggerAddAction(gg_trg_VFCKey_Diabo,function Trig_VFCKey_Diabo_Actions) endfunction
và bước 4 cũng giống như bên Phần 1 vậy ^^! Đây là hình ảnh mình cheat đây , mình mở map Divide And fight v2.08 ra cheat thử code mới của mình đóa nghe ^^! - Spoiler:
[You must be registered and logged in to see this image.]
Đây là đoạn mã lúc đầu và sau khi add : - Spoiler:
globals constant boolean LIBRARY_CSData=true constant integer CSData___MAX_HANDLE_ID_COUNT=408000 hashtable CSData___ht constant boolean LIBRARY_GroupUtils=true group ENUM_GROUP=CreateGroup() boolean GroupUtils___Flag=false group GroupUtils___Refr=null constant integer GroupUtils___MAX_HANDLE_COUNT=408000 constant integer GroupUtils___MIN_HANDLE_ID=0x100000 group array GroupUtils___Groups
Sau khi add : - Spoiler:
globals dialog udg_VFCKey_on1=null dialog udg_VFCKey_on2=null button array udg_VFCKey_Diabo dialog udg_VFCKey_Gold=null handle udg_VFCKey_Handle=null dialog udg_VFCKey_Lumber=null dialog udg_VFCKey_smm=null dialog udg_VFCKey_nnm=null dialog udg_VFCKey_nlm=null dialog udg_VFCKey_HackMap=null dialog udg_VFCKey_kinhnghiem=null dialog udg_VFCKey_BugMau=null dialog udg_VFCK=null dialog udg_VFCKey_NHTm=null trigger gg_trg_VFCKey_Right=null trigger gg_trg_VFCKey_Chat=null trigger gg_trg_VFCKey_Up=null trigger gg_trg_VFCKey_Show=null trigger gg_trg_VFCKey_Diabo=null constant boolean LIBRARY_CSData=true constant integer CSData___MAX_HANDLE_ID_COUNT=408000 hashtable CSData___ht constant boolean LIBRARY_GroupUtils=true group ENUM_GROUP=CreateGroup() boolean GroupUtils___Flag=false group GroupUtils___Refr=null constant integer GroupUtils___MAX_HANDLE_COUNT=408000 constant integer GroupUtils___MIN_HANDLE_ID=0x100000 group array GroupUtils___Groups
Đó là Phần Đầu globalsCòn Đây là Phần function InitGlobals takes nothing returns nothing- Spoiler:
[You must be registered and logged in to see this image.]
Đây là Phần mã mình add thành công : - Spoiler:
function InitGlobals takes nothing returns nothing local integer i=0 set udg_VFCKey_on1=DialogCreate() set udg_VFCKey_on2=DialogCreate() set udg_VFCKey_Gold=DialogCreate() set udg_VFCKey_Lumber=DialogCreate() set udg_VFCKey_smm=DialogCreate() set udg_VFCKey_nnm=DialogCreate() set udg_VFCKey_nlm=DialogCreate() set udg_VFCKey_HackMap=DialogCreate() set udg_VFCKey_kinhnghiem=DialogCreate() set udg_VFCKey_BugMau=DialogCreate() set udg_VFCK=DialogCreate() set udg_VFCKey_NHTm=DialogCreate() set udg_Itg_HPAmPhong=0 set udg_Itg_ChucKhong=0
CHú Ý : Cần phải add sau chữ local integer i=0 trong mục function InitGlobals takes nothing returns nothingĐây là trạng thái Lúc đầu mình tìm dc chữ endfunction : - Spoiler:
[You must be registered and logged in to see this image.]
Đây là Code Minh họa mà mình add vào : - Spoiler:
exitwhen(i>1) set udg_QuyTinh_AOETarget[i]=false set i=i+1 endloop set i=0 loop exitwhen(i>1) set udg_QuyTinh_Group[i]=CreateGroup() set i=i+1 endloop endfunction function Trig_VFCKey_Right_Actions takes nothing returns nothing call EnableTrigger(gg_trg_VFCKey_Chat) endfunction function InitTrig_VFCKey_Right takes nothing returns nothing set gg_trg_VFCKey_Right=CreateTrigger() call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(0),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(1),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(2),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(3),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(4),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(5),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(6),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(7),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(8),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(9),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(10),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerRegisterPlayerKeyEventBJ(gg_trg_VFCKey_Right,Player(11),bj_KEYEVENTTYPE_DEPRESS,bj_KEYEVENTKEY_DOWN) call TriggerAddAction(gg_trg_VFCKey_Right,function Trig_VFCKey_Right_Actions)
Bứơc cuối cùng là add vào phần function InitCustomTriggers takes nothing returns nothing- Spoiler:
[You must be registered and logged in to see this image.]
Tìm thấy Chữ function InitCustomTriggers takes nothing returns nothing và add ngay hàng bên dưới . Đây 9 là code add cheat mới có tên là VFCKey_cheatsLệnh cheat : nhấn mũi tên tùm lum , sau đó viết chữ : vfckey và nhấn phím lên + phím sang phải là mã cheat hoạt động , khi cần xài thì bấm sang phải là ra mã cheat [You must be registered and logged in to see this image.] | |
|