Script frage ( POINTER )

04/20/2011 18:31 Evilkingg#1
habe jetzt den script bis jetzt killerdeluxe hatte schon etwas verbessert doch wenn ich den wer von unbesiegbarkeit (god ) freeze geht das programm zu

HTML Code:
#RequireAdmin
#Include <NomadMemory.au3>

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

$Form1_1 = GUICreate("Evil Hack", 365, 180, 192, 124)
$Label1 = GUICtrlCreateLabel("Speed :", 8, 16, 41, 17)
$speedeingabe = GUICtrlCreateInput("16230", 49, 8, 121, 21)
$Label2 = GUICtrlCreateLabel("Skill     :", 8, 40, 41, 17)
$skilleingabe = GUICtrlCreateInput("", 40, 48, 121, 21)
$Label3 = GUICtrlCreateLabel("Unverwundbar :", 8, 104, 80, 17)
$Label4 = GUICtrlCreateLabel("Bank Hack     :", 48, 128, 76, 17)
$godon = GUICtrlCreateButton("On", 192, 104, 27, 17, $WS_GROUP)
$godoff = GUICtrlCreateButton("Off", 232, 104, 27, 17, $WS_GROUP)
$bankon = GUICtrlCreateButton("On", 128, 128, 27, 17, $WS_GROUP)
$bankoff = GUICtrlCreateButton("Off", 168, 128, 27, 17, $WS_GROUP)
$godstatus = GUICtrlCreateLabel("", 270, 110, 52, 12)
GUICtrlSetColor(-1, 0xFF0000)
GUICtrlSetBkColor(-1, 0xFF0000)
$bankstatus = GUICtrlCreateLabel("", 206, 134, 52, 12)
GUICtrlSetBkColor(-1, 0xFF0000)
$setspeed = GUICtrlCreateButton("Set !", 184, 8, 35, 25, $WS_GROUP)
$setskill = GUICtrlCreateButton("Set !", 184, 40, 35, 25, $WS_GROUP)
$Label5 = GUICtrlCreateLabel("Fly :", 48, 152, 23, 17)
$flyon = GUICtrlCreateButton("On", 128, 152, 27, 17, $WS_GROUP)
$flyoff = GUICtrlCreateButton("Off", 168, 152, 27, 17, $WS_GROUP)
$flystatus = GUICtrlCreateLabel("", 206, 155, 52, 12)
GUICtrlSetBkColor(-1, 0xFF0000)
$Nomiss = GUICtrlCreateLabel("Nomiss :", 16, 80, 44, 17)
$nomisson = GUICtrlCreateButton("On", 192, 80, 27, 17, $WS_GROUP)
$nomissoff = GUICtrlCreateButton("Off", 232, 80, 27, 17, $WS_GROUP)
$nomissstatus = GUICtrlCreateLabel("", 270, 85, 52, 12)
GUICtrlSetBkColor(-1, 0xFF0000)
$nomis = GUICtrlCreateInput("", 72, 80, 81, 21)
$god = GUICtrlCreateInput("", 88, 104, 97, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Global $OPEN = _MEMORYOPEN(ProcessExists("TClient.exe")) 
Global $Pointer = 0x6EFFFC 
Global $offsetgod[3] = [0, 0x44E, 0xAA8] 

Global $Bedingung1 = 0 

While Sleep(10) 
    $nMsg = GUIGetMsg() 
    Switch $nMsg 
        Case $GUI_EVENT_CLOSE 
            Exit 
        Case $NOMISSON 
            GUICtrlSetBkColor($NOMISSSTATUS, 60928) 
        Case $NOMISSOFF 
            GUICtrlSetBkColor($NOMISSSTATUS, 16651804) 
        Case $GODON 
            $Bedingung1 = 1 
            GUICtrlSetBkColor($GODSTATUS, 60928) 
        Case $GODOFF 
            $Bedingung1 = 0 
            GUICtrlSetBkColor($GODSTATUS, 16651804) 
    EndSwitch 
     
    If $Bedingung1 = 1 Then _MEMORYPOINTERWRITE($Pointer, $OPEN, $Offsetgod, "0") 
WEnd