Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 08:57

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Cheatengine pointer - Nomadmemory

Discussion on Cheatengine pointer - Nomadmemory within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
Cheatengine pointer - Nomadmemory

Hey, so I'm having a little trouble using Nomadmemory properly.

Well... before I can even get to Nomadmemory, I can't even find the correct pointers for certain games. I found this tutorial online (
). It's basic enough, I understand it. I tried it with a single player game and it worked just fine, I found the pointer for it.

Now, I'm trying to do this with my current HP on an online game... and every time I get to the part where I click 'Add address manually' and add a pointer... the value that shows up in my cheat table doesn't match up with the value of my HP. I'm doing exactly what I did for a single player game... The same method isn't working for this online game though.

Example:
Found the address of my current HP in the game. Value: 48.
Found the pointer of that address. Value: 6619226.

I'm stumped. I tried to find the pointer of my in game money the same way. Same problem.

Is there some other way to find the proper pointer?
BitOfHope is offline  
Old 12/02/2013, 22:13   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
How many addresses did you try to point to?
If you get the message "the address contains the value ...." then you get more than just one address I guess.
Even if they're 400 or more, you have to try every single of them.
Watch out, some values are written in the hex-format so you need to convert them!
alpines is offline  
Old 12/02/2013, 22:17   #3
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
best way to find your hp is to remove 1 piece that increase your hp, armor, weapon or something
then fill hp full and scan it
then put back armor or other thing and full hp again -> scan it
you will get few results
then try remove armor and look what adress will change value to your hp
if its not green put it down and right click pointer scan
when scan is done reenter game but leave CE opened
hook on game again and repeat hp scan again when you find it again go to rescan pointer and repeat that till you have few pointers

first try to scan with 4byte if you cant find try with float
mlukac89 is offline  
Old 12/02/2013, 22:43   #4
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
This is exactly what I did:

-Opened the game.
-Opened cheatengine.
-Attached the game process.
-Searched for my current HP with Exact value - 4 bytes. A dozen values popped up.
-Changed scan type to changed value, changed my HP, scanned again. Repeated until I had just 1 Address/Value that matched my HP.
-Changed my HP in game to see if the value changed to match it. It did.
-Put that address into my cheat table.
-Right clicked it, clicked on 'Find out what writes to this address'
-Clicked yes, I want to attach the debugger
-In game I changed my HP again so the debugger picked it up
-Stopped the debugger.
-Double clicked what it picked up on.
-This is what it says:
>>004D3D96 - mov [eax+edx] ,ecx

copy memory
The value of the pointer needed to find this address is probably 00819C18

-I took the address '00819C18' and went back to the main cheatengine window.
-Checked [X] Hex and searched for 00819C18.
-1 result came up.
-I clicked on [Add Address Manually]
-Checked [X] Pointer and put in the address that came up in the result.
-There is no offset, so I left that at 0
-Clicked okay
-The pointer address SHOULD now match up with the normal value I got of my HP... but it doesn't.
-Normal value of my HP is 48 while the pointer is 6619226.

So... the pointer value should be matching up with the normal HP value, right? I did this same method on an offline single player game and it worked. But it won't work for this online game =/
BitOfHope is offline  
Old 12/03/2013, 00:54   #5
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
if you double click on adress filed of that pointer it should be "something.exe+12323"
if is that try to change TYPE?

otherwise use pointer scan you will find it more faster
mlukac89 is offline  
Thanks
1 User
Old 12/03/2013, 03:13   #6
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
Quote:
Originally Posted by mlukac89 View Post
if you double click on adress filed of that pointer it should be "something.exe+12323"
if is that try to change TYPE?

otherwise use pointer scan you will find it more faster
Thanks, this got me the pointers.

Now I need to figure out how to read and use this through autoit, haha.
BitOfHope is offline  
Old 12/03/2013, 03:46   #7
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
download KDMemory.au3

then in new file add this on top
Code:
#include <KDMemory.au3>
read memory with pointers

this will show you Tooltip in left upper corner of screen for 10 seconds

Code:
Global $hpPointer = 0x0112C1C4 ; hp change this to yours
; if you have more offsets just add 0x03 or whatever it is
; and count how much you have then put in $hpOffsets[number]
Global $hpOffstes[5] = [0x0, 0x324, 0x8, 0x0, 0x270] ; change this to yours 

Global $processName = "game.exe"

$processId = ProcessExists($processName)


If $processId == 0 Then
    MsgBox(48, "Error", "Game is not running!")
Else
    $handles = _KDMemory_OpenProcess($processId)
    $baseAddress = _KDMemory_GetModuleBaseAddress($handles, $moduleName) + $baseOffset
    $memoryData = _KDMemory_ReadProcessMemory($handles, $baseAddress, "DWORD", $offsets)
    
    ; this show you hp in tooltip --------------------
    ToolTip("My HP is : " & $memoryData[1], 0, 0)
     Sleep("10000")
    ; ----------------------------------------------
    _KDMemory_CloseHandles($handles)
    EndIf
EndIf
mlukac89 is offline  
Old 12/03/2013, 03:48   #8
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
Quote:
Originally Posted by mlukac89 View Post
download KDMemory.au3

then in new file add this on top
Code:
#include <KDMemory.au3>
read memory with pointers

