Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #cs ----------------------------------------------------------------------------
- AutoIt Version: 3.3.6.1
- Author: myName
- Script Function:
- Template AutoIt script.
- #ce ----------------------------------------------------------------------------
- ; Script Start - Add your code below here
- #include <ButtonConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <WindowsConstants.au3>
- #include <nomadmemory.au3>
- global $pid = ProcessExists("cabalmain.exe")
- global $Baza = =_MemoryRead(0x00842070,$pid,"dword")
- global $data = ("10")
- global $data1 = ("2")
- global $data2 = ("6")
- $typ = ("byte")
- $openmem = _MEMORYOPEN($pid)
- #Region ### START Koda GUI section ### Form=C:\Program Files\AutoIt3\SciTE\Koda\Forms\Form2.kxf
- $Form2 = GUICreate("MapHack 0.1", 194, 98, 360, 317)
- $Button1 = GUICtrlCreateButton("LS+DS", 8, 16, 75, 25, $WS_GROUP)
- $Button2 = GUICtrlCreateButton("PF+DS", 104, 16, 75, 25, $WS_GROUP)
- $Button3 = GUICtrlCreateButton("Exit", 64, 56, 75, 25, $WS_GROUP)
- GUISetState(@SW_SHOW)
- #EndRegion ### END Koda GUI section ###
- While 1
- $nMsg = GUIGetMsg()
- Switch $nMsg
- Case $GUI_EVENT_CLOSE
- Exit
- Case $Button1
- LSiDS($pid, $data2, $data1, $typ)
- Case $Button2
- PFiDS($pid, $data1, $data, $typ)
- Case $Button3
- exit
- EndSwitch
- WEnd
- Func LSiDS($pid, $data1, $data2, $typ)
- while 2
- $openmem = _MemoryOpen($pid)
- _MemoryWrite(0x00C2C5A8, $openmem, $data2)
- _MemoryWrite(0x00C37FB4, $openmem, $data1)
- _MemoryClose($openmem)
- sleep(50)
- wend
- EndFunc ;==> Created by CE table converter!
- Func PFiDS($pid, $data, $data1, $typ)
- $openmem = _MemoryOpen($pid)
- _MemoryWrite(0x00C37FB4, $openmem, $data1)
- _MemoryWrite(0x00C2C5A8, $openmem, $data)
- _MemoryClose($openmem)
- sleep(50)
- EndFunc ;==> Created by CE table converter!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement