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 


CSharp List Objects

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

Joined: 01 Apr 2015
Posts: 5

PostPosted: Wed Apr 01, 2015 4:06 pm    Post subject: CSharp List Objects Reply with quote

Are these always the same in memory?

I know the source code (.net game with reflector, but mono dissector doesn't work for whatever reason...) so I know that I'm looking for a list of class objects.

I found the size parameter for the list (simple 4 byte search) and I now have a relative location for the list object. I know from hacking several other mono games that the size is usually at offset C, but in this particular game, the rest of the structure (usually pointers to objects, as they have already been created) do not follow at 10,14, 1c like normal.

Is there any other paradigm that List<>s go by in Csharp? Without Mono dissector, is there any way to get a better idea of the kind of structure I'm looking at?

EDIT:
Can't double post, so I lost a decent amount of text in a reply. I figured out that the List object is allocated dynamically, and the address to the values is actually at +8. This is unlike every other game I've ever seen, so it caught me off guard.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Apr 02, 2015 1:09 am    Post subject: Reply with quote

The game must be made using the Mono libraries in order for Cheat Engines Mono Dissection to work. If its using standard Win32 .NET libraries it will not work with it.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Thu Apr 02, 2015 5:40 am    Post subject: Reply with quote

if it's standard .net it's active by default (if it uses .net4 or later)
the easiest way to check is use enumerate modules/symbols in memview and expand some c# modules. if they are filled in, including symbols ending with _il it works

the structure dissect also makes use of it

as for the list object it's most likely dynamic

_________________
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
Empyrial
How do I cheat?
Reputation: 0

Joined: 01 Apr 2015
Posts: 5

PostPosted: Thu Apr 02, 2015 8:27 am    Post subject: Reply with quote

It's actually a unity web based game. I know that it is difficult (well, with my lack of knowledge) to get the dissector to work with a web player process, so I know it is mono, but I can't get to the definitions or anything.

Anyway, thanks for the help. On to lua coding.
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