Jump to content

pokemaster

Members
  • Posts

    4
  • Joined

  • Last visited

pokemaster's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Using nomadmemory and reading a pointer by $result = _MemoryPointerRead($address, $handle, $offset) Works fine. However, I cannot write to a pointer. I have only succeeded with writing to an address, but can't get it to work with a pointer. _MemoryWrite($addressitpointsto,$handle, $somevalue) Is it possible to include the offset in there somewhere? I tried after $somevalue, but it returned an error.
  2. It works perfectly well on Win XP, but I was wondering why I can't get the correct value using Vista? My CE that's running on Vista shows the right value, but once I use your script with the CE values it ends up returning an incorrect value.
  3. Holy macaroni! Thanks a lot for this script, it was immensely useful! At first I was a bit confused about how to use it, as once I ran the script nothing seemed to happen. But then I realized it copies code so you can paste it and use it as a function. Very useful indeed for people who want to design scripts that do stuff based on game memory. If I bump into memory related problems later, could I possibly contact you?
  4. I have a following script that can read the memory of an inputted address of a game. This works, although there is also a thing in game called "pointers", along with an "offset". I currently do not know how to read these two, so looking for some help. The current script I'm using is: ----------------------------------- #include <winapi.au3> Global Const $PROCESS_VM_OPERATION = (0x0008) Global Const $PROCESS_VM_READ = (0x0010) Global $Process="somegame.exe" Global $Pointer = 0x00XXXXX; replace with the address $handle=_WinAPI_OpenProcess(BitOR($PROCESS_VM_OPERATION,$PROCESS_VM_READ),False,ProcessExists($Process)) $s=DllStructCreate("int") Local $read _WinAPI_ReadProcessMemory($handle,$Pointer,DllStructGetPtr($s),DllStructGetSize($s),$read) MsGbox(0,"Read value",DllStructGetData($s,1)) _WinAPI_CloseHandle($handle) -------------------------------- In other words, I want to know what to assign $pointer if I have a POINTER of 00597EF0 and an OFFSET of 18. I am familiar with NomadMemory too, but haven't really gotten these two values to work with it.
×
×
  • Create New...