Working on Fish Lock and Durability Hack

03/22/2015 23:57 blende#1
I have successfully used both of these hacks using CE, but am trying to automate the process.
I only currently know autoit so that's what im using...
Code:
#include <KDMemory.au3>
#AutoIt3Wrapper_UseX64=n
#RequireAdmin

Global $Offset[1] = [0xD0]
HotKeySet ( "{F10}", "Start")
HotKeySet ( "{F11}", "Stop")

$pid = WinGetProcess ("Aura Kingdom Online")
$MemoryOpen = _KDMemory_OpenProcess($pid)
$Address = _KDMemory_GetModuleBaseAddress($MemoryOpen, "game.bin") + 0x749B49D0
MsgBox(0,"Msg", "Memory Opened")
While 1
   Sleep(100)
WEnd

Func Start()
While True
	  If Not @error Then
			$Value = _KDMemory_ReadProcessMemory($MemoryOpen, $Address, "DWORD", $Offset)
			   If @error Then
				  ToolTip("Can't read memory! @error: " & @error & ", @extended: " & @extended, 0, 0)
			   Else
				  ToolTip("Address: " & $memoryData[0] & @CRLF & "Value: " & $memoryData[1], 0, 0)
			   EndIf
	  EndIf
WEnd
EndFunc
_MemoryClose($MemoryOpen)

Func Stop()
Exit
EndFunc
This is my code so far, but I get error:26 because I think ReadProcessMemory isnt working. I've been stuck on this for a day or so and would be very happy if someone could point me in the right direction. Thanks!
03/23/2015 03:44 Oriya9#2
Try calling OpenProcess (_KDMemory_OpenProcess) before you choose a character.
03/23/2015 04:08 blende#3
I've been doing it like that, same error. The process I go through is: open the client and get to server selection screen, run the compiled program (had other issues with aura and .au3 scripts runnning), wait for memoryopened msgbox, get into game and then press F10. Shows up with same error :S If you could PM me your skype maybe we could talk about it on there?
03/24/2015 20:04 Professor Linebeck#4
Did you found a solution?
03/24/2015 22:08 blende#5
not yet :S
03/28/2015 08:26 warrenclark_024#6
@blende can you convert it in C#,VB.net or C++ i dont know autoit :D