This is working 100 percent!
On win xp, win vista, win 7!
#All tested!
PHP Code:
#include <NomadMemory.au3>
#RequireAdmin
$open = _MemoryOpen(ProcessExists("Solitaire.exe"))
$value = 0x066DDC08
while ProcessExists("Solitaire.exe") = False
MsgBox(0,"Öffnen","Du musst Solitaire shcon starten -.-")
Wend
$punkte = InputBox("Solitair","Wie viele Punkte möchtest du haben?")
_MemoryWrite($value,$open,$punkte,"dword")
MsgBox(0,"Punkte verändert","Deine Solitairpunkte wurden auf "&$punkte&" verändert.")
If u got two adresses u have to do something like this:
PHP Code:
#include <NomadMemory.au3>
#RequireAdmin
$open = _MemoryOpen(ProcessExists("Solitaire.exe"))
$value = 0x066DDC08
$value2 = 0x088EDF05
while ProcessExists("Solitaire.exe") = False
MsgBox(0,"Öffnen","Du musst Solitaire shcon starten -.-")
Wend
$punkte = InputBox("Solitair","Wie viele Punkte möchtest du haben?")
_MemoryWrite($value,$open,$punkte,"dword")
_MemoryWrite($value2,$open,$punkte,"dword")
MsgBox(0,"Punkte verändert","Deine Solitairpunkte wurden auf "&$punkte&" verändert.")
.. ok now to hex decimal..
if you got an adress like this:
there is only 1 zero, so you have to set 0x in front of adress
else if you got an adresse like this:
there are 2 zeros, so you have to set 'x' in front of second zero