S4 Hack Button Problem

09/25/2010 12:20 ChaosCombo#1
Hi also ich hab ein Problem mit meinem Hack wen ich den Button dem befehl gebe den Hack auszuführen funktioniert alles gut doch der Wert ändert sich nicht.

Code:
PHP Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <WinAPI.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"615438192124)
$Button1 GUICtrlCreateButton("Button1"887525)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
    
Case $GUI_EVENT_CLOSE
    
Case $Button1
            
Global Const $PROCESS_ALL_ACCESS 0x1f0fff
            ToolTip
("S4Client starten ..."00)
            
$S4 0x00D38BC0
            $WAIT 
ProcessWait("S4Client.exe")
            
$WAIT ProcessWait("S4Client.exe")
            
$PID ProcessExists("S4Client.exe")
            
$OPEN _MEMORYOPEN($PID)
            
_MEMORYWRITE(0x00D38BC0$OPEN"range""Char[5]")
            
MsgBox(0,"Success","Have Fun")
            Exit

    EndSwitch
WEnd 
09/25/2010 15:28 Rorc#2
Du lässt ihn die Addresse zu früh überschreiben, mach nen sleep dazwischen
09/25/2010 16:57 ♠As♠#3
1. Why doppelt Wait mach eins weg
2.der char ist anzahl + 1 also [6] nicht [5]
09/25/2010 17:56 Al Kappaccino#4
Sollte die Char Anzahl nicht den zu ändernden String angeben?
Und warum 2 mal Wait?
Und wozu diese includes?
Code:
#include <ButtonConstants.au3> 
#include <GUIConstantsEx.au3> 
#include <WindowsConstants.au3> 
#include <WinAPI.au3>
Allesammt unnötig.
Genauso wie
Code:
Global Const $PROCESS_ALL_ACCESS = 0x1f0fff
Daran sieht mans ja, C&P´ler
Diese definition ist
1.An einer seehr fragwürdigen Stelle
und
2.Wird es hier weder gebraucht noch irgendwo verwendet
Genauso fail:
Code:
$S4 = 0x00D38BC0 
_MEMORYWRITE(0x00D38BC0, $OPEN, "range", "Char[5]")
Warum Schreibst du die Adresse zuerst in die Variable "$S4", wenn du sie dann doch wieder manuell hinschreibst?...
09/25/2010 19:11 ChaosCombo#5
Ist ja gut ich habs ja hingekriegt