Quote:
Originally Posted by martmor
i did not tried it until now but I would say that you select a mob, search in cheat engine for targets HP, if you finde more results, select an other mob with different hp and search for the new HP in ce. you make this till you have just one result.
|
Thank for your answer.
I followed your tut.
Below is my steps:
- Find new scan with value is 226
- Fight mob to decrease its HP to 151
- Find next scan with value is 151
- After getting only one record -> add to list -> choose "Find out what accesses this address"
=> I got these:
Instruction box - Record 1
Code:
006017E3 - 8B 8D 30010000 - mov ecx,[ebp+00000130]
Code:
006017DA - FF 50 38 - call dword ptr [eax+38]
006017DD - 8B 85 7C010000 - mov eax,[ebp+0000017C]
006017E3 - 8B 8D 30010000 - mov ecx,[ebp+00000130] <<
006017E9 - 83 F8 01 - cmp eax,01
006017EC - 89 4C 24 24 - mov [esp+24],ecx
EAX=000000E2
EBX=2164AD70
ECX=000000A3
EDX=1036F028
ESI=02E75040
EDI=02E74E18
ESP=21F8FB7C
EBP=0FF4D770
EIP=006017E9
Instruction box - Record 2
Code:
006FA42D - 89 90 30010000 - mov [eax+00000130],edx
Code:
006FA428 - 74 12 - je elementclient.exe+2FA43C
006FA42A - 8B 56 04 - mov edx,[esi+04]
006FA42D - 89 90 30010000 - mov [eax+00000130],edx <<
006FA433 - 8B 4E 08 - mov ecx,[esi+08]
006FA436 - 89 88 7C010000 - mov [eax+0000017C],ecx
EAX=0FF4D770
EBX=030E9BA8
ECX=26D1A3A0
EDX=000000A4
ESI=010E243A
EDI=21F8FE80
ESP=21F8FE10
EBP=00000000
EIP=006FA433
I think the Target 's cur HP is 130 or 17C. Iam not sure.
I use below codes in autoIt but the result is wrong.
Code:
$BaseAdress = 0xC7662C
$BaseOffset = 0x1C
$PlayerStruct_Offset = 0x2C
$Name_Offset = 0x6B0
$LVL_Offset = 0x4A0
$HP_OffSet = 0x4A8
$MaxHP_OffSet = 0x4F4
$MP_OffSet = 0x4AC
$MaxMP_OffSet = 0x4F8
$MinEnemyHP_Offset = 0x17C
$PW_Client = _MemoryOpen(ProcessExists("elementclient.exe"))
$PlayerBase = _MemoryRead(_MemoryRead($BaseAdress, $PW_Client, "dword") + $BaseOffset, $PW_Client, "dword") + $PlayerStruct_Offset
$String7 = _MemoryRead(_MemoryRead($PlayerBase, $PW_Client, "dword") + $MinEnemyHP_Offset, $PW_Client, "dword")
The problem is 17C or 130 is not sub offset of Player Structure. So how can find base address of Target 's cur HP ?