|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
satanrules666 Advanced Cheater Reputation: 0
Joined: 31 Oct 2010 Posts: 70 Location: New Zealand
|
Posted: Sat Sep 03, 2016 2:18 pm Post subject: Aobscanmodule not working in cheat engine 64 bit 6.5.1 |
|
|
So I got the new cheat engine as the 64bit version of 6.5 would not attach to Farcry 4 64 bit using VEH debugger.
So now it attached and code injection script works however if I use the following code below which was the code Auto Assembler gave me I can check it but notice in Memory view that the address doesnt change and in deed in game ammo doesnt change.
Code: |
{ Game : FarCry4.exe
Version:
Date : 2016-09-04
Author :
This script does blah blah blah
}
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(Unlimited Ammo,FC64.dll,89 03 48 8B 5C 24 30) // should be unique
alloc(newmem,$1000,"FC64.dll"+BA15B9)
label(code)
label(return)
newmem:
code:
mov eax,3e7
mov [rbx],eax
mov rbx,[rsp+30]
jmp return
Unlimited Ammo:
jmp code
nop
nop
return:
registersymbol(Unlimited Ammo)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
Unlimited Ammo:
db 89 03 48 8B 5C 24 30
unregistersymbol(Unlimited Ammo)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "FC64.dll"+BA15B9
"FC64.dll"+BA15A1: 75 2E - jne FC64.dll+BA15D1
"FC64.dll"+BA15A3: 48 85 C9 - test rcx,rcx
"FC64.dll"+BA15A6: 74 06 - je FC64.dll+BA15AE
"FC64.dll"+BA15A8: 83 79 38 00 - cmp dword ptr [rcx+38],00
"FC64.dll"+BA15AC: 77 23 - ja FC64.dll+BA15D1
"FC64.dll"+BA15AE: 8B 03 - mov eax,[rbx]
"FC64.dll"+BA15B0: 8B C8 - mov ecx,eax
"FC64.dll"+BA15B2: 3B F0 - cmp esi,eax
"FC64.dll"+BA15B4: 0F 4C CE - cmovl ecx,esi
"FC64.dll"+BA15B7: 2B C1 - sub eax,ecx
// ---------- INJECTING HERE ----------
"FC64.dll"+BA15B9: 89 03 - mov [rbx],eax
"FC64.dll"+BA15BB: 48 8B 5C 24 30 - mov rbx,[rsp+30]
// ---------- DONE INJECTING ----------
"FC64.dll"+BA15C0: C6 47 39 01 - mov byte ptr [rdi+39],01
"FC64.dll"+BA15C4: 8B C1 - mov eax,ecx
"FC64.dll"+BA15C6: 48 8B 74 24 38 - mov rsi,[rsp+38]
"FC64.dll"+BA15CB: 48 83 C4 20 - add rsp,20
"FC64.dll"+BA15CF: 5F - pop rdi
"FC64.dll"+BA15D0: C3 - ret
"FC64.dll"+BA15D1: 48 8B 5C 24 30 - mov rbx,[rsp+30]
"FC64.dll"+BA15D6: 8B CE - mov ecx,esi
"FC64.dll"+BA15D8: 48 8B 74 24 38 - mov rsi,[rsp+38]
"FC64.dll"+BA15DD: 8B C1 - mov eax,ecx
}
|
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sat Sep 03, 2016 2:26 pm Post subject: |
|
|
Don't use spaces
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
cooleko Grandmaster Cheater Reputation: 11
Joined: 04 May 2016 Posts: 717
|
Posted: Sat Sep 03, 2016 2:32 pm Post subject: Re: Aobscanmodule not working in cheat engine 64 bit 6.5.1 |
|
|
Code: | [ENABLE]
aobscanmodule(Unlimited_Ammo,FC64.dll,89 03 48 8B 5C 24 30)
alloc(newmem,$1000,"FC64.dll"+BA15B9)
label(code)
label(return)
newmem:
code:
mov eax,3e7
mov [rbx],eax
mov rbx,[rsp+30]
jmp return
Unlimited_Ammo:
jmp code
nop
nop
return:
registersymbol(Unlimited_Ammo)
[DISABLE]
Unlimited_Ammo:
db 89 03 48 8B 5C 24 30
unregistersymbol(Unlimited_Ammo)
dealloc(newmem)
|
|
|
Back to top |
|
|
satanrules666 Advanced Cheater Reputation: 0
Joined: 31 Oct 2010 Posts: 70 Location: New Zealand
|
Posted: Sun Sep 04, 2016 5:54 am Post subject: |
|
|
Quote: |
Dark Byte
Don't use spaces
|
Ahhh yeah that would be why thanks.
I think if you do use spaces don't you have to have it quoted like
aobscanmodule("Unlimited Ammo",FC64.dll,89 03 48 8B 5C 24 30)
Thanks for the script
Cooleko.[/quote]
_________________
|
|
Back to top |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
|
Back to top |
|
|
satanrules666 Advanced Cheater Reputation: 0
Joined: 31 Oct 2010 Posts: 70 Location: New Zealand
|
Posted: Sun Sep 04, 2016 3:56 pm Post subject: |
|
|
Quote: |
STN
I find it interesting the blame goes straight to CE or windows, there must be something wrong with it rather than my lack of knowledge. There is no way i can be lacking in something
|
Thanks for the help.
I wouldn't say that I blames cheat engine I didn't say that its definetly it i just like reporting bugs if any it helps the developer fix their program.
Just recently being a part of the guys that sent in bug reports for the game Deus Ex Mankind Divided on PC. All to do with the Metro crash.
Cheat engine was correct It was my incorrect knowledge that was my problem. still learning ASM and C++ and am only a noob at it at the moment.
As for the not attaching well that was already addresses I just had to download cheat engine 5.6.1 and problem solved.
|
|
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
|
|