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 


Not all instruction could be injected

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

Joined: 14 Feb 2021
Posts: 6

PostPosted: Tue Mar 09, 2021 6:30 am    Post subject: Not all instruction could be injected Reply with quote

# Introduction

I've been merged several AA / Auto-Assembler script into one. Merged by changing variable of each instruction. but the result was "Not all instruction could be injected". This is a problem because i need all the instruction to be injected to achieve "hack".

# Problematic

I've also checked each instruction variable and nothing seems to be a trouble. anyway, the cheat engine still throws a message that says "Not all instruction could be injected" as the title said.

# Code Tree

Code:
[ENABLE]

aobscanmodule(module1,Minecraft.Windows.exe,F3 0F 58 A9 B8 04 00 00) // should be unique
alloc(newmem,$1000,"Minecraft.Windows.exe"+1ABAE72)

label(codea)
label(returna)

aobscanmodule(module2,Minecraft.Windows.exe,0F 2E BB B4 04 00 00) // should be unique
alloc(newmem,$1000,"Minecraft.Windows.exe"+1AB7B5F)

label(codeb)
label(returnb)

aobscanmodule(module3,Minecraft.Windows.exe,F3 0F 11 BB B4 04 00 00) // should be unique
alloc(newmem,$1000,"Minecraft.Windows.exe"+1AB7B7B)

label(codec)
label(returnc)

newmema:
addss xmm5,[rcx+000004B8]
jmp codea

codea:
  addss xmm5,[rcx+000004B8]
  mov [rcx+000004B8],(float)10
  jmp returna

module1:
  jmp newmema
  nop
  nop
  nop
returna:
registersymbol(module1)

newmemb:
ucomiss xmm7,[rbx+000004B4]
jmp codeb

codeb:
  ucomiss xmm7,[rbx+000004B4]
  mov [rbx+000004B4],(float)3
  jmp returnb

module2:
  jmp newmemb
  nop
  nop
returnb:
registersymbol(module2)

newmemc:
movss [rbx+000004B4],xmm7
jmp codec

codec:
  movss [rbx+000004B4],xmm7
  mov [rbx+000004B4],(float)3
  jmp returnc

module3:
  jmp newmemc
  nop
  nop
  nop
returnc:
registersymbol(module3)

[DISABLE]

module1:
  db F3 0F 58 A9 B8 04 00 00

module2:
  db 0F 2E BB B4 04 00 00

module3:
  db F3 0F 11 BB B4 04 00 00

unregistersymbol(module1)
dealloc(newmema)

unregistersymbol(module2)
dealloc(newmemb)

unregistersymbol(module3)
dealloc(newmemc)



merge.lua
 Description:
CEA Script

Download
 Filename:  merge.lua
 Filesize:  1.43 KB
 Downloaded:  228 Time(s)

Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25910
Location: The netherlands

PostPosted: Tue Mar 09, 2021 9:23 am    Post subject: Reply with quote

you're not allocating newmema, newmemb and newmemc, but newmem, newmem, and newmem
_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Yuuki's
How do I cheat?
Reputation: 0

Joined: 14 Feb 2021
Posts: 6

PostPosted: Tue Mar 09, 2021 9:55 am    Post subject: Reply with quote

[quote="Dark Byte"]you're not allocating newmema, newmemb and newmemc, but newmem, newmem, and newmem[/quote]

Ah i see,, my bad. Thanks dude..
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