S4 Hack / Need Help

07/16/2012 02:38 CataSpecialz#1
Hey Leute ,will nen Hack für mich selber erstellen ^^

[AUTOITLIKE] :D

Hier mal das script : was ist daran falsch ?

Kriege keine Fehlermeldung ,passiert garnix nichtmal tooltip kommt...

PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"23262192124)
$Hack1 GUICtrlCreateButton("Start"80167525)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
   
Func Hack1()
      
ToolTip(S4Client.exe,0,0)
      
$wait ProcessWait(S4Client.exe)
      
$PID ProcessExists(S4Client.exe)
      
Sleep(500)
      
$Open _MemoryOpen($PID)
      If 
GUICtrlRead($Checkbox1) = 1 Then
         _Memorywrite
(5692314112$Open$Checkbox1,long)
         
_Memorywrite(7985408$Open$Checkbox1,long)
         
_Memorywrite(2348565979$Open$Checkbox1,long)
   EndIf 
   
EndFunc
    
EndSwitch
WEnd 
07/16/2012 03:18 Der-Eddy#2
/moved

btw. du solltest mal lieber AutoIT Basics weiter machen
denn dir fehlt das includen der NomadMemory.au3
außerdem ist deine Funktion mit dem Hack in einer Schleife sobald das Fenster geschlossen wird und sich der Hack beendet
außerdem fehlen überall Gänsefüßchen
z.B.
Code:
ToolTip(S4Client.exe,0,0)
nebenbei: Wenn du sowieso mit so nutzlosen GUIs arbeitest warum verwendest du nicht gleich Hotkeyset?
07/20/2012 02:52 CataSpecialz#3
So siehts schon besser aus :
PHP Code:
#cs ----------------------------------------------------------------------------

 
AutoIt Version3.3.8.1
 Author
:         Catacy

 Script 
Function:
    
S4League hack.

#ce ----------------------------------------------------------------------------

Script Start Add your code below here

#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#RequireAdmin

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("HackTool by Catacy"449103192124)
GUISetBkColor(0xA6CAF0)
$SP GUICtrlCreateCheckbox("Inf SP"24169717)
$HP GUICtrlCreateCheckbox("200 HP"24409717)
$Start GUICtrlCreateButton("Start"360647525)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
         Case 
$Start
            _Hack
()
    EndSwitch
WEnd

Func _Hack
()
ToolTip ("Warte auf S4League",0,0)
$PID ProcessExists ("S4League.exe")
ProcessWait ($PID)
$OPEN _MemoryOpen ($PID)
If 
GUICtrlRead ($HP) = 1 Then
   _MemoryWrite 
(0x00501774,$OPEN,"200","byte[4]")
EndIf
If 
GUICtrlRead ($SP) = 1 THen
   _MemoryWrite 
(0x005BDEF4,$OPEN,"5692314112","long")
   EndIf
EndFunc 
bin mir nur bei _memorywrite nicht sicher ob alles richtig ist