Aide autoItv3 script svp !

    Publicités

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

Status
Not open for further replies.
Aug 17, 2012
1,439
2
944
Chez Moi :p
www.wattpad.com
Salut j'ai un petit problème , je fais mon script mon koda et tout je compile bien mais quand je lance le cheat avec S4 ça me met un message du genre line 879 error ou un truc comme ça , donc s'il vous plaît aidez moi:svp:

PHP:
1#RequireAdmin
2#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
3#AutoIt3Wrapper_Icon=..\..\..\Program Files (x86)\alaplaya\S4League\S4League.ico
4#AutoIt3Wrapper_Compile_Both=y
5#AutoIt3Wrapper_UseX64=y
6#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
7#include <ButtonConstants.au3>
8#include <EditConstants.au3>
9#include <GUIConstantsEx.au3>
10#include <StaticConstants.au3>
11#include <WindowsConstants.au3>
12#Region ### START Koda GUI section ### Form=
13$Form1 = GUICreate("S4 TR44IN33R'S By -[L]olMan. v4", 615, 421, 192, 124)
14$Pic1 = GUICtrlCreatePic("C:\Users\Alexandre\Pictures\avatar2389991_1.gif", 264, -24, 353, 273)
15$Checkbox1 = GUICtrlCreateCheckbox("Infini SP (SP Infinis)", 24, 360, 225, 33)
16$Checkbox2 = GUICtrlCreateCheckbox("GodMode(Tombez pour voir :D)", 360, 352, 225, 33)
17$Checkbox3 = GUICtrlCreateCheckbox("1 HitKill(Tuez en un coup !)", 176, 328, 225, 33)
18$Checkbox4 = GUICtrlCreateCheckbox("Fast Fire(Donnez une balle 100 sortent :D", 24, 208, 225, 33)
19$Checkbox5 = GUICtrlCreateCheckbox("200 HP(Deja expliqué)", 8, 304, 225, 33)
20$Checkbox6 = GUICtrlCreateCheckbox("Infini Ammo(Balles infinies !)", 136, 256, 225, 33)
21$Checkbox7 = GUICtrlCreateCheckbox("Cut Speed(Un coup de dague et vitesse X4)", 368, 288, 225, 33)
22$Group1 = GUICtrlCreateGroup("Un petit cache-cheat ? XDDD Simple !!!!Go ^^", 16, 136, 233, 49)
23GUICtrlCreateGroup("", -99, -99, 1, 1)
24$Button1 = GUICtrlCreateButton("Start ! Mais coche avant =D", 8, 8, 233, 81)
25$Input1 = GUICtrlCreateInput("Gooooow =3 Click Thanks please D=", 392, 392, 161, 21)
26GUISetState(@SW_SHOW)
27#EndRegion ### END Koda GUI section ###

28While 1
 29   $nMsg = GUIGetMsg()
 30   Switch $nMsg
  31      Case $GUI_EVENT_CLOSE
 32           Exit
33
34Case $Button1
35cheat()
36Exit
37
38EndSwitch
39WEnd

40Func cheat()
ToolTip("En Attente d'S4League", 0, 0)
ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
Sleep(500)
45$OPEN = _MEMORYOPEN($PID)
_processsuspend("Aegis.exe")
_processsuspend("Aegis64.exe")
_processsuspend("HGWC.exe")
_processsuspend("S4Client.exe")
50_processsuspend("XTrap.xt")
Sleep (2000)
If GUICtrlRead ($Checkbox1) = 1 Then
_MEMORYWRITE(0x00472512   , $OPEN, "2348565979", "long")
EndIf
If GUICtrlRead ($Checkbox2) = 1 Then
_MEMORYWRITE(0x00504AF8   , $OPEN, "4226388112", "long")
EndIf
If GUICtrlRead ($Checkbox3) = 1 Then
60_MEMORYWRITE(0x00505469   , $OPEN, "1593591259", "long")
EndIf
If GUICtrlRead ($Checkbox4) = 1 Then
_MEMORYWRITE(0x0054A939   , $OPEN, "990399115", "long")
EndIf
If GUICtrlRead ($Checkbox5) = 1 Then
_MEMORYWRITE(0x00504A94  , $OPEN, "2348565979", "long")
EndIf
If GUICtrlRead ($Checkbox6) = 1 Then
_MEMORYWRITE(0x007614B2  , $OPEN, "3051982992", "long")
70EndIf
If GUICtrlRead ($Checkbox7) = 1 Then
_MEMORYWRITE(0x005FE35E  , $OPEN, "2240612458", "long")
EndIf
_memoryclose(ProcessExists("S4Client.exe"))
_processresume("Aegis.exe")
_processresume("Aegis64.exe")
_processresume("HGWC.exe")
_processresume("S4Client.exe")
_processresume("XTrap.xt")
80Exit 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)
90If IsArray($I_SUCESS) Then
Return 1
Else
SetError(1)
Return 0
EndIf
Else
SetError(2)
Return 0
EndIf
100EndFunc




Func _PROCESSRESUME($PROCESS)
$PROCESSID = ProcessExists($PROCESS)
If $PROCESSID Then
$AI_HANDLE = DllCall("kernel32.dll", "int", "OpenProcess", "int", 1102035711, "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
120Else
SetError(2)
Return 0
EndIf
124EndFunc
Je serais reconaissant a ceux qui n'en profitent pas pour vouler les values , ( celles de [L]iche alors j'ai pas peur )
 
