I'm trying to read a pointer address. How do i transfer the pointer scan information to the code? I tried to use one of the results like this. Am I transfering the StaticOffset and CurHPOffset information correctly?
The first element in the offset array is always zero if you're using _MemoryPointerRead. The rest looks fine, you might need elevated rights for these commands so add #RequireAdmin.
because the function definition tells me to use Null in the first index of the array, but nothing really changed. Am i doing something wrong? This is the relevant code:
Code:
$ApplicationID=ProcessExists("Rag2.exe")
Global $CurHPOffset[4] = [Null, Dec("7C"), Dec("B0"), Dec("B0")]
$StaticOffset = 0x013F0C90
$OpenMem = _MemoryOpen($ApplicationID)
$BaseADDR = _MemoryGetBaseAddress($OpenMem, 1)
$FinalADDR = "0x" & Hex($BaseADDR + $StaticOffset)
Global $HPRead = _MemoryPointerRead($FinalADDR, $OpenMem, $CurHPOffset)
_MemoryClose($OpenMem)
If @error Then MsgBox(0,"TEST READ","ERROR: " & @error,0,"")
Okay.. the function is now returning an address. The new problem is: it's not the right address. Tried like 4 base address and offset combinations and they all return a different address.
What should i do or how can i debug this problem? I've just scanned again for these pointers and got exactly the same table. The pointers seem to be right.
Pointer Scan geht net? 07/05/2010 - General Coding - 3 Replies Ich habe versucht von einem Programm den Pointer zu finden aber bis hier hin geht ja noch alles:http://www.elitepvpers.com/forum/attachment.p hp?attachmentid=53758&stc=1&d=1278343862 dann muss ich doch die edx in das suchfeld eingeben und dann sollte ein Grüner Value komme kommt aber nicht was soll ich tuhen ?