|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Haxozaur5000 Advanced Cheater Reputation: 0
Joined: 21 Nov 2014 Posts: 53
|
Posted: Sun Sep 16, 2018 2:58 pm Post subject: Need to update script after game patch |
|
|
This table has a script that would boost progress towards earning badges in NBA 2k19. Now after a patch, you can't activate the Max Badges script, it's unresponsive.
Can someone please look at it and tell me what I need to change, and how I can figure out what to change it to?
TIA
{ Game : NBA2K19.exe
Version:
Date : 2018-09-07
Author : John
This script does blah blah blah
}
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INJECT,NBA2K19.exe,41 89 0C 91 83 3D 65 A0 B6 02 00) // should be unique
alloc(newmem,$1000,"NBA2K19.exe"+EDD7A8)
label(code)
label(return)
newmem:
code:
mov [r9+rdx*4],#150000
//mov [r9+rdx*4],ecx
cmp dword ptr [NBA2K19.exe+3A47818],00
jmp return
INJECT:
jmp newmem
nop
nop
nop
nop
nop
nop
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 41 89 0C 91 83 3D 65 A0 B6 02 00
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "NBA2K19.exe"+EDD7A8
"NBA2K19.exe"+EDD780: 48 63 54 9C 30 - movsxd rdx,dword ptr [rsp+rbx*4+30]
"NBA2K19.exe"+EDD785: 49 63 C0 - movsxd rax,r8d
"NBA2K19.exe"+EDD788: 49 63 0C 91 - movsxd rcx,dword ptr [r9+rdx*4]
"NBA2K19.exe"+EDD78C: 48 03 C8 - add rcx,rax
"NBA2K19.exe"+EDD78F: 48 C7 C0 00 00 00 80 - mov rax,80000000
"NBA2K19.exe"+EDD796: 48 3B C8 - cmp rcx,rax
"NBA2K19.exe"+EDD799: 48 0F 4F C1 - cmovg rax,rcx
"NBA2K19.exe"+EDD79D: B9 FF FF FF 7F - mov ecx,7FFFFFFF
"NBA2K19.exe"+EDD7A2: 48 3B C1 - cmp rax,rcx
"NBA2K19.exe"+EDD7A5: 0F 4C C8 - cmovl ecx,eax
// ---------- INJECTING HERE ----------
"NBA2K19.exe"+EDD7A8: 41 89 0C 91 - mov [r9+rdx*4],ecx
"NBA2K19.exe"+EDD7AC: 83 3D 65 A0 B6 02 00 - cmp dword ptr [NBA2K19.exe+3A47818],00
// ---------- DONE INJECTING ----------
"NBA2K19.exe"+EDD7B3: 0F 84 A7 00 00 00 - je NBA2K19.exe+EDD860
"NBA2K19.exe"+EDD7B9: 48 8D 44 24 48 - lea rax,[rsp+48]
"NBA2K19.exe"+EDD7BE: 89 4C 24 48 - mov [rsp+48],ecx
"NBA2K19.exe"+EDD7C2: 4C 8D 0D 0F 6C 5C 01 - lea r9,[NBA2K19.exe+24A43D8]
"NBA2K19.exe"+EDD7C9: 48 89 84 24 88 00 00 00 - mov [rsp+00000088],rax
"NBA2K19.exe"+EDD7D1: 49 8D 87 60 F7 48 02 - lea rax,[r15+0248F760]
"NBA2K19.exe"+EDD7D8: 48 8D 0D C1 64 5C 01 - lea rcx,[NBA2K19.exe+24A3CA0]
"NBA2K19.exe"+EDD7DF: 4A 8D 04 E8 - lea rax,[rax+r13*8]
"NBA2K19.exe"+EDD7E3: 41 B8 F3 03 00 00 - mov r8d,000003F3
"NBA2K19.exe"+EDD7E9: C7 44 24 50 00 00 00 00 - mov [rsp+50],00000000
|
|
Back to top |
|
|
KalasDev Master Cheater Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Sun Sep 16, 2018 3:10 pm Post subject: |
|
|
When the game updated, the code changed. You have to re-scan the value and find the code again and replace the bytes.
The address changed in short.
|
|
Back to top |
|
|
Haxozaur5000 Advanced Cheater Reputation: 0
Joined: 21 Nov 2014 Posts: 53
|
Posted: Sun Sep 16, 2018 4:03 pm Post subject: |
|
|
KalasWD wrote: | When the game updated, the code changed. You have to re-scan the value and find the code again and replace the bytes.
The address changed in short. |
I realize that, but I didn't make the script myself, was hoping for a bit of an explanation on how to find the address and where to put in the new value. I'm not well versed in scripting but can't get the original author to update it so I'm trying to learn.
|
|
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
|
|