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 -> Cheat Engine
View previous topic :: View next topic  
Author Message
Mark111
How do I cheat?
Reputation: 0

Joined: 09 Mar 2018
Posts: 2

PostPosted: Fri Mar 09, 2018 8:51 am    Post subject: Help with pointers. Reply with quote

Hello guys,

I have trouble finding a pointer in game, the pointer rescan gives me 0 results or the given result shows only 0 value, here are the details: Basically I want to find a "Health" pointer in an online game.
I followed an youtube guide to find the pointer
1) I found the address of health, there were 2 addresses and I didn't know which one I should have used, so I tried on both and it was the same result on each of them.
2) I used the pointer scan and it gave me many results:
3) I restarted the game, found the address of health again and did "Rescan Memory". It gave me 1 result. Sometimes the "Rescan" gives me no results.
4) After restarting the game the found pointer value was 0 (It should have been 134).

I want the pointer so I can then use it for "_MemoryRead" in AutoIt.
So can anyone help me find the pointer? What am I doing wrong? I am pretty much a noob when it comes to things like these Very Happy
P.S. I wanted to post images for further details, but since this is my first post, the forum won't let me Sad
Back to top
View user's profile Send private message
Mark111
How do I cheat?
Reputation: 0

Joined: 09 Mar 2018
Posts: 2

PostPosted: Sat Mar 10, 2018 7:01 am    Post subject: Update Reply with quote

So I think I found the pointer I was looking for. When copied it looks like this:
Code:
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>1</ID>
      <Description>"pointerscan result"</Description>
      <LastState Value="134" RealAddress="1F05F6A0"/>
      <VariableType>Double</VariableType>
      <Address>"npswf32.dll"+00D6E398</Address>
      <Offsets>
        <Offset>270</Offset>
        <Offset>314</Offset>
        <Offset>34C</Offset>
        <Offset>3C0</Offset>
      </Offsets>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

But now that there is a ".dll" in address I am not sure how I should use it in AutoIT, I tried this but it didn't work:
Code:
#include <NomadMemory.au3>


Global $Module = 'npswf32.dll'
Global $StaticOffset = 'D6E398'
Global $Offset[5]
$Offset[0] = 0
$Offset[1] = Dec("3C0")
$Offset[2] = Dec("34C")
$Offset[3] = Dec("314")
$Offset[4] = Dec("270")

$Process = _MemoryOpen(ProcessExists('juggernautclient.exe'))
If Not @error Then
   $baseADDR = _MemoryModuleGetBaseAddress($Process, $Module)
   $finalADDR = "0x" & Hex($baseADDR + $StaticOffset)
   $Value = _MemoryPointerRead($finalADDR, $Process, $Offset, 'DOUBLE')
   If Not @error Then
      MsgBox(0, "Memory Read", $Value[1])
   Else
      MsgBox(0, "Error", "Could read memory!")
   EndIf
Else
   MsgBox(0, "Error", "No process!")
EndIf
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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