Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #RequireAdmin
- #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
- #AutoIt3Wrapper_Compression=4
- #AutoIt3Wrapper_UseUpx=y
- #AutoIt3Wrapper_UPX_Parameters=--best --lzma
- #AutoIt3Wrapper_Compile_Both=y
- #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
- #EndRegion
- #include <MsgBoxConstants.au3>
- #include <NomadMemoryPSsix.au3>
- #include <ButtonConstants.au3>
- #include <ComboConstants.au3>
- #include <EditConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <SliderConstants.au3>
- #include <StaticConstants.au3>
- #include <TabConstants.au3>
- #include <WindowsConstants.au3>
- #include <Color.au3>
- #include <GuiEdit.au3>
- #include <ReFuse.au3>
- #include <offset.au3>
- Opt("MouseCoordMode", 2)
- Opt("PixelCoordMode", 2)
- Opt("CaretCoordMode", 2)
- HotKeySet("{F5}", "Button1Click")
- HotKeySet("{F6}", "KillGateButton")
- Global $PSsix = 0, $GameHD = 0
- Global $pPause = False
- Global $memopen ; open Process
- Global $MainAddress ; Final Address For more offset
- Global $BmValue
- Global $SpValue
- Global $LvValue
- Global $JobValue
- Global $comboHack = 0
- Global $DashFB
- Global $DashFA
- Global $DashFS
- Global $DashWA
- Global $DashWI
- Global $DashBL
- Global $KillGateHack = 0
- Global $NoDelayHack = 0
- Global $DashNCDHack = 0
- Global $BmNCDHack = 0
- Global $AoeBm2Hack = 0
- Global $DPHack = 0
- Global $WallHackHack = 0
- Global $ZoomHackHack = 0
- Global $DmgHack = 0
- Global $AoeHack = 0
- Global $MapDefaultValue
- Global $DashFB
- Global $DashFA
- Global $DashFS
- Global $DashWA
- Global $DashWI
- Global $DashBL
- Global $FindNDL ='yes'
- Global $PidSpace
- Global $ProcessName
- Global $TiTle
- $ProcessName = InputBox("Step 1 ", "Enter Process", "CabalMain.exe", "",-1, -1, default, default);
- If @error Then
- Exit
- EndIf
- $TiTle = InputBox("Step 2", "Enter TiTle", "CABAL NV", "",-1, -1, default, default);
- If @error Then
- Exit
- EndIf
- Opt("GUIOnEventMode", 1)
- #Region ### START Koda GUI section ### Form=d:\autoit\game\bot online\cabal2\botcabal2.kxf
- $Form1_1 = GUICreate("twitch", 194, 250, -1, -1)
- GUISetOnEvent($GUI_EVENT_CLOSE, "Form1_1Close")
- GUISetOnEvent($GUI_EVENT_MINIMIZE, "Form1_1Minimize")
- GUISetOnEvent($GUI_EVENT_MAXIMIZE, "Form1_1Maximize")
- GUISetOnEvent($GUI_EVENT_RESTORE, "Form1_1Restore")
- $Edit1 = GUICtrlCreateEdit("", 8, 8, 100, 30, BitOR($ES_AUTOVSCROLL, $ES_AUTOHSCROLL, $ES_WANTRETURN))
- GUICtrlSetData(-1, "เธซเนเธฒเธกเธเธฒเธข")
- GUICtrlSetOnEvent(-1, "Edit1Change")
- $Button1 = GUICtrlCreateButton("Start BOT", 113, 8, 75, 25)
- GUICtrlSetOnEvent(-1, "Button1Click")
- $Button2 = GUICtrlCreateButton("DMG BOT", 113, 40, 75, 25)
- GUICtrlSetOnEvent(-1, "Button2Click")
- $Tab1 = GUICtrlCreateTab(8, 50, 180, 185)
- GUICtrlSetOnEvent(-1, "Tab1Change")
- $TabSheet1 = GUICtrlCreateTabItem("Page 1")
- $Button4 = GUICtrlCreateButton("AOE | Range", 20, 80, 75, 25)
- GUICtrlSetOnEvent(-1, "AoeButton")
- $aoeValue = GUICtrlCreateCombo("0", 100, 82, 35, 25, BitOR($CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL))
- GUICtrlSetData(-1, "10|20|50|100")
- $rangeValue = GUICtrlCreateCombo("0", 140, 82, 35, 25, BitOR($CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL))
- GUICtrlSetData(-1, "10|20|50|100")
- $Tab2 = GUICtrlCreateTab(8, 50, 180, 185)
- GUICtrlSetOnEvent(-1, "Tab1Change")
- $TabSheet2 = GUICtrlCreateTabItem("Page 2")
- $comboButton = GUICtrlCreateButton("ComboHack", 20, 80, 75, 25)
- GUICtrlSetOnEvent(-1, "comboButton")
- $KillGateButton = GUICtrlCreateButton("killGate", 20, 110, 75, 25)
- GUICtrlSetOnEvent(-1, "killGateButton")
- $NoDelayButton = GUICtrlCreateButton("NoDelay", 20, 140, 75, 25)
- GUICtrlSetOnEvent(-1, "NoDelayButton")
- $DashNCDButton = GUICtrlCreateButton("Dash NCD", 20, 170, 75, 25)
- GUICtrlSetOnEvent(-1, "DashNCDButton")
- ReadDashValue()
- $BmNCDButton = GUICtrlCreateButton("BM NCD", 20, 200, 75, 25)
- GUICtrlSetOnEvent(-1, "BmNCDButton")
- $AoeBm2Buttonn = GUICtrlCreateButton("AOE BM2", 100, 80, 75, 25)
- GUICtrlSetOnEvent(-1, "AoeBm2Button")
- $DPButton = GUICtrlCreateButton("DP", 100, 110, 75, 25)
- GUICtrlSetOnEvent(-1, "DPButton")
- $WallHackButton = GUICtrlCreateButton("WallHack", 100, 140, 75, 25)
- GUICtrlSetOnEvent(-1, "WallHackButton")
- $ZoomHackButton = GUICtrlCreateButton("ZoomHack", 100, 170, 75, 25)
- GUICtrlSetOnEvent(-1, "ZoomHackButton")
- $DmgHackButton = GUICtrlCreateButton("FB Dmg", 100, 200, 75, 25)
- GUICtrlSetOnEvent(-1, "DmgHackButton")
- GUISetState(@SW_SHOW)
- #EndRegion ### END Koda GUI section ###
- WinSetOnTop($Form1_1, "", 1)
- $memopen = OpenProcess($ProcessName)
- While 1
- Sleep(100)
- Select
- Case $PSsix = 1
- $PSsix = 1
- Case $PSsix = 3
- $PSsix = 0
- ShellExecute("https://www.facebook.com/TheLectures/")
- EndSelect
- start()
- WEnd
- Func start()
- ReadStatus()
- ReadDashValue()
- HackCheck()
- Sleep(10)
- If _PSsixLoadH($TiTle) and $PSsix = 1 Then
- WinActivate($GameHD)
- selectMoster()
- atk()
- EndIf
- EndFunc
- Func ReadDashValue()
- If $FindNDL ='yes' Then
- $DashFB = _MemoryPointerRead($MainAddress,$memopen,$DashFBOffset)
- $DashFA = _MemoryPointerRead($MainAddress,$memopen,$DashFAOffset)
- $DashFS = _MemoryPointerRead($MainAddress,$memopen,$DashFSOffset)
- $DashWA = _MemoryPointerRead($MainAddress,$memopen,$DashWAOffset)
- $DashWI = _MemoryPointerRead($MainAddress,$memopen,$DashWIOffset)
- $DashBL = _MemoryPointerRead($MainAddress,$memopen,$DashBLOffset)
- EndIf
- EndFunc
- Func ReadStatus()
- $BmValue = _MemoryPointerRead($MainAddress,$memopen,$BmOffset)
- $SpValue = _MemoryPointerRead($MainAddress,$memopen,$SpOffset)
- $LvValue = _MemoryPointerRead($MainAddress,$memopen,$LvOffset)
- $JobValue = _MemoryPointerRead($MainAddress,$memopen,$AoeBMOffset)
- ;MsgBox(4096, "BM",$BmValue[1])
- EndFunc
- Func HackCheck()
- If $NoDelayHack = 1 Then
- _MemoryPointerWrite($MainAddress,$memopen,$NDLOffset,'1629697')
- EndIf
- If $DashNCDHack = 1 Then
- _MemoryPointerWrite($MainAddress,$memopen,$DashFBOffset,$DashFB[1])
- ;_MemoryPointerWrite($MainAddress,$memopen,$DashFAOffset,$DashFA[1])
- ;_MemoryPointerWrite($MainAddress,$memopen,$DashFSOffset,$DashFS[1])
- ;_MemoryPointerWrite($MainAddress,$memopen,$DashWAOffset,$DashWA[1])
- ;_MemoryPointerWrite($MainAddress,$memopen,$DashWIOffset,$DashWI[1])
- ;z18_MemoryPointerWrite($MainAddress,$memopen,$DashBLOffset,$DashBL[1])
- EndIf
- If $BmNCDHack = 1 Then
- _MemoryPointerWrite($MainAddress,$memopen,$AuraOffset,'1')
- _MemoryPointerWrite($MainAddress,$memopen,$Bm1Offset,'1')
- _MemoryPointerWrite($MainAddress,$memopen,$Bm2Offset,'1')
- _MemoryPointerWrite($MainAddress,$memopen,$Bm3Offset,'1')
- EndIf
- If $AoeBm2Hack = 1 And $BmValue[1] = 34 or $BmValue[1] = 42 Then
- _MemoryPointerWrite($MainAddress,$memopen,$AoeBMOffset,'1')
- ElseIf $AoeBm2Hack = 1 Then
- _MemoryPointerWrite($MainAddress,$memopen,$AoeBMOffset,'4')
- EndIf
- If $DmgHack = 1 Then
- _MemoryPointerWrite($MainAddress,$memopen,$BmOffset,'0')
- EndIf
- If $comboHack = 1 Then
- _MemoryPointerWrite($MainAddress,$memopen,$ComboOffset,'1')
- _MemoryPointerWrite($MainAddress,$memopen,$PComboOffset,'0')
- EndIf
- EndFunc
- Func AutoSP()
- If PixelGetColor(192,56) <> 0xFFB663 and PixelGetColor(468,862) == 0x9228BA Then
- Send ("2")
- Sleep(3000)
- EndIf
- EndFunc
- Func selectMoster()
- If PixelGetColor(576,23) <> 0xFFC849 Then
- Send ("z")
- Sleep(10)
- EndIf
- EndFunc
- Func atk()
- Send ("1")
- Send ("2")
- Send ("3")
- Sleep(10)
- EndFunc
- Func auraUse()
- if PixelGetColor(220,94) <> 0x79E6FF and PixelGetColor(192,56) == 0xFFB663 Then
- Send('9')
- EndIf
- if PixelGetColor(191,76) <> 0xFFFFFF and PixelGetColor(220,94) == 0x79E6FF Then
- Send('0')
- EndIf
- Sleep(100)
- EndFunc
- Func TogglePause()
- $pPause = Not $pPause
- If $pPause Then
- ControlSetText($Form1_1, "", $Button2, "เธ—เธณเธเธฒเธเธ•เนเธญ")
- GUICtrlSetData($Edit1, StringFormat("เธซเธขเธธเธ”เธ—เธณเธเธฒเธเธเธฑเนเธงเธเธฃเธฒเธง \r\nเธเธฐเธเธฅเธฑเธเธกเธฒเธ—เธณเธเธฒเธ เน€เธกเธทเนเธญเธเธธเธ“เธเธฅเธดเธเธซเธฃเธทเธญเธเธ”เธเธธเนเธกเธเนเธณเธญเธตเธเธเธฃเธฑเนเธ \r\n "))
- Else
- ControlSetText($Form1_1, "", $Button2, "เธซเธขเธธเธ”เธเธฑเนเธงเธเธฃเธฒเธง")
- GUICtrlSetData($Edit1, StringFormat("เธเธฅเธฑเธเธกเธฒเธ—เธณเธเธฒเธเธ•เธฒเธกเธเธเธ•เธด \r\n ______________"))
- EndIf
- EndFunc ;==>TogglePause
- Func Button1Click()
- if $PSsix = 0 Then
- $PSsix = 1;
- $PidSpace = Run("AutoSpace.exe")
- GUICtrlSetData($Edit1, StringFormat("Bot = ON\r\n"))
- Else
- $PSsix = 0;
- ProcessClose($PidSpace)
- GUICtrlSetData($Edit1, StringFormat("Bot = OFF\r\n"))
- EndIf
- EndFunc ;==>Button1Click
- Func Button2Click()
- Run("DMGBOT.exe")
- GUICtrlSetData($Edit1, StringFormat(" FB DMG Bot = ON\r\n"))
- EndFunc ;==>Button2Click
- Func Button3Click()
- WinActivate($GameHD)
- $color = Hex(PixelGetColor( 1899, 228), 6)
- MsgBox(4096, "BM",$color)
- EndFunc ;==>Button3Click
- Func AoeButton()
- Local $aoeRead
- $aoeRead = GUICtrlRead($aoeValue)
- Local $rangeRead
- $rangeRead = GUICtrlRead($rangeValue)
- if $AoeHack = 0 And $aoeRead <> 0 or $rangeRead <> 0 Then
- $AoeHack = 1;
- _MemoryWrite($GmAddress , $memopen, "2")
- _MemoryWrite($AoeAddress , $memopen, $aoeRead)
- _MemoryWrite($AoeAllSkillAddress1 , $memopen, "485163008 ")
- _MemoryWrite($AoeAllSkillAddress2 , $memopen, "485163008 ")
- _MemoryWrite($RangeAddress , $memopen,$rangeRead)
- GUICtrlSetData($Edit1, StringFormat(" Aoe / Range = ON \r\n"))
- Else
- $AoeHack = 0;
- _MemoryWrite($GmAddress , $memopen, "0")
- _MemoryWrite($AoeAddress , $memopen, "0")
- _MemoryWrite($RangeAddress , $memopen, "0 ")
- GUICtrlSetData($Edit1, StringFormat(" Aoe / Range = OFF \r\n"))
- EndIf
- EndFunc
- Func comboButton()
- if $comboHack = 0 Then
- $comboHack = 1;
- GUICtrlSetData($Edit1, StringFormat(" ComboHack = On \r\n"))
- Else
- $comboHack = 0;
- GUICtrlSetData($Edit1, StringFormat(" ComboHack = off \r\n"))
- EndIf
- EndFunc
- Func KillGateButton()
- if $KillGateHack = 0 Then
- $KillGateHack = 1;
- Else
- $KillGateHack = 0;
- EndIf
- If $KillGateHack = 1 Then
- $MapDefaultValue = _MemoryPointerRead($MainAddress,$memopen,$MapOffset)
- _MemoryPointerWrite($MainAddress,$memopen,$MapOffset,'1')
- GUICtrlSetData($Edit1, StringFormat(" KillGate = On \r\n DefaultMap =" & $MapDefaultValue[1] &" \r\n "))
- Else
- _MemoryPointerWrite($MainAddress,$memopen,$MapOffset,$MapDefaultValue[1])
- GUICtrlSetData($Edit1, StringFormat(" KillGate = off \r\n "))
- EndIf
- EndFunc
- Func NoDelayButton()
- if $NoDelayHack = 0 Then
- $NoDelayHack = 1;
- GUICtrlSetData($Edit1, StringFormat(" Nodelay = ON \r\n"))
- Else
- $NoDelayHack = 0;
- GUICtrlSetData($Edit1, StringFormat(" Nodelay = OFF \r\n"))
- EndIf
- EndFunc
- Func DashNCDButton()
- if $DashNCDHack = 0 Then
- $DashNCDHack = 1;
- GUICtrlSetData($Edit1, StringFormat(" DashNCD = ON \r\n"))
- $FindNDL ='no'
- Else
- $DashNCDHack = 0;
- $FindNDL ='yes'
- GUICtrlSetData($Edit1, StringFormat(" DashNCD = OFF \r\n"))
- EndIf
- EndFunc
- Func BmNCDButton()
- if $BmNCDHack = 0 Then
- $BmNCDHack = 1;
- GUICtrlSetData($Edit1, StringFormat(" BmNCD = ON \r\n"))
- Else
- $BmNCDHack = 0;
- GUICtrlSetData($Edit1, StringFormat(" BmNCD = OFF \r\n"))
- EndIf
- EndFunc
- Func AoeBm2Button()
- if $AoeBm2Hack = 0 And $JobValue[1] = 4 Then
- $AoeBm2Hack = 1;
- GUICtrlSetData($Edit1, StringFormat(" AoeBm2 FA only = ON \r\n"))
- Else
- $AoeBm2Hack = 0;
- GUICtrlSetData($Edit1, StringFormat(" AoeBm2 FA only = OFF \r\n"))
- EndIf
- EndFunc
- Func DPButton()
- _MemoryPointerWrite($MainAddress,$memopen,$MapOffset,'57')
- GUICtrlSetData($Edit1, StringFormat(" DP HACK = ON \r\n"))
- EndFunc
- Func WallHackButton()
- Run("7witch Wallhack v.1.0.exe")
- GUICtrlSetData($Edit1, StringFormat(" WallHackHack = OPEN \r\n"))
- EndFunc
- Func ZoomHackButton()
- if $ZoomHackHack = 0 Then
- $ZoomHackHack = 1;
- _MemoryWrite($ZoomAddress , $memopen, "4")
- GUICtrlSetData($Edit1, StringFormat(" ZoomHack = ON \r\n"))
- Else
- $ZoomHackHack = 0;
- _MemoryWrite($ZoomAddress , $memopen, "2")
- GUICtrlSetData($Edit1, StringFormat(" ZoomHack = OFF \r\n"))
- EndIf
- EndFunc
- Func DmgHackButton()
- if $DmgHack = 0 Then
- $DmgHack = 1;
- GUICtrlSetData($Edit1, StringFormat(" FB DMG Hack = ON \r\n "))
- Else
- $DmgHack = 0;
- GUICtrlSetData($Edit1, StringFormat(" FB DMG Hack = OFF \r\n "))
- EndIf
- EndFunc
- Func Checkbox10Click()
- EndFunc ;==>Checkbox10Click
- Func Checkbox11Click()
- EndFunc ;==>Checkbox11Click
- Func Checkbox1Click()
- EndFunc ;==>Checkbox1Click
- Func Combo10Change()
- EndFunc ;==>Combo10Change
- Func Combo1Change()
- MsgBox(4096,'ee','combo')
- EndFunc ;==>Combo1Change
- Func Combo2Change()
- EndFunc ;==>Combo2Change
- Func Edit1Change()
- EndFunc ;==>Edit1Change
- Func Form1_1Close()
- Exit
- EndFunc ;==>Form1_1Close
- Func Form1_1Maximize()
- EndFunc ;==>Form1_1Maximize
- Func Form1_1Minimize()
- EndFunc ;==>Form1_1Minimize
- Func Form1_1Restore()
- EndFunc ;==>Form1_1Restore
- Func Input10Change()
- EndFunc ;==>Input10Change
- Func Input11Change()
- EndFunc ;==>Label10Click
- Func Label11Click()
- EndFunc ;==>Label11Click
- Func Radio1Click()
- EndFunc ;==>Radio1Click
- Func Slider1Change()
- EndFunc ;==>Slider1Change
- Func Tab1Change()
- EndFunc ;==>Tab1Change
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement