autoIt 3 scripte erreur

    Publicités

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Status
Not open for further replies.
Jul 11, 2012
1,494
0
341
Dans l'oscurité
Voila j'ai suivis son tuto a lettre sauf pour les value mais j'ai d'autre . Je compile et il me mets 3erreure mais comme je suis nouveaux en programmation je comprends pas .

Quel est le problème ?
Tutorial de : http://www.cheat-gam3.com/1-cours-pour-debutant/tuto-cree-cheat-s4league-40487/


#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\S4League.ico
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_UseX64=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <NomadMemory.au3
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("[L]Iche trainer †", 326, 207, 351, 258)
$Button2 = GUICtrlCreateButton("Start", 112, 128, 57, 33)
$Godmode = GUICtrlCreateCheckbox("Godmode", 8, 16, 89, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$NMSG = GUIGetMsg()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Bbutton 1
cheat()
Exit

EndSwitch
WEnd

Func cheat()
ToolTip("En Attente d'S4League", 0, 0)
ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
Sleep(500)
$OPEN = _MEMORYOPEN($PID)
processsuspend("Aegis.exe")
_processsuspend("Aegis64.exe")
_processsuspend("HGWC.exe")
_processsuspend("S4Client.exe")
_processsuspend("XTrap.xt")
Sleep (2000)
If GUICtrlRead (Godmode) = 1 Then
_MEMORYWRITE(0x005040E8 $OPEN, "4226388112", "4 Bytes")
EndIf
_memoryclose(ProcessExists("S4Client.exe"))
_processresume("Aegis.exe")
_processresume("Aegis64.exe")
_processresume("HGWC.exe")
_processresume("S4Client.exe")
_processresume("XTrap.xt")
Exit 0
Endfunc

Func _processsuspend($PROCESS)
$PROCESSID = ProcessExists($PROCESS)
If $PROCESSID Then
$AI_HANDLE = DllCall("kernel32.dll", "int", "OpenProcess", "int", 2035711, "int", False, "int", $PROCESSID)
$I_SUCESS = DllCall("ntdll.dll", "int", "NtSuspendProcess", "int", $AI_HANDLE[0])
DllCall("kernel32.dll", "ptr", "CloseHandle", "ptr", $AI_HANDLE)
If IsArray($I_SUCESS) Then
Return 1
Else
SetError(1)
Return 0
EndIf
Else
SetError(2)
Return 0
EndIf
EndFunc

Func _PROCESSRESUME($PROCESS)
$PROCESSID = ProcessExists($PROCESS)
If $PROCESSID Then
$AI_HANDLE = DllCall("kernel32.dll", "int", "OpenProcess", "int", 2035711, "int", False, "int", $PROCESSID)
$I_SUCESS = DllCall("ntdll.dll", "int", "NtResumeProcess", "int", $AI_HANDLE[0])
DllCall("kernel32.dll", "ptr", "CloseHandle", "ptr", $AI_HANDLE)
If IsArray($I_SUCESS) Then
Return 1
Else
SetError(1)
Return 0
EndIf
Else
SetError(2)
Return 0
EndIf
EndFunc
 
Last edited:
Jul 11, 2012
1,494
0
341
Dans l'oscurité
Les erreurs sont : #include <NomadMemory.au3
Error : illégal character in include directive

Case $Bbutton 1
ERROR : syntax error

$OPEN = _MEMORYOPEN($PID)
Error :_memoryopen () : undefined fonction

processsuspend("Aegis.exe")
ERROR : process supend () :undefined fonction

If GUICtrlRead (Godmode) = 1 Then
ERROR :_Memorywrite (): undefined fonction

emoryclose(ProcessExists("S4Client.exe"))
ERROR : _memoryclose() :undefined fonction

 

TheHardButcher

Programmeur C/C++
V
Dec 14, 2009
1,461
58
964
France
Les erreurs sont en couleurs :

#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\S4League.ico
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_UseX64=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <NomadMemory.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("[L]Iche trainer †", 326, 207, 351, 258)
$Button2 = GUICtrlCreateButton("Start", 112, 128, 57, 33)
$Godmode = GUICtrlCreateCheckbox("Godmode", 8, 16, 89, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$NMSG = GUIGetMsg()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
cheat()
Exit

EndSwitch
WEnd

Func cheat()
ToolTip("En Attente d'S4League", 0, 0)
ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
Sleep(500)
$OPEN = _MEMORYOPEN($PID)
processsuspend("Aegis.exe")
_processsuspend("Aegis64.exe")
_processsuspend("HGWC.exe")
_processsuspend("S4Client.exe")
_processsuspend("XTrap.xt")
Sleep (2000)
If GUICtrlRead (Godmode) = 1 Then
_MEMORYWRITE(0x005040E8 $OPEN, "4226388112", "4 Bytes")
EndIf
_memoryclose(ProcessExists("S4Client.exe"))
_processresume("Aegis.exe")
_processresume("Aegis64.exe")
_processresume("HGWC.exe")
_processresume("S4Client.exe")
_processresume("XTrap.xt")
Exit 0
Endfunc

Func _processsuspend($PROCESS)
$PROCESSID = ProcessExists($PROCESS)
If $PROCESSID Then
$AI_HANDLE = DllCall("kernel32.dll", "int", "OpenProcess", "int", 2035711, "int", False, "int", $PROCESSID)
$I_SUCESS = DllCall("ntdll.dll", "int", "NtSuspendProcess", "int", $AI_HANDLE[0])
DllCall("kernel32.dll", "ptr", "CloseHandle", "ptr", $AI_HANDLE)
If IsArray($I_SUCESS) Then
Return 1
Else
SetError(1)
Return 0
EndIf
Else
SetError(2)
Return 0
EndIf
EndFunc

Func _PROCESSRESUME($PROCESS)
$PROCESSID = ProcessExists($PROCESS)
If $PROCESSID Then
$AI_HANDLE = DllCall("kernel32.dll", "int", "OpenProcess", "int", 2035711, "int", False, "int", $PROCESSID)
$I_SUCESS = DllCall("ntdll.dll", "int", "NtResumeProcess", "int", $AI_HANDLE[0])
DllCall("kernel32.dll", "ptr", "CloseHandle", "ptr", $AI_HANDLE)
If IsArray($I_SUCESS) Then
Return 1
Else
SetError(1)
Return 0
EndIf
Else
SetError(2)
Return 0
EndIf
EndFunc


$OPEN = _MEMORYOPEN($PID)
Error :_memoryopen () : undefined fonction

processsuspend("Aegis.exe")
ERROR : process supend () :undefined fonction

If GUICtrlRead (Godmode) = 1 Then
ERROR :_Memorywrite (): undefined fonction

emoryclose(ProcessExists("S4Client.exe"))
ERROR : _memoryclose() :undefined fonction

-> Erreur suite au fichier mal inclut


Dit nous si tu as d'autre erreurs !
 
Jul 11, 2012
1,494
0
341
Dans l'oscurité
A d'accord merci oui il me en reste 3 . :

processsuspend("Aegis.exe")
ERROR : process supend () :undefined fonction

If GUICtrlRead (Godmode) = 1 Then
ERROR : syntax error

_MEMORYWRITE(0x005040E8 $OPEN, "4226388112", "4 Bytes")
ERROR : syntax error
 
Status
Not open for further replies.