Last edited:

-Mars.

Membre actif
Aug 21, 2012
164
0
221
25
Tu n'as pas mis le numéro de lignes, on ne vas pas s'amuser à conter. As-tu chercher ton erreur avant de faire ce topic ?
 
Aug 17, 2012
1,439
2
944
Chez Moi :p
www.wattpad.com
Oui , deux min je mets les lignes ...

---------- Message ajouté à 09h05 ---------- Le message précédent était à 08h59 ----------

Au bout de 40 j'ai pété un plomb , trop dur de tout cliquer et taper comme ça ... Si tu peux pas régler mon problème je vois pas pk tu viens gâcher mon topic ... Et puis sans compter quelqu'un qui connait sait , quels sont les problèmes !
 

-Mars.

Membre actif
Aug 21, 2012
164
0
221
25
Gacher ton topic ? Je voulais simplement t'aider, mais si tu parle au gens comme ça, tu risque pas de te faire aider.

Bonne continuation, & bon courage, revien demandé de l'aide quand tu sera plus aimable.
 

Dragty

V
Mar 21, 2012
1,017
0
942
Et bien la n'importe qui peut prendre ton script. et pour peu qu'il ai un ami qui connaissent un peu il a ton cheat sans rien faire et n'a plus qu'a posté *son* cheat :/.
 

Ice-Crack

Membre actif
May 6, 2011
495
0
742
28
Script corrigé ;)

#RequireAdmin

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

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("S4 TR44IN33R'S By -[L]olMan. v4", 615, 421, 192, 124)
$Pic1 = GUICtrlCreatePic("C:\Users\Alexandre\Pictures\avatar2389991_1.gif", 264, -24, 353, 273)
$Checkbox1 = GUICtrlCreateCheckbox("Infini SP (SP Infinis)", 24, 360, 225, 33)
$Checkbox2 = GUICtrlCreateCheckbox("GodMode(Tombez pour voir :D)", 360, 352, 225, 33)
$Checkbox3 = GUICtrlCreateCheckbox("1 HitKill(Tuez en un coup !)", 176, 328, 225, 33)
$Checkbox4 = GUICtrlCreateCheckbox("Fast Fire(Donnez une balle 100 sortent :D", 24, 208, 225, 33)
$Checkbox5 = GUICtrlCreateCheckbox("200 HP(Deja expliqué)", 8, 304, 225, 33)
$Checkbox6 = GUICtrlCreateCheckbox("Infini Ammo(Balles infinies !)", 136, 256, 225, 33)
$Checkbox7 = GUICtrlCreateCheckbox("Cut Speed(Un coup de dague et vitesse X4)", 368, 288, 225, 33)
$Group1 = GUICtrlCreateGroup("Un petit cache-cheat ? XDDD Simple !!!!Go ^^", 16, 136, 233, 49)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Start ! Mais coche avant =D", 8, 8, 233, 81)
$Input1 = GUICtrlCreateInput("Gooooow =3 Click Thanks please D=", 392, 392, 161, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1

$nMsg = GUIGetMsg()
Switch $nMsg

Case -3
Exit

Case $Button1
cheat()

EndSwitch
WEnd

Func cheat()
ToolTip("En Attente d'S4League", 0, 0)
$PID = ProcessWait("S4Client.exe")
Sleep(400)
_ProcessSuspend("HGWC.exe")
_ProcessSuspend("S4Client.exe")
$OPEN = _MEMORYOPEN($PID)
Sleep (1000)

If GUICtrlRead ($Checkbox1) = 1 Then
_MEMORYWRITE(0x00472512 , $OPEN, "2348565979", "long")
EndIf

If GUICtrlRead ($Checkbox2) = 1 Then
_MEMORYWRITE(0x00504AF8 , $OPEN, "4226388112", "long")
EndIf

If GUICtrlRead ($Checkbox3) = 1 Then
_MEMORYWRITE(0x00505469 , $OPEN, "1593591259", "long")
EndIf

If GUICtrlRead ($Checkbox4) = 1 Then
_MEMORYWRITE(0x0054A939 , $OPEN, "990399115", "long")
EndIf

If GUICtrlRead ($Checkbox5) = 1 Then
_MEMORYWRITE(0x00504A94 , $OPEN, "2348565979", "long")
EndIf

If GUICtrlRead ($Checkbox6) = 1 Then
_MEMORYWRITE(0x007614B2 , $OPEN, "3051982992", "long")
EndIf

If GUICtrlRead ($Checkbox7) = 1 Then
_MEMORYWRITE(0x005FE35E , $OPEN, "2240612458", "long")
EndIf

_MemoryClose($OPEN)
_ProcessResume("HGWC.exe")
_ProcessResume("S4Client.exe")
Exit

Endfunc





Func _ProcessSuspend($process)
$processid = ProcessExists($process)
If $processid Then
$ai_Handle = DllCall("kernel32.dll", 'int', 'OpenProcess', 'int', 0x1f0fff, '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', 0x1f0fff, '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

Erreurs :​
- Erreur dans la fonction "ResumeProcess" : La fonction n'était pas bonne, je t'en ai mis une autre.​

Cordialement, Ice.​
 
Status
Not open for further replies.