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] How do you use ".net data collector"?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
ayuanx
Newbie cheater
Reputation: 0

Joined: 15 Oct 2014
Posts: 13

PostPosted: Wed Sep 09, 2015 7:02 am    Post subject: [HELP] How do you use ".net data collector"? Reply with quote

Is there any tutorial?
I searched but couldn't find any.

When I attach Cheat Engine to a .NET program, I couldn't find anything different, no extra menu or stuff. Crying or Very sad

How do you use it?

Thanks.
Back to top
View user's profile Send private message
aikoncwd
Grandmaster Cheater
Reputation: 23

Joined: 21 Dec 2012
Posts: 591
Location: Spain (Barcelona)

PostPosted: Wed Sep 09, 2015 8:26 am    Post subject: Re: [HELP] How do you use ".net data collector"? Reply with quote

ayuanx wrote:
Is there any tutorial?
I searched but couldn't find any.

When I attach Cheat Engine to a .NET program, I couldn't find anything different, no extra menu or stuff. Crying or Very sad

How do you use it?

Thanks.


I search the health/mana of the player, see what access this address, show something like this:

mov eax,[ebx+5B]

So, base address (of the structure player) is ebx. Get the value of ebx (example 80667A). Go to structure dissect, enter 80667A and create a new structure, accept all options by default.

CE's symbol handler will fill the structure with the dumped info of .Net, here is an example of Axiom Verge game:


_________________
Hey Hitler
Test here your skill with CheatEngine, I coded a challenge for you. Try to beat it!
HERE
Back to top
View user's profile Send private message
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Wed Sep 09, 2015 9:45 pm    Post subject: Reply with quote

Note that you may need to reload the .NET stuff after a scan or attaching.
http://forum.cheatengine.org/viewtopic.php?t=582697

_________________
Back to top
View user's profile Send private message
ayuanx
Newbie cheater
Reputation: 0

Joined: 15 Oct 2014
Posts: 13

PostPosted: Thu Sep 10, 2015 4:09 am    Post subject: Re: [HELP] How do you use ".net data collector"? Reply with quote

Thanks for the reply.

What's the setup? Is extracting the add-on zip to CheatEngine root folder enough?

It is a pity that we have the functions available but no manual for these functions on official homepage.

So it is a prerequisite that you must first have the structure base address, only then can you do a structure dissect.

Say if I don't have the base address, maybe because the structure is hard to scan (e.g. the data of that structure doesn't really change, or the data isn't displayed anywhere), is there any function to achieve some kind of auto-scan-and-match if I know the structure name from the decompiled code?

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

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

PostPosted: Thu Sep 10, 2015 4:56 am    Post subject: Reply with quote

it's used automatically
when you target a .net process it will fetch the jitted functions and il code and make it available for you

structure dissect will also work if you're on a random address inside the structure. CE will use the data from the collector to set the correct address for you

you will have to find something of it first though, or try hooking one of the class methods and use ecx to find the object (use enumerate dll's and symbols)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Rydian
Grandmaster Cheater Supreme
Reputation: 31

Joined: 17 Sep 2012
Posts: 1358

PostPosted: Thu Sep 10, 2015 6:51 am    Post subject: Reply with quote

And otherwise, you can find the base address of a structure by finding what writes or accesses something and looking at the offset in the function most of the time. Subtract that offset from your address and you have the base.

Also function names should show up in the memory viewer window.

_________________
Back to top
View user's profile Send private message
ayuanx
Newbie cheater
Reputation: 0

Joined: 15 Oct 2014
Posts: 13

PostPosted: Thu Sep 10, 2015 8:46 am    Post subject: Reply with quote

I was hoping that there would be an easy way to locate the data member by first locating the structure semi-automatically from symbol name, not the another way around.

But I guess there is no such silver bullets. Sad

Thanks. It is still good to know this function.
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