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 


mono_class_from_name_case returning 0

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

Joined: 21 Aug 2015
Posts: 10

PostPosted: Fri Jun 07, 2019 5:16 pm    Post subject: mono_class_from_name_case returning 0 Reply with quote

Hi,

I'm trying to get this method address "AstraPath:<ScanAsync>c__Iterator2:MoveNext"

using "mono_class_from_name_case" , I used "AstraPath" as namespace ,"<ScanAsync>c__Iterator2" as class name but its returning 0 so i can't move to the next step of grabbing the MoveNext method , I tested "AstraPath:<ScanAsync>c__Iterator2:MoveNext" on cheatengine and it work fine .

Code:
get_mono_class_from_name_case(Image, "AstraPath", "<ScanAsync>c__Iterator2");


Code work on most methods though ,such as "Game:Player:Update"
Code:
get_mono_class_from_name_case(Image, "", "Game:Player");


Do i have to grab all of the classes and strcmp to get it to work or am i doing something wrong ?.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sat Jun 08, 2019 3:53 am    Post subject: Reply with quote

if the built in search of mono doesn't find it, then you'll have to resort to enumerating the classes manually
_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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