|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
noyuw Newbie cheater Reputation: 0
Joined: 26 Oct 2015 Posts: 12
|
Posted: Sat Apr 22, 2017 3:05 am Post subject: INJECT,ERROR: Could not find unique AOB |
|
|
Hey,
I have a little problem and can't figure this out, spent a few hours on it already..
I'm trying to do an AOB injection, but i have an inject error and it will not work at all (i can't even activate it by checking the checkbox on the current table, it won't let me).
This is a 4 Bytes value that i'm just trying to freeze or keep at the same amount (1065353216)
Whatever scan i do, it is always
Code: |
fstp dword ptr [eax+00000188]
|
who is concerned, maybe i could do it in another way ?
Here is the AOB injection
Code: | [ENABLE]
aobscan(INJECT,ERROR: Could not find unique AOB, tried code "D9 98 88 01 00 00") // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
fstp dword ptr [eax+00000188]
jmp return
INJECT+B20268:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT+B20268:
db D9 98 88 01 00 00
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 1D2F1F00
""+1D2F1EE7: 8B 45 F0 - mov eax,[ebp-10]
""+1D2F1EEA: DD 45 E8 - fld qword ptr [ebp-18]
""+1D2F1EED: DD 45 E0 - fld qword ptr [ebp-20]
""+1D2F1EF0: D9 C9 - fxch st(1)
""+1D2F1EF2: D9 CA - fxch st(2)
""+1D2F1EF4: DE C9 - fmulp st(1),st(0)
""+1D2F1EF6: DE C1 - faddp
""+1D2F1EF8: D9 5D F4 - fstp dword ptr [ebp-0C]
""+1D2F1EFB: 39 00 - cmp [eax],eax
""+1D2F1EFD: D9 45 F4 - fld dword ptr [ebp-0C]
// ---------- INJECTING HERE ----------
""+1D2F1F00: D9 98 88 01 00 00 - fstp dword ptr [eax+00000188]
// ---------- DONE INJECTING ----------
""+1D2F1F06: 85 DB - test ebx,ebx
""+1D2F1F08: 74 0A - je 1D2F1F14
""+1D2F1F0A: 8B 86 AC 00 00 00 - mov eax,[esi+000000AC]
""+1D2F1F10: 3B D8 - cmp ebx,eax
""+1D2F1F12: 74 15 - je 1D2F1F29
""+1D2F1F14: 83 EC 04 - sub esp,04
""+1D2F1F17: 6A 00 - push 00
""+1D2F1F19: 6A 02 - push 02
""+1D2F1F1B: 56 - push esi
""+1D2F1F1C: E8 B7 01 00 00 - call 1D2F20D8
} |
Thanks
Last edited by noyuw on Sat Apr 22, 2017 6:48 am; edited 1 time in total |
|
Back to top |
|
|
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Sat Apr 22, 2017 6:40 am Post subject: |
|
|
The code u want to inject is
Code: | fstp dword ptr [eax+00000188] |
just select more instruction under your code then you can get unique Array of bytes ( press Ctrl+c ) choose bytes only .
- if the AOB is repeated CE will fail to inject the code .
- You can check if its unique or not , by scanning for array of bytes and make writable square grayed .
|
|
Back to top |
|
|
noyuw Newbie cheater Reputation: 0
Joined: 26 Oct 2015 Posts: 12
|
Posted: Sat Apr 22, 2017 7:00 am Post subject: |
|
|
Twistedfate wrote: |
just select more instruction under your code then you can get unique Array of bytes ( press Ctrl+c ) choose bytes only .
. |
I don't get what you are saying, can you explain a bit more on how to do that ?
Since this is always about "fstp dword ptr [eax+00000188]" (even after a game restart), could there would be another simplest way to freeze/unfreeze the value ? (still with [ENABLE] / [DISABLE])
Here is a screen of the memory viewer : imgur[dot]com/a/4lQWS
Btw, thanks for the help
|
|
Back to top |
|
|
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Sat Apr 22, 2017 7:22 am Post subject: |
|
|
look at the picture .
the orange line mean less AOBs = error cannot inject .
the purple line mean more AOBs = unique signature → CE can Inject it .
you could select more than one instructions . and pressed CTR+C to copy AOBs then past them in your script. .... select AOBs starting from
Code: | fstp dword ptr [eax+00000188] |
to be like that
Code: | D9 98 88 01 00 00 85 DB 74 0A 8B 86 AC 00 00 00 3B D8 74 15
83 EC 04 6A 00 6A 02 |
Description: |
|
Filesize: |
59.18 KB |
Viewed: |
9488 Time(s) |
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|