Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Solved] Need Help With AA Script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
w0rst_nitemare
How do I cheat?
Reputation: 0

Joined: 16 Apr 2021
Posts: 5

PostPosted: Fri Apr 16, 2021 10:51 am    Post subject: [Solved] Need Help With AA Script Reply with quote

When I try to run this script I get the error msg, Error in line 3... , The byte at "ShooterGame.exe"+75090D are not what was expected.

[ENABLE]

assert("ShooterGame.exe"+75090D,"F2 0F 11 01 8B 42 08 89 41 08 F2 0F 10 42 0C F2 0F 11 41 0C 8B 42 14 89 41 14 F2 0F 10 42 18 F2 0F 11 41 18 8B 42 20 89 41 20 8B 42 24 33 41 24 83 E0 01 31 41 24 8B 42 28 89 41 28 8B 42 2C 89 41 2C 8B 42 30 89 41 30 8B 42 34 33 41 34 83 E0 01 31 41 34 0F B6 42 38 88 41 38 8B 42 3C 48 83 C2 40 89 41 3C 48 83 C1 40 E8 25 0C 00 00")
//-- Disable XY writes to decouple camera from player
"ShooterGame.exe"+75090D:
db 90 90 90 90 90 90 90

//-- Disable Z writes to decouple camera from player
"ShooterGame.exe"+750914:
db 90 90 90

[DISABLE]

"ShooterGame.exe"+75090D:
db F2 0F 11 01 8B 42 08

"ShooterGame.exe"+750914:
db 89 41 08
{
// ORIGINAL CODE - INJECTION POINT: "ShooterGame.exe"+75090D

"ShooterGame.exe"+7508FA: CC - int 3
"ShooterGame.exe"+7508FB: CC - int 3
"ShooterGame.exe"+7508FC: CC - int 3
"ShooterGame.exe"+7508FD: CC - int 3
"ShooterGame.exe"+7508FE: CC - int 3
"ShooterGame.exe"+7508FF: CC - int 3
"ShooterGame.exe"+750900: 40 53 - push rbx
"ShooterGame.exe"+750902: 48 83 EC 20 - sub rsp,20
"ShooterGame.exe"+750906: F2 0F 10 02 - movsd xmm0,[rdx]
"ShooterGame.exe"+75090A: 48 8B D9 - mov rbx,rcx
// ---------- INJECTING HERE ----------
"ShooterGame.exe"+75090D: F2 0F 11 01 - movsd [rcx],xmm0
"ShooterGame.exe"+750911: 8B 42 08 - mov eax,[rdx+08]
// ---------- DONE INJECTING ----------
"ShooterGame.exe"+750914: 89 41 08 - mov [rcx+08],eax
"ShooterGame.exe"+750917: F2 0F 10 42 0C - movsd xmm0,[rdx+0C]
"ShooterGame.exe"+75091C: F2 0F 11 41 0C - movsd [rcx+0C],xmm0
"ShooterGame.exe"+750921: 8B 42 14 - mov eax,[rdx+14]
"ShooterGame.exe"+750924: 89 41 14 - mov [rcx+14],eax
"ShooterGame.exe"+750927: F2 0F 10 42 18 - movsd xmm0,[rdx+18]
"ShooterGame.exe"+75092C: F2 0F 11 41 18 - movsd [rcx+18],xmm0
"ShooterGame.exe"+750931: 8B 42 20 - mov eax,[rdx+20]
"ShooterGame.exe"+750934: 89 41 20 - mov [rcx+20],eax
"ShooterGame.exe"+750937: 8B 42 24 - mov eax,[rdx+24]
}



Screenshot 2021-04-16 104618.png
 Description:
 Filesize:  62.5 KB
 Viewed:  2027 Time(s)

Screenshot 2021-04-16 104618.png



Screenshot 2021-04-16 104637.png
 Description:
 Filesize:  63.91 KB
 Viewed:  2027 Time(s)

Screenshot 2021-04-16 104637.png




Last edited by w0rst_nitemare on Fri Apr 16, 2021 12:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Fri Apr 16, 2021 11:19 am    Post subject: Reply with quote

Try removing the quotation marks from the ASSERT bytes. And you might want to look into AOBSCAN.
_________________
Back to top
View user's profile Send private message Visit poster's website
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4297

PostPosted: Fri Apr 16, 2021 11:24 am    Post subject: Reply with quote

You didn't show the final 2 instructions in the pattern ("add rcx,40" / "call xxxxxxxx"). I'm guessing it's the call that's different.
Also, yes, the quotes around the pattern are unnecessary.

You really don't need the assert pattern to be that long anyway- it doesn't need to be unique like aobscans.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
w0rst_nitemare
How do I cheat?
Reputation: 0

Joined: 16 Apr 2021
Posts: 5

PostPosted: Fri Apr 16, 2021 12:34 pm    Post subject: Reply with quote

TheyCallMeTim13 wrote:
Try removing the quotation marks from the ASSERT bytes. And you might want to look into AOBSCAN.


thank you, it worked
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites