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 


Module Base

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

Joined: 02 Jul 2015
Posts: 1

PostPosted: Thu Jul 02, 2015 9:53 am    Post subject: Module Base Reply with quote

Hello im learning CE.
i have a question.

I know WriteProcessMemory and other stuff.
but one problem.

How to write this?



Im not sure if this code is correct

Code:


int off1 = 0x0;
            int off2 = 0x80;
            int off3 = 0x16c;
            int off4 = 0x364;
            int off5 = 0x58;
            IntPtr bases = (IntPtr)0x000D2004;
           
            IntPtr test = mem.GetAddress("Tetris", bases, new int[] { off1,off2, off2, off3, off4, off5 });

            MessageBox.Show(test.ToString());




is correct?
But on cheat engine work, give me the result on my messagebox
is show 0

Plase help me Confused



Cattura.JPG
 Description:
test
 Filesize:  32.4 KB
 Viewed:  2099 Time(s)

Cattura.JPG


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 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