Jump to content

read range offsets


Ritch
 Share

Recommended Posts

it would like to know if it exists a form to read one range of offsets looks at my first function as I make. e looks at oque has that to make in the second function

read 0X2AA35F68 to 0X2AA35F7C

or other metod to read this value

#include "NomadMemory.au3"
#Include <String.au3>
$Mem_Address = 0X2AA35F68
$Mem_Address2 = 0X2AA35F6A
$Mem_Address3 = 0X2AA35F6C
$Mem_Address4 = 0X2AA35F6E
$Mem_Address5 = 0X2AA35F70
$Mem_Address6 = 0X2AA35F72
$Mem_Address7 = 0X2AA35F74
$Mem_Address8 = 0X2AA35F76
$Mem_Address9 = 0X2AA35F78
$Mem_Address10 = 0X2AA35F7A
$Mem_Address11 = 0X2AA35F7C



$Process1 = ProcessExists("RAZOR.BIN")
$mem_open = _MemoryOpen($process1)
while 1
     $mem_read = _MemoryRead($Mem_Address, $mem_open, "char[11]")
     $mem_read2 = _MemoryRead($Mem_Address2, $mem_open, "char[11]")
     $mem_read3 = _MemoryRead($Mem_Address3, $mem_open, "char[11]")
     $mem_read4 = _MemoryRead($Mem_Address4, $mem_open, "char[11]")
     $mem_read5 = _MemoryRead($Mem_Address5, $mem_open, "char[11]")
     $mem_read6 = _MemoryRead($Mem_Address6, $mem_open, "char[11]")
     $mem_read7 = _MemoryRead($Mem_Address7, $mem_open, "char[11]")
     $mem_read8 = _MemoryRead($Mem_Address8, $mem_open, "char[11]")
     $mem_read9 = _MemoryRead($Mem_Address9, $mem_open, "char[11]")
     $mem_read10 = _MemoryRead($Mem_Address10, $mem_open, "char[11]")
     $mem_read11 = _MemoryRead($Mem_Address11, $mem_open, "char[11]")

$nick = $mem_read & $mem_read2 & $mem_read3 & $mem_read4 & $mem_read5 & $mem_read6 & $mem_read7 & $mem_read8 & $mem_read9 & $mem_read10 & $mem_read11



     tooltip($nick,0,0, "Nick")
     Sleep(50)
wend
_memoryclose($mem_open)

Posted Image

Posted Image

Posted Image

next case look this:

Posted Image

Posted Image

they are many offsets. somebody could say if ha to me some simpler form. this anger to grow my code very.

Link to comment
Share on other sites

I couldn't understand much of what you are trying to say. Is this what you want?

#include "NomadMemory.au3"
#Include <String.au3>

Global $Process1 = ProcessExists("RAZOR.BIN")
Global $mem_open = _MemoryOpen($process1)
Global $nick, $mem_read
While 1
    $nick = ""
    For $x = 0x2AA35F68 To 0x2AA35F7C Step 2
        $nick &= _MemoryRead($x, $mem_open, "char[11]")
    Next
    Tooltip($nick,0,0, "Nick")
    Sleep(50)
WEnd

Func OnAutoItExit
    _MemoryClose($mem_open)
EndFunc

You do know that since you are executing an infinite loop, the _MemoryClose function will never be called, right?

Edited by omikron48
Link to comment
Share on other sites

I need to catch the values of all therefore each one I file a value

in tis example.

nick this person it has 7 characters

example:

0X2AA35F68 =C

0X2AA35F6A =A

0X2AA35F6C =R

0X2AA35F6E =L

0X2AA35F70 =T

0X2AA35F72 =O

0X2AA35F74 =N

0X2AA35F76 =NULL

0X2AA35F78 =NULL

0X2AA35F7A =NULL

0X2AA35F7C =NULL

necessary to read all that are of a point to another one

Edited by Ritch
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...