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

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

Joined: 25 Jul 2014
Posts: 4

PostPosted: Sun Jul 27, 2014 5:47 pm    Post subject: Help With Pointers Reply with quote

I published a thread about this some time ago, but I am still having trouble with it.

I have this static address that changes every time i relaunch the game and i was like okay ill just find the pointer so i found the pointer but the base address has client.dll+ADDRESS. and when i was trying to import this into c# it did not work so can anyone give me a readwritememory class file for c# or teach me cause now i have no idea what i am doing... some people was saying i need to call a CreateToolhelp32Snapshot and enumerate the processes modules until you find one with that name "client.dll" but i dont know how to do that, im new to c#.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Sun Jul 27, 2014 6:37 pm    Post subject: Reply with quote

This is called codeshifting.

You need to calculate the dll base address and add the offsets etc. to reach your pointer value (CE does this automatically).

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
DarkArlene
How do I cheat?
Reputation: 0

Joined: 19 Jul 2013
Posts: 5

PostPosted: Sun Jul 27, 2014 6:56 pm    Post subject: Reply with quote

Code:

using System.Diagnostics;

        private int Address = 0xACCE80;  // for example
        private     Process[] mProcess;

        ------
        mProcess = Process.GetProcessesByName("name of process");   // Select process and call it in some method
        ------

       //---This might help
        private bool IsGameAvailable()
        {
            mProcess = Process.GetProcessesByName("name of process");
            if (mProcess.Length != 0) { return true; } else { return false; }
        }
       //---


        private int GetBaseAdress(string b)
        {
            int address = 0;

            ProcessModuleCollection modules = mProcess[0].Modules;
            foreach (ProcessModule module in modules)
            {
                if (module.ModuleName == b)
                {
                   address = module.BaseAddress.ToInt32();
                }
            }

            return address;
        }

        ------
        GetBaseAdress("client.dll") + Address
        ------

Back to top
View user's profile Send private message
XQuantumForceX
How do I cheat?
Reputation: 0

Joined: 25 Jul 2014
Posts: 4

PostPosted: Sun Jul 27, 2014 9:28 pm    Post subject: Reply with quote

but i want to make it equal a integer like 5 or 500 you know

EDIT: or can someone just give me a source code like a download link?

EDIT2: Okay i found the client.dll but now what do i do??
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