jositox How do I cheat?
Reputation: 0
Joined: 17 Aug 2023 Posts: 1
|
Posted: Thu Aug 17, 2023 5:00 pm Post subject: Need help with AA script |
|
|
When I try to run this script I get this error <<Error in line 15 (assert("DeadIsland-Win64-Shipping.exe"+2151330,40 55 53 56 57 41 54 41 55 41 56 41 57 48 81 EC C8 02 00 00)) :The bytes at "DeadIsland-Win64-Shipping.exe"+2151330 are not what was expected>>
define(address,"DeadIsland-Win64-Shipping.exe"+2151330)
define(bytes,40 55 53 56 57 41 54 41 55 41 56 41 57 48 81 EC C8 02 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
push rcx
mov rcx,DeadIsland-Win64-Shipping.exe+7932728
mov rcx,[rcx]
test rcx,rcx
je Skip
mov rcx,[rcx+EA8]
mov rcx,[rcx+38]
mov rcx,[rcx]
mov rcx,[rcx+30]
mov rcx,[rcx+2E0]
test rcx,rcx
je Skip
mov rcx,[rcx+998]
mov rcx,[rcx+2B8]
mov [rsp],rcx
Skip:
pop rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp,000002C8
jmp return
address:
jmp far newmem
nop 6
return:
[DISABLE]
address:
db bytes
// push rbp
// push rbx
// push rsi
// push rdi
// push r12
// push r13
// push r14
// push r15
// sub rsp,000002C8
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: DeadIsland-Win64-Shipping.exe+2151330
DeadIsland-Win64-Shipping.exe+2151326: 5D - pop rbp
DeadIsland-Win64-Shipping.exe+2151327: C3 - ret
DeadIsland-Win64-Shipping.exe+2151328: CC - int 3
DeadIsland-Win64-Shipping.exe+2151329: CC - int 3
DeadIsland-Win64-Shipping.exe+215132A: CC - int 3
DeadIsland-Win64-Shipping.exe+215132B: CC - int 3
DeadIsland-Win64-Shipping.exe+215132C: CC - int 3
DeadIsland-Win64-Shipping.exe+215132D: CC - int 3
DeadIsland-Win64-Shipping.exe+215132E: CC - int 3
DeadIsland-Win64-Shipping.exe+215132F: CC - int 3
// ---------- INJECTING HERE ----------
DeadIsland-Win64-Shipping.exe+2151330: 40 55 - push rbp
// ---------- DONE INJECTING ----------
DeadIsland-Win64-Shipping.exe+2151332: 53 - push rbx
DeadIsland-Win64-Shipping.exe+2151333: 56 - push rsi
DeadIsland-Win64-Shipping.exe+2151334: 57 - push rdi
DeadIsland-Win64-Shipping.exe+2151335: 41 54 - push r12
DeadIsland-Win64-Shipping.exe+2151337: 41 55 - push r13
DeadIsland-Win64-Shipping.exe+2151339: 41 56 - push r14
DeadIsland-Win64-Shipping.exe+215133B: 41 57 - push r15
DeadIsland-Win64-Shipping.exe+215133D: 48 81 EC C8 02 00 00 - sub rsp,000002C8
DeadIsland-Win64-Shipping.exe+2151344: 48 8D 6C 24 60 - lea rbp,[rsp+60]
DeadIsland-Win64-Shipping.exe+2151349: 48 8B 05 E8 1F 35 05 - mov rax,[DeadIsland-Win64-Shipping.exe+74A3338]
}
|
|
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4695
|
Posted: Thu Aug 17, 2023 5:40 pm Post subject: |
|
|
Quote: | The bytes at "DeadIsland-Win64-Shipping.exe"+2151330 are not what was expected | That explains it pretty well.
The table you downloaded is likely made for a different version of the game than the one you're currently on.
Try scanning the exe for that aob and change the address accordingly. Make sure to scan all memory, not just writable.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|