Instead of repeating those pixel checks within multiple functions I placed it into one function. I can use call 'that' function when I need it instead of coding it again. Think of it as a "where are we right now" function and if we are at "this location" call this function, but before we do let's do a quick check to make sure we are really there. Okay we are there let's move to that function.
O man I am starting to sound like a robot :P
BTW we are way off topic about using autoit to read a pointer>pointer>pointer>pointer>VALUE!
It keeps returning 0 :(
O man I am starting to sound like a robot :P
BTW we are way off topic about using autoit to read a pointer>pointer>pointer>pointer>VALUE!
It keeps returning 0 :(
Code:
#RequireAdmin ;User Account must have Administrator privlidges
#include <NomadMemory.au3> ;Include the NomadMemory functions in this script
#include <array.au3>
$iv_Pid = ProcessExists("Game.exe")
$sv_Type = 'int'
If $iv_Pid = 0 then exit
$iv_Address = 0x0010AED4
Dim $av_Offset[5] = [0, Dec("124"), Dec("10"), Dec("5C"), Dec("14")];20, 92, 16, 292]
$ah_Handle = _MemoryOpen($iv_Pid)
$Value1 = _MemoryPointerRead($iv_Address, $ah_Handle, $av_Offset, $sv_Type)
_ArrayDisplay($Value1,"Result:")
_MemoryClose($ah_Handle)