Joined: 14 Oct 2012 Posts: 129 Location: Djokdja, Indonesia
Posted: Wed May 08, 2024 12:01 am Post subject: Help: try to Code Injecting Unity Games.
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 ...
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.
Joined: 14 Oct 2012 Posts: 129 Location: Djokdja, Indonesia
Posted: Wed May 08, 2024 9:18 am Post subject:
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 ...
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