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 


Help: try to Code Injecting Unity Games.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Zaladine
Expert Cheater
Ban
Reputation: 3

Joined: 14 Oct 2012
Posts: 129
Location: Djokdja, Indonesia

PostPosted: Wed May 08, 2024 12:01 am    Post subject: Help: try to Code Injecting Unity Games. Reply with quote

I am attempting to create injection code in a game using the Unity engine. The issue I have encountered is that, for some injection codes, the game's progress needs to reach a certain point before the targeted code 'appears'. For example, the code block for EXP won't appear until a battle occurs, which is when EXP is awarded as the character wins battles. How can I overcome this so that my injection code can be activated at any time, particularly even from the game started?

Furthermore, does Unity intentionally use this method to prevent their games from being easily hacked? Or for some other reasons?

For your information, I have previously created injection codes several times. It's only this time that I tried to create an injection code using the Array of Byte (AOB) template, and then encountered the issue I mentioned earlier.

Thank you very much for replying.

_________________
... to boldly go where no eagle has gone before ...
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4706

PostPosted: Wed May 08, 2024 12:06 am    Post subject: Reply with quote

That's called Just-In-Time (JIT) compilation.

You can JIT code yourself using CE's mono Lua API. I'm not familiar enough with that API to say how to do that. See the file monoscript.lua in the autorun directory for more information.

_________________
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
Zaladine
Expert Cheater
Ban
Reputation: 3

Joined: 14 Oct 2012
Posts: 129
Location: Djokdja, Indonesia

PostPosted: Wed May 08, 2024 9:18 am    Post subject: Reply with quote

ParkourPenguin wrote:
That's called Just-In-Time (JIT) compilation.

You can JIT code yourself using CE's mono Lua API. I'm not familiar enough with that API to say how to do that. See the file monoscript.lua in the autorun directory for more information.

Thanks for pointing that out. However, i can understand nothing upon opening the specified file... Guess I have to study LUA from the very basic.

_________________
... to boldly go where no eagle has gone before ...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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