Jump to content
Relisek

Script Doesnt read memory

Recommended Posts

Relisek

Hi

 

My script doesnt read memory correct have a look

#include <NomadMemory.au3>

$Adresse = 0x614FB10C
Dim $Offset[2] = [0, 0x0]

while 1
    $Process = _MemoryOpen(ProcessExists("Nastarius.exe"))
    If Not @error Then
        $Value = _MemoryPointerRead($Adresse, $Process, $Offset)
        If Not @error Then ToolTip($Value[1],0,0)

        _MemoryClose($Process)
    EndIf

    Sleep(100)
WEnd

http://imgur.com/a/o0uJZ

 

As on screen you can see the process is Nastarius.exe and the pointer adress shows value 275 but if i ran the scirpt it shows 0

Dunno why, maybe there's some kind of protection like kernel or something?

 

Share this post


Link to post
Share on other sites
Relisek
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>2</ID>
      <Description>"No description"</Description>
      <LastState Value="275" RealAddress="02710340"/>
      <VariableType>4 Bytes</VariableType>
      <Address>614FB10C</Address>
      <Offsets>
        <Offset>0</Offset>
      </Offsets>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

Copied from cheatengine

Share this post


Link to post
Share on other sites
Melba23

Relisek,

I am feeling generous - final warning to read the Forum rules to which you were pointed here.  Next time you get removed - thread locked.

M23

 


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Jos

@Relisek, you really need to consider yourself lucky as you have gotten some naughty-spot time from me after simply ignoring my warning.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×