Hallo liebe com ich hätte mal 1Frage und 1Problem bei autoit.
Also erstmal mein Problem möchte ein hack erstellen und hab auch schon angefangen nur ist das problem wenn ich ihn testen möchte das die fehlermeldung (>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Socke\Desktop\S4 Hack.au3"
C:\Users\Socke\Desktop\S4 Hack.au3 (24) : ==> "Wend" statement with no matching "While" statement.:
WEnd
>Exit code: 1 Time: 0.212) kommt.Sagt bitte was es zu bedeuten hat und wie man es lößt.
Und nun zu der Frage also ich hab mir mal aus einem tut _MemoryWrite(0x00EF37A6,$OPEN,"0","char[2]") nur leide weiß ich nicht wie ich jetzt z.b jrjejwjojp(power)zu jejgjnjajr(range) ändern kann.
Das Script:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Example Hack Tutorial!", 247, 90, 192, 124)
$Checkbox1 = GUICtrlCreateCheckbox("Ghost Mode", 16, 24, 97, 17)
$Button1 = GUICtrlCreateButton("Start", 16, 56, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Exit", 128, 56, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
hile 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_Hack()
Case $Button2
Exit
EndSwitch
WEnd
Func _Hack(); This is the functions which turns on the hacks when you start S4 League.
GUISetState(@SW_HIDE);
ToolTip("Start S4 League!",0,0); This is up in the corner which says Start S4 League!
$WAIT = ProcessWait("S4Client.exe"); Waiting For S4 League
$PID = ProcessExists("S4Client.exe"); He found S4Client.exe
Sleep(500);Takes a little break..
$OPEN = _MemoryOpen ($PID); The memory .. which makes the functions work.
If GUICtrlRead($Checkbox1) = 1 Then
_MemoryWrite(0x00FE26EA,$OPEN,"1","Float");This is a float value.
EndIf
If GUICtrlRead($Checkbox2) = 1 Then
_MemoryWrite(0x00EF37A6,$OPEN,"0","char[2]"); This is a string..
_MemoryWrite(0x00EF37D6,$OPEN,"0","char[2]"); This is another string with an other address.
_MemoryWrite(0x00EF3806,$OPEN,"0","char[2]")
EndIf
Exit
EndFunc
Also erstmal mein Problem möchte ein hack erstellen und hab auch schon angefangen nur ist das problem wenn ich ihn testen möchte das die fehlermeldung (>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Socke\Desktop\S4 Hack.au3"
C:\Users\Socke\Desktop\S4 Hack.au3 (24) : ==> "Wend" statement with no matching "While" statement.:
WEnd
>Exit code: 1 Time: 0.212) kommt.Sagt bitte was es zu bedeuten hat und wie man es lößt.
Und nun zu der Frage also ich hab mir mal aus einem tut _MemoryWrite(0x00EF37A6,$OPEN,"0","char[2]") nur leide weiß ich nicht wie ich jetzt z.b jrjejwjojp(power)zu jejgjnjajr(range) ändern kann.
Das Script:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Example Hack Tutorial!", 247, 90, 192, 124)
$Checkbox1 = GUICtrlCreateCheckbox("Ghost Mode", 16, 24, 97, 17)
$Button1 = GUICtrlCreateButton("Start", 16, 56, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Exit", 128, 56, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
hile 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
_Hack()
Case $Button2
Exit
EndSwitch
WEnd
Func _Hack(); This is the functions which turns on the hacks when you start S4 League.
GUISetState(@SW_HIDE);
ToolTip("Start S4 League!",0,0); This is up in the corner which says Start S4 League!
$WAIT = ProcessWait("S4Client.exe"); Waiting For S4 League
$PID = ProcessExists("S4Client.exe"); He found S4Client.exe
Sleep(500);Takes a little break..
$OPEN = _MemoryOpen ($PID); The memory .. which makes the functions work.
If GUICtrlRead($Checkbox1) = 1 Then
_MemoryWrite(0x00FE26EA,$OPEN,"1","Float");This is a float value.
EndIf
If GUICtrlRead($Checkbox2) = 1 Then
_MemoryWrite(0x00EF37A6,$OPEN,"0","char[2]"); This is a string..
_MemoryWrite(0x00EF37D6,$OPEN,"0","char[2]"); This is another string with an other address.
_MemoryWrite(0x00EF3806,$OPEN,"0","char[2]")
EndIf
Exit
EndFunc