Read memory and pointer
Posted: Tue Jul 07, 2009 8:57 pm
This is some source code from auto it script:
=====================================================================
Global $OFFSET_MP[3]
$OFFSET_MP[1] = 32
$OFFSET_MP[2] = IniRead($SOFTWARE_OFFSET_CONFIG, $CFG_OFFSET_ROOT_KEY, $CFG_OFFSET_MP, "1108")
Global $OFFSET_PET_HP[5]
$OFFSET_PET_HP[1] = 32
$OFFSET_PET_HP[2] = 3204
$OFFSET_PET_HP[3] = IniRead($SOFTWARE_OFFSET_CONFIG, $CFG_OFFSET_ROOT_KEY, $CFG_OFFSET_SLOT, "16")
$OFFSET_PET_HP[4] = 56
=====================================================================
to read MP
in auto it script
$HP = _MEMORYPOINTERREAD($APP_BASE_ADDRESS, $PROCESS_INFORMATION, $OFFSET_MP)
in micromacro
MP = memoryReadIntPtr(proc, charptr_addr, MP_offset);
the variable OFFSET_MP and MP_offset contain the same value
to read Pet HP
in auto it script
$PET_HP = _MEMORYPOINTERREAD($APP_BASE_ADDRESS, $PROCESS_INFORMATION, $OFFSET_PET_HP)
in micromacro I'm a little bit confuse because the PET_HP variable contain two more pointer [3] and [4]
can anyone give any clue to read the pet HP that use more pointer?
Thanks
=====================================================================
Global $OFFSET_MP[3]
$OFFSET_MP[1] = 32
$OFFSET_MP[2] = IniRead($SOFTWARE_OFFSET_CONFIG, $CFG_OFFSET_ROOT_KEY, $CFG_OFFSET_MP, "1108")
Global $OFFSET_PET_HP[5]
$OFFSET_PET_HP[1] = 32
$OFFSET_PET_HP[2] = 3204
$OFFSET_PET_HP[3] = IniRead($SOFTWARE_OFFSET_CONFIG, $CFG_OFFSET_ROOT_KEY, $CFG_OFFSET_SLOT, "16")
$OFFSET_PET_HP[4] = 56
=====================================================================
to read MP
in auto it script
$HP = _MEMORYPOINTERREAD($APP_BASE_ADDRESS, $PROCESS_INFORMATION, $OFFSET_MP)
in micromacro
MP = memoryReadIntPtr(proc, charptr_addr, MP_offset);
the variable OFFSET_MP and MP_offset contain the same value
to read Pet HP
in auto it script
$PET_HP = _MEMORYPOINTERREAD($APP_BASE_ADDRESS, $PROCESS_INFORMATION, $OFFSET_PET_HP)
in micromacro I'm a little bit confuse because the PET_HP variable contain two more pointer [3] and [4]
can anyone give any clue to read the pet HP that use more pointer?
Thanks
