Offset und Adresse

09/11/2017 22:50 ImportantLeech#1
Hallo,

ich versuchte mir vor kurzem das Manipulieren von Assault Cube beizubringen.
Jedoch wird mein gewünschten Wert nicht überschrieben. Ich habe eine kleine Ahnung, dass die Offsets falsch hingeschrieben wurden. Die Offsets selbst sind richtig.

Informationen:
Die Offsets:18C & 4
In Cheat Engine: ("ac_client.exe"+0010F418) <- Pointer
4 Bytes = 'dword'

Als ich den Compiled & Build Script ausführte, kam diese Meldung: Line 134 (File"c:\ etc...

Error Illegal text at the ned of statement (one statement per line)
__________________________________________________ ___________
#RequireAdmin
#include <NomadMemory.au3>

$Value = _InfAmmo()
MsgBox(0,"", "Value: " & $Value)

Func _InfAmmo()
Global $BAdress = 0x00400000, $StaticAdress = 0x0010F418
Global $hOpen, $sRead
$hOpen = _MemoryOpen(ProcessExists("ac_client.exe"))
$sRead = _MemoryRead($BAdress + $StaticAdress, $hOpen, 'dword') + 0x18C + 0x4
$write = _MemoryWrite($sRead, $hOpen, "99999", 'dword')
$Value = _MemoryRead($sRead, $hOpen, 'dword')
Return $Value
EndFunc
__________________________________________________ ___________

Ich hoffe Ihr könnt mir helfen. :confused:

Freundliche Grüsse
09/13/2017 19:03 elmarcia#2
Code:
U can't do that $sRead = _MemoryRead($BAdress + $StaticAdress, $hOpen, 'dword') + 0x18C + 0x4
the return value should be added to your first pointer, then read what address that address is pointing and so on...
In cheat Engine my example pointer looks like this:
[Only registered and activated users can see links. Click Here To Register...]

The arrow indicates the memory reading u have to do to get the value

Heres an example:
09/20/2017 21:49 ImportantLeech#3
Quote:
Originally Posted by elmarcia View Post
Code:
U can't do that $sRead = _MemoryRead($BAdress + $StaticAdress, $hOpen, 'dword') + 0x18C + 0x4
the return value should be added to your first pointer, then read what address that address is pointing and so on...
In cheat Engine my example pointer looks like this:
[Only registered and activated users can see links. Click Here To Register...]

The arrow indicates the memory reading u have to do to get the value

Heres an example:
Best tutorial to learn so far, i searched very hard for this explanation! :handsdown::p
03/08/2020 18:58 vodanh_style#4
Quote:
Originally Posted by elmarcia View Post
Code:
U can't do that $sRead = _MemoryRead($BAdress + $StaticAdress, $hOpen, 'dword') + 0x18C + 0x4
the return value should be added to your first pointer, then read what address that address is pointing and so on...
In cheat Engine my example pointer looks like this:
[Only registered and activated users can see links. Click Here To Register...]

The arrow indicates the memory reading u have to do to get the value

Heres an example:
THANK YOU