• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 10 of 10
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      P4R4D0GS's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      0
      Thanks (<--)
      0

      Pointer scan in CE

      John Kittz
      CE show me base address like this: "game.exe"+12345678. How can i get real base address ?? I need this for my trainer for Darksiders II.
      Attached Thumbnails Attached Thumbnails screen1.JPG  

    2. #2
      Hacker
      Retired
       
      Pawning
       
      Crazywink's Avatar
      Join Date
      Jul 2012
      Location
      US
      Posts
      647
      Thanks (-->)
      111
      Thanks (<--)
      226

      Re: Pointer scan in CE

      It depends on what language you're doing it in, but essentially to get the base address, you would do something like..

      Code:
      Process.ProcessModule.BaseAddress.ToInt32() + 0x00000000; //Replacing with your address
      This would be after you defined your process of course.

      That is in C# by the way, but you can easily convert that to C++ if that's the language you're using. That's not completely functional, that's just to give you an idea of what to do.

      Crazywink

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      P4R4D0GS's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      0
      Thanks (<--)
      0

      Re: Pointer scan in CE

      Yea, thx . Do u know how looks this function in C++ ??

    4. #4
      Hacker
      Retired
       
      Pawning
       
      Crazywink's Avatar
      Join Date
      Jul 2012
      Location
      US
      Posts
      647
      Thanks (-->)
      111
      Thanks (<--)
      226

      Re: Pointer scan in CE

      Yeah, I'll write it out when I can get on my laptop, on my phone right now. :P The C++ version is a bit more involved. The way I did it at least.. :P

    5. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      MadMange's Avatar
      Join Date
      Jul 2012
      Posts
      4
      Thanks (-->)
      0
      Thanks (<--)
      0

      Re: Pointer scan in CE

      This is the way I do it: (Not by the book but do its job)

      DWORD getBaseModuleAddress(DWORD _pid)
      {
      HANDLE hSnap;
      MODULEENTRY32 xModule;

      hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, _pid); // Creates a module snapshot of the game
      xModule.dwSize = sizeof(MODULEENTRY32);

      Module32First(hSnap,&amp;xModule); // Gets the first module thats is the .exe itself
      CloseHandle(hSnap);
      return (DWORD)xModule.modBaseAddr;
      }

    6. #6
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      P4R4D0GS's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      0
      Thanks (<--)
      0

      Re: Pointer scan in CE

      Thx fo reply. But i still have problems. I used your function to get address of game.exe. But i still cant get base address from this "game.exe"+12345678 .

      There is a program :

      Code:
      #include &lt;windows.h&gt; 
      #include &lt;TlHelp32.h&gt; 
      #include &lt;ctime&gt;
      #include &lt;iostream&gt; 
      
      using namespace std; 
      
      DWORD getBaseModuleAddr(DWORD processID) ;
      
      LPCSTR gameWindowName = "Darksiders II (531964)" ;
      
      int mainTimer = clock() ;
      
      bool isGameOn ;
      
      int main() 
      { 
      	HWND hWnd ;
      	DWORD processId ;
      	DWORD baseAddr ;
      	HANDLE hProcess = NULL ;
      
      	while(!GetAsyncKeyState(VK_INSERT))
      	{
      		if((clock() - mainTimer) &gt; 1500)
      		{
      			mainTimer = clock() ;
      
      			hWnd = FindWindow(NULL, gameWindowName) ;
      			if(hWnd)
      			{
      				GetWindowThreadProcessId(hWnd, &amp;processId) ;
      				if(processId)
      				{
      					hProcess = OpenProcess(PROCESS_ALL_ACCESS, false, processId) ;
      					if(hProcess)
      					{
      						isGameOn = true ;
      					}
      					else cerr &lt;&lt; "Cannot OPEN process" &lt;&lt;endl ;
      				}
      				else cerr &lt;&lt; "Cannot FIND process ID" &lt;&lt;endl ;
      			}
      			else
      			{
      				cerr &lt;&lt; "Cannot FIND game" &lt;&lt;endl ;
      				isGameOn = false ;
      			}
      		}
      
      		if(isGameOn)
      		{
      			baseAddr = getBaseModuleAddr(processId) + 0x012BAB6C ;
      
      			cout &lt;&lt; "Base address --&gt; " &lt;&lt;baseAddr;
      
      			cin.get() ;
      		}
      	}
      
      	CloseHandle(hProcess) ;
      	return 0 ;
      }
      
       DWORD getBaseModuleAddr(DWORD processId)
      {
      	HANDLE hSnap ;
      	MODULEENTRY32 xModule ;
      
      	hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, processId) ;
      	xModule.dwSize = sizeof(MODULEENTRY32) ; 
      
      	Module32First(hSnap, &amp;xModule) ;
      
      	CloseHandle(hSnap) ;
      
      	return (DWORD)xModule.modBaseAddr ;
      
      }

    7. #7
      Hacker
      Retired
       
      Pawning
       
      Crazywink's Avatar
      Join Date
      Jul 2012
      Location
      US
      Posts
      647
      Thanks (-->)
      111
      Thanks (<--)
      226

      Re: Pointer scan in CE

      When you say you can't get the Base Address, do you mean it isn't outputting? Or are you getting a specific error?

    8. #8
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      P4R4D0GS's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      0
      Thanks (<--)
      0

      Re: Pointer scan in CE

      Sorry for my bad english (:

      This program gives me the address but no base address what i want. If I grab the address from function getBaseNoduleAddr and then + 0x12345678 = x and put the x in to cheat engine instead of "game.exe"+12345678, CE shows me bunch of ?????. If i put x in to my trainer and strat the game, shit happens. So I guess the base address is wrong.

    9. #9
      Jr.Coder
      Learning to hack games!
       
      Feeling Normal
       
      voidisalive's Avatar
      Join Date
      May 2012
      Posts
      68
      Thanks (-->)
      1
      Thanks (<--)
      14

      Re: Pointer scan in CE

      Hey there to get the base if you load the executable onto OllyDbg you will see on the Executable Modules Panels [E] the base of that application game etc...

      in this case I show you an example with Minesweepers here take a look at the screenshot

      Pointer scan in CE

      and to use it with code is like this

      Code:
      //Game Base Address
      DWORD GameBase = 0x9D0000; 
      
      DWORD REM_MINES = GameBase+0x3C2FA;
      Greets,

      void is alive


    10. #10
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      P4R4D0GS's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      0
      Thanks (<--)
      0

      Re: Pointer scan in CE

      Cheats'n'Trainers
      [size=24pt]Very big thx for u[/size] (:

      Now all works fine. So locked...

    Similar Game Hacker Threads

    1. [Help] Best way to find base addresses? Pointer scan and AOB sigscan?
      By ranseier in forum Hacking Help
      Replies: 1
      Last Post: 10-04-2015, 01:46 PM
    2. [Help] Finding the right value for pointer scan in CE
      By ranseier in forum Hacking Help
      Replies: 5
      Last Post: 10-01-2015, 03:42 PM
    3. [Help] Cheat Engine Pointer Scan Problem
      By Syperus in forum GH Tutorials Help
      Replies: 6
      Last Post: 05-28-2013, 07:36 AM
    4. Pointer scan returns no results
      By roarboar in forum Hacking Help
      Replies: 22
      Last Post: 02-12-2013, 07:18 AM
    5. [Help] Pointer scan gives med .dll files as base
      By JavaProgrammer in forum GH Tutorials Help
      Replies: 10
      Last Post: 12-23-2012, 04:12 PM