this will show you Tooltip in left upper corner of screen for 10 seconds

Code:
Global $hpPointer = 0x0112C1C4 ; hp change this to yours
; if you have more offsets just add 0x03 or whatever it is
; and count how much you have then put in $hpOffsets[number]
Global $hpOffstes[5] = [0x0, 0x324, 0x8, 0x0, 0x270] ; change this to yours 

Global $processName = "game.exe"

$processId = ProcessExists($processName)


If $processId == 0 Then
    MsgBox(48, "Error", "Game is not running!")
Else
    $handles = _KDMemory_OpenProcess($processId)
    $baseAddress = _KDMemory_GetModuleBaseAddress($handles, $moduleName) + $baseOffset
    $memoryData = _KDMemory_ReadProcessMemory($handles, $baseAddress, "DWORD", $offsets)
    
    ; this show you hp in tooltip --------------------
    ToolTip("My HP is : " & $memoryData[1], 0, 0)
     Sleep("10000")
    ; ----------------------------------------------
    _KDMemory_CloseHandles($handles)
    EndIf
EndIf
This just gives me an error when I try to run it.
BitOfHope is offline  
Old 12/03/2013, 11:45   #9
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
paste your code here whole script
mlukac89 is offline  
Old 12/03/2013, 16:56   #10
 
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,149
You can download a good example from me, but there are still a lot of people who are using my UDF wrong. My example doesn't contain a single useless line, there is nothing you can ignore and delete (except one of the first two lines).


Quote:
Originally Posted by BitOfHope View Post
-Checked [X] Pointer and put in the address that came up in the result.
-There is no offset, so I left that at 0
That's wrong. An offset is an offset and can also be 0. I'm using a "0" offset in my example. Just add the address and don't use a "Pointer" if there is no offset.
You have to add an offset, but it is not "0", it's the value of "edx". You can see the value of "edx" in the "Extra info" window.
KDeluxe is offline  
Old 12/03/2013, 19:04   #11
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
Quote:
Originally Posted by KDeluxe View Post
You can download a good example from me, but there are still a lot of people who are using my UDF wrong. My example doesn't contain a single useless line, there is nothing you can ignore and delete (except one of the first two lines).



That's wrong. An offset is an offset and can also be 0. I'm using a "0" offset in my example. Just add the address and don't use a "Pointer" if there is no offset.
You have to add an offset, but it is not "0", it's the value of "edx". You can see the value of "edx" in the "Extra info" window.
Oh, the offset part makes more sense, thanks.

I was actually looking through your 2 examples last night before I fell asleep, but it was a little confusing for me. I'm going to take another look at it later today after work, but would it be possible for you to add more ;notes explaining what some of the lines do? I felt a little lost.
BitOfHope is offline  
Reply


Similar Threads Similar Threads
CheatEngine Pointer-S4-Hack
02/13/2011 - S4 League - 1 Replies
Hallo ich wollte fragen ob jemand mit mir nen trainer machen will allerdings nen Pointer trainer check es net wie man pointer verarbeitet kann nur normale trainer also meldet euch wenn ihr lust habt habe pointer für die minegun license (Mind heal = mine gun) und ms range (über ganze map) bitte meldet euch wie gesagt kann auch normale aber keine pointer trainer! ihr könnt den von mir aus relesen is mir egal...
CheatEngine 5.5 Pointer to AutoIt3 Source-Code
02/22/2010 - 4Story Hacks, Bots, Cheats & Exploits - 9 Replies
Mir war gerade mal so danach und da habe ich einen Konverter geschrieben, weil manche sich damit schwer haben die Informationen aus CE in Autoit eintragen. Werden zwar eh die wenigsten brauchen, aber egal xD Funktionsweise: 1. in CE Rechtsklick auf den Pointer und auf "Copy" klicken 2. in meinem Programm auf "Code generieren" klicken 3. In euer Scite gehen und einfügen Hier ist der Source Code vom Programm:
Nomadmemory
02/16/2010 - AutoIt - 12 Replies
Hallo, Ich suche schon seit 2 h nach der nomedmemory.au3! Aber ich finde sie nicht.. O.o Kann Sie mir pls wer geben? lg Cann
Lebenspunkte Pointer mit CheatEngine
07/09/2009 - Metin2 - 20 Replies
Ich habe jetzt schon länger versucht die Speicheradresse der Lebenspunkte bei Metin zu finden--->is aber nichts bei rausgekommen:( kennt jemand von euch den Pointer/statische adresse??? mfg night €dit: Und wenn den Pointer schon jemand hat, vielleicht auch den Pointer mit dem ich auslesen kann ob gerad nen Fisch angebissen hat^^ Das Problem is das mein pc zu lahm is um die adresse rauszufinden... Den Köder Pointer hab ich schon (2. Inventar, auf F3=P->17C66594)
[Help!!]Nomadmemory.au3
06/18/2009 - 12Sky2 - 4 Replies
i have all time problem with Nomadmemory.au3 i did what got suggest i had look for in google found like 4-5 of them but no any work out ;/. all time same problem "Line 7 (File "c:\documents and setting\storm\pulpit\autopotion.au3"): #include <Nomadmemory.au3> Error:Error opening the file."



All times are GMT +1. The time now is 09:01.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.