|
You last visited: Today at 20:56
Advertisement
S4 Hack / Need Help
Discussion on S4 Hack / Need Help within the AutoIt forum part of the Coders Den category.
07/16/2012, 02:38
|
#1
|
elite*gold: 2
Join Date: Jun 2012
Posts: 158
Received Thanks: 26
|
S4 Hack / Need Help
Hey Leute ,will nen Hack für mich selber erstellen ^^
[AUTOITLIKE]
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", 232, 62, 192, 124)
$Hack1 = GUICtrlCreateButton("Start", 80, 16, 75, 25)
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
|
#2
|
elite*gold: 400
Join Date: Nov 2008
Posts: 67,905
Received Thanks: 19,505
|
S4 League -> AutoIt
/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
|
#3
|
elite*gold: 2
Join Date: Jun 2012
Posts: 158
Received Thanks: 26
|
So siehts schon besser aus :
PHP Code:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.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", 449, 103, 192, 124) GUISetBkColor(0xA6CAF0) $SP = GUICtrlCreateCheckbox("Inf SP", 24, 16, 97, 17) $HP = GUICtrlCreateCheckbox("200 HP", 24, 40, 97, 17) $Start = GUICtrlCreateButton("Start", 360, 64, 75, 25) 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
|
|
|
All times are GMT +1. The time now is 20:56.
|
|