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 


Code Injection help, failed to determine what ... means.

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

Joined: 23 Jan 2024
Posts: 3
Location: Steam

PostPosted: Tue Jan 23, 2024 7:39 pm    Post subject: Code Injection help, failed to determine what ... means. Reply with quote

I will start by saying that I started using Cheat Engine a month ago.

Im trying to do a Code Injection on a .Net game (built using MonoGame, a fork of XNA). Ive had great success until today when I ran into a problem:

Code:
Error in line 3 alloc(newmem,2048,Game.Objects.Projectile::HitCharacter+C9) :Failure determining what Game.Objects.Projectile::HitCharacter+C9 means


What Ive been doing to fix this error is going to the .Net Info ribbon and going to Game.Objects.Projectile and selecting the method HitCharacter, pressing JIT/GetAddress and then when at the methods code I would RightClick - Module Information which would Load the Symbols of this Method.

What Im asking for is help with this, how can I make it so I dont have to do all these steps whenever I want to activate the Code Injection?

Before anyone suggests that I use an AOB Scan let me refuse because its slow.

Thank you for your time.
I will answer any questions you might have.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Tue Jan 23, 2024 8:18 pm    Post subject: Reply with quote

The symbol handler couldn't get an address from that name. Maybe because you didn't load .net symbols.
Code:
{$lua}
LaunchDotNetInterface()
{$asm}

[ENABLE]
...
(for mono, use LaunchMonoDataCollector instead)
If it's because the function hasn't been jitted and doesn't exist yet, well, that's kind of a problem. See the function `OpenAddressOfSelectedMethod` and `getMethodAddress` in the file `autorun/dotnetinfo.lua` 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
PartnersPityPartying
How do I cheat?
Reputation: 0

Joined: 23 Jan 2024
Posts: 3
Location: Steam

PostPosted: Tue Jan 23, 2024 9:14 pm    Post subject: Reply with quote

ParkourPenguin wrote:
The symbol handler couldn't get an address from that name. Maybe because you didn't load .net symbols.
Code:
{$lua}
LaunchDotNetInterface()
{$asm}

[ENABLE]
...
(


If I add this to the start of my code injection it still stays the same, i cannot activate it.
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