I no have Kodaformdesigner
plz help my
plz help my
#include <GUIConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\sebastian.ste3\eigene dateien\hacks\solitair.kxf
$Form1_1 = GUICreate("Form1", 290, 315, 248, 134)
$Label1 = GUICtrlCreateLabel("Solitär Hack", 112, 8, 62, 17)
$Button1 = GUICtrlCreateButton("Hacken", 32, 120, 225, 49)
$Button2 = GUICtrlCreateButton("Hack beenden", 72, 232, 137, 49)
$Label2 = GUICtrlCreateLabel("Von Poseidon135", 96, 288, 88, 17)
$Button3 = GUICtrlCreateButton("Hilfe", 72, 176, 137, 49)
$Checkbox1 = GUICtrlCreateCheckbox("Punkte", 72, 40, 145, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Case $Button1
_Hack1()
_Hack2()
Case $Button2
MsgBox(0,"Solitär Hack beenden","Vielen dank fürs benutzen")
Exit
Case $Button3
MsgBox(0,"Solitär Hack Hilfe","Der 'Punkte' Hack gibt ihnen Punkte. Einfach die Box mit einem Hacken versehen und auf Hacken drücken :D Viel Spaß!")
EndSwitch
WEnd
Func _Hack1()
$value=GUICtrlRead($Checkbox1)
If $value=1 Then
$score=100
ElseIf $value=0 Then
$score=0
Else
MsgBox(0,"Solitär Hack error", "Ein Fehler ist aufgetreten. Ich arbeite daran ihn zu beheben.")
EndIf
endfunc
Func _Hack2()
$PID=ProcessExists("Sol.exe")
ProcessWait($PID)
$OPEN=_MemoryOpen($PID)
_MemoryWrite(0x000A4A10,$OPEN,$score,"byte[4]")
MsgBox(0, "Solitär Hack", "erfolgreich gehackt =)")
EndFunc
Irgendwo (z. B. über der While Schleife) Global $score = 0 schreiben.Quote:
wenn ich punkte aktiviere kommt ein fehler un der 47. zeile, das mit dem memory write. was ist da falsch ?PHP Code:#include <GUIConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\sebastian.ste3\eigene dateien\hacks\solitair.kxf
$Form1_1 = GUICreate("Form1", 290, 315, 248, 134)
$Label1 = GUICtrlCreateLabel("Solitär Hack", 112, 8, 62, 17)
$Button1 = GUICtrlCreateButton("Hacken", 32, 120, 225, 49)
$Button2 = GUICtrlCreateButton("Hack beenden", 72, 232, 137, 49)
$Label2 = GUICtrlCreateLabel("Von Poseidon135", 96, 288, 88, 17)
$Button3 = GUICtrlCreateButton("Hilfe", 72, 176, 137, 49)
$Checkbox1 = GUICtrlCreateCheckbox("Punkte", 72, 40, 145, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Case $Button1
_Hack1()
_Hack2()
Case $Button2
MsgBox(0,"Solitär Hack beenden","Vielen dank fürs benutzen")
Exit
Case $Button3
MsgBox(0,"Solitär Hack Hilfe","Der 'Punkte' Hack gibt ihnen Punkte. Einfach die Box mit einem Hacken versehen und auf Hacken drücken :D Viel Spaß!")
EndSwitch
WEnd
Func _Hack1()
$value=GUICtrlRead($Checkbox1)
If $value=1 Then
$score=100
ElseIf $value=0 Then
$score=0
Else
MsgBox(0,"Solitär Hack error", "Ein Fehler ist aufgetreten. Ich arbeite daran ihn zu beheben.")
EndIf
endfunc
Func _Hack2()
$PID=ProcessExists("Sol.exe")
ProcessWait($PID)
$OPEN=_MemoryOpen($PID)
_MemoryWrite(0x000A4A10,$OPEN,$score,"byte[4]")
MsgBox(0, "Solitär Hack", "erfolgreich gehackt =)")
EndFunc