Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Memory Reading

$
0
0

hey all, to who ever may be able to answer this

Im wondering how do I go about using Memoryread on an address that constantly changes and I am needing to read that change to set which if, elseif its going to use depending on result, a little example would be nice please, because at the moment, im having to place $READ_Me = _MemoryRead($Address_Me, $vPID) before my if's like example below

 

func

while

    $READ_Me = _MemoryRead($Address_Me, $vPID)

    if $read_me = 4 then

        do this

    elseif $read_me = 5 then

       do this

    endif

    do

      sleep(1000)

       $READ_Me = _MemoryRead($Address_Me, $vPID)

     until  $READ_Me = 7

     does

     somethings

     that's not in a if then.....

      $READ_Me = _MemoryRead($Address_Me, $vPID)

     if $READ_me = 1 then

        do this

     endif

wend

endfunc

 

 

 

please help, I think it gets stuck or confuses itself or something, am I not declaring it right?

I declare the address ME as a global at top of function, I suppose that's not correct either lol

 

 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>