Pointerscan AutoIT und es funzt nicht !

08/02/2010 18:17 .AciDDreaM#1
Guten Tag ,

hier das Problem ein Offline Spiel :
Ich suche nach meinem Wert hab am ende noch einen doppelklick -> PointerScan for this Address
Ausgabe 2 stk :

Nr1 : bla.exe+001560BC
Offset0 : F4
Offset1 ; nichts
Offset2 ; nichts
Points to : 106A3918

nr2 :
bla.exe+0007EBF4
Offset0 : 268
Offset1 ; A4
Offset2 ; A0
Points to : FEC8FEEC

so autoit sieht so aus :

Code:
#include <GUIConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 146, 126, 193, 125)
$Label1 = GUICtrlCreateLabel("Hack:", 8, 8, 74, 17)
$Button1 = GUICtrlCreateButton("ON", 16, 32, 49, 33, 0)
$Button2 = GUICtrlCreateButton("OFF", 16, 76, 49, 33, 0)
$Label2 = GUICtrlCreateLabel("Status:", 88, 48, 37, 17)
$Label3 = GUICtrlCreateLabel("OFF", 88, 72, 24, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


Global $Pointer = 0x0007EBF4
Global $Open = _MemoryOpen(ProcessExists("bla.exe"))
Global $Offset[3] = [0x268, 0xA4, 0xA0]

While 1
   $NMG = GUIGetMsg()
      Switch $NMG
      Case $GUI_EVENT_CLOSE
          _MemoryPointerWrite($Pointer, $Open, $Offset, 30000)
            $Label3 = GUICtrlCreateLabel("OFF", 88, 72, 24, 17)
            Exit
         Case $Button1
            _MemoryPointerWrite($Pointer, $Open, $Offset, 40000)
            $Label3 = GUICtrlCreateLabel("ON", 88, 72, 24, 17)
        Case $Button2
            _MemoryPointerWrite($Pointer, $Open, $Offset, 1000)
            $Label3 = GUICtrlCreateLabel("OFF", 88, 72, 24, 17)
      EndSwitch
WEnd
Beim Global offset habe ich es auch mit einer 0 versucht geht auch nicht !
jemand ne idee ?
08/03/2010 15:20 KDeluxe#2
Du vernachlässigst das "bla.exe +", das darfst du aber nicht.

Hier mal eine Möglichkeit mit der "Pointer.au3" UDF:
PHP Code:
#RequireAdmin
#include <GUIConstants.au3>
;#include <NomadMemory.au3>
#include <Pointer.au3> ;Memory UDF

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"146126)
$Label1 GUICtrlCreateLabel("Hack:"887417)
$Button1 GUICtrlCreateButton("ON"163249330)
$Button2 GUICtrlCreateButton("OFF"167649330)
$Label2 GUICtrlCreateLabel("Status:"88483717)
$Label3 GUICtrlCreateLabel("OFF"88722417)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


;Global $Pointer 0x0007EBF4 ;bla.exe?
Global 
$Open _MemoryOpen(ProcessExists("bla.exe"))
Global 
$Offset[4] = [00x2680xA40xA0]

Global 
$Pointer
$Pointer 
_MemoryGetBaseAddress($Open1)
$Pointer =  "0x" Hex($Pointer Dec("7EBF4"))

While 
True
   $NMG 
GUIGetMsg()
      Switch 
$NMG
      
Case $GUI_EVENT_CLOSE
            _MemoryPointerWrite
($Pointer$Open$Offset30000)
            
$Label3 GUICtrlCreateLabel("OFF"88722417)
            Exit
         Case 
$Button1
            _MemoryPointerWrite
($Pointer$Open$Offset40000)
            
$Label3 GUICtrlCreateLabel("ON"88722417)
        Case 
$Button2
            _MemoryPointerWrite
($Pointer$Open$Offset1000)
            
$Label3 GUICtrlCreateLabel("OFF"88722417)
      EndSwitch
WEnd