Help AutoIt

  • Partenaires

Utilisateurs qui regardent le poste (Total: 0, Members: 0, Invité: 0)

Statut
La discussion n'est pas ouverte à d'autres réponses
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Bonjour, j'ai crée un petit trainer en Autoitv3. Mais je rencontre un petit problème quand le trainer change les values cela me met une erreur ligne 1047 (Qui n'existe pas !) Pourriez-vous m'aider ? :svp:

Code:
#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_UseX64=y
#AutoIt3Wrapper_Res_Language=1036
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
$1HITKILL = 0x0051A179
$CUTSPEED = 0x0061595E
$GODMOD = 0x00519785
$INFINISP = 0x00481DA2
$INFINIAMMO = 0x00759882
$SPEEDHACK = 0x0055CFE3
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Ultima Trainer", 600, 417, 192, 124)
$Checkbox1 = GUICtrlCreateCheckbox("1HitKill", 80, 112, 58, 80)
$Checkbox2 = GUICtrlCreateCheckbox("CutSpeed", 32, 240, 58, 80)
$Checkbox3 = GUICtrlCreateCheckbox("GodMod", 280, 160, 58, 80)
$Checkbox4 = GUICtrlCreateCheckbox("InfiniSP", 256, 240, 58, 80)
$Checkbox5 = GUICtrlCreateCheckbox("InfiniAmmo", 310, 48, 72, 80)
$Checkbox6 = GUICtrlCreateCheckbox("SpeedHack", 436, 227, 72, 80)
$Start = GUICtrlCreateButton("Start", 192, 328, 161, 73)
$Label1 = GUICtrlCreateLabel("Crédit : Value : RainBowHack", 396, 385, 145, 17)
$Label2 = GUICtrlCreateLabel("            Createur du Trainer : Razorrt", 395, 402, 174, 17)
$Pic1 = GUICtrlCreatePic("C:\Users\asus\Desktop\user371978_pic145_1361013165.jpg", 395, 5, 220, 159)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
                 Case $Start
                           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 ($checkbox1) = 1 Then
         _MEMORYWRITE(0x0061595E, $OPEN, "1593591259", "Float")
 EndIf
        If GUICtrlRead ($checkbox2) = 1 Then
		 _MEMORYWRITE(0x00519785, $OPEN, "2240612458", "Float"
 EndIf
        If GUICtrlRead ($checkbox3) = 1 Then
		 _MEMORYWRITE(0x00481DA2, $OPEN, "3135869072", "Float"
 EndIf
        If GUICtrlRead ($checkbox4) = 1 Then
		 _MEMORYWRITE(0x00759882, $OPEN, "2348565979", "Float"
 EndIf
        If GUICtrlRead ($checkbox5) = 1 Then
		 _MEMORYWRITE(0x00519785, $OPEN, "3051982992", "Float"
 EndIf
        If GUICtrlRead ($checkbox6) = 1 Then
		 _MEMORYWRITE(0x0055CFE3, $OPEN, "4284253659", "Float"
 EndIf
  _MEMORYCLOSE(ProcessExists("S4Client.exe")) ;
  _processresume("Aegis.exe")
  _processresume("Aegis64.exe")
  _processresume("HGWC.exe")
  _processresume("S4Client.exe")
  _processresume("XTrap.xt")
  Exit
 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
 
Astropilot

Astropilot

The Lord
V.I.P
Level 5
Level 4
Level 3
Level 2
Level 1
6 Janv. 2011
9,283
18
1,254
France
Je ne vois pas la function processresum sans ton code

---------- Message ajouté à 12h26 ---------- Le message précédent était à 12h25 ----------

Et ou est l'utilité de créer des variables $cutspeed si tu ne les utilisent pas ?
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Et bien j'ai suivis un tuto qui ne parlais de rien de ça, je l'ai suivis à la lettre. Peux-tu m'expliquer ? ^^'
 
Astropilot

Astropilot

The Lord
V.I.P
Level 5
Level 4
Level 3
Level 2
Level 1
6 Janv. 2011
9,283
18
1,254
France
Tu as lu mon tuto ? Voici le lien:

---------- Message ajouté à 17h23 ---------- Le message précédent était à 17h19 ----------

J'ai refait ton code en recorrigeant:

Code:
#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_UseX64=y
#AutoIt3Wrapper_Res_Language=1036
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Ultima Trainer", 600, 417, 192, 124)
$Checkbox1 = GUICtrlCreateCheckbox("1HitKill", 80, 112, 58, 80)
$Checkbox2 = GUICtrlCreateCheckbox("CutSpeed", 32, 240, 58, 80)
$Checkbox3 = GUICtrlCreateCheckbox("GodMod", 280, 160, 58, 80)
$Checkbox4 = GUICtrlCreateCheckbox("InfiniSP", 256, 240, 58, 80)
$Checkbox5 = GUICtrlCreateCheckbox("InfiniAmmo", 310, 48, 72, 80)
$Checkbox6 = GUICtrlCreateCheckbox("SpeedHack", 436, 227, 72, 80)
$Start = GUICtrlCreateButton("Start", 192, 328, 161, 73)
$Label1 = GUICtrlCreateLabel("Crédit : Value : RainBowHack", 396, 385, 145, 17)
$Label2 = GUICtrlCreateLabel("            Createur du Trainer : Razorrt", 395, 402, 174, 17)
$Pic1 = GUICtrlCreatePic("C:\Users\asus\Desktop\user371978_pic145_1361013165.jpg", 395, 5, 220, 159)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
                 Case $Start
                           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 ($checkbox1) = 1 Then
         _MEMORYWRITE(0x0061595E, $OPEN, "1593591259", "Float")
 EndIf
        If GUICtrlRead ($checkbox2) = 1 Then
		 _MEMORYWRITE(0x00519785, $OPEN, "2240612458", "Float")
 EndIf
        If GUICtrlRead ($checkbox3) = 1 Then
		 _MEMORYWRITE(0x00481DA2, $OPEN, "3135869072", "Float")
 EndIf
        If GUICtrlRead ($checkbox4) = 1 Then
		 _MEMORYWRITE(0x00759882, $OPEN, "2348565979", "Float")
 EndIf
        If GUICtrlRead ($checkbox5) = 1 Then
		 _MEMORYWRITE(0x00519785, $OPEN, "3051982992", "Float")
 EndIf
        If GUICtrlRead ($checkbox6) = 1 Then
		 _MEMORYWRITE(0x0055CFE3, $OPEN, "4284253659", "Float")
 EndIf
  _MEMORYCLOSE(ProcessExists("S4Client.exe")) ;
  _processresume("Aegis.exe")
  _processresume("Aegis64.exe")
  _processresume("HGWC.exe")
  _processresume("S4Client.exe")
  _processresume("XTrap.xt")
  Exit
 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
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Je n'ai pas lu ton tuto, je ne l'avais pas vu, merci c'est sympa :D.
 
Astropilot

Astropilot

The Lord
V.I.P
Level 5
Level 4
Level 3
Level 2
Level 1
6 Janv. 2011
9,283
18
1,254
France
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Des que j'ouvre le launcher, ça ferme mon trainer, c'est normal? :0
 
Astropilot

Astropilot

The Lord
V.I.P
Level 5
Level 4
Level 3
Level 2
Level 1
6 Janv. 2011
9,283
18
1,254
France
Le launcher ? le patcher de s4 tu veux dire ?
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Oui, le patcher ^^
 
Astropilot

Astropilot

The Lord
V.I.P
Level 5
Level 4
Level 3
Level 2
Level 1
6 Janv. 2011
9,283
18
1,254
France
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Ça me le fais tout le temps :/.
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Merci de ton conseil (:.

---------- Message ajouté à 14h18 ---------- Le message précédent était à 12h51 ----------

Et maintenant le cheat ne fait rien du tout, il ne modifie aucune valeur :(.
 
Naytoka

Naytoka

Level 5
Level 4
Level 3
Level 2
Level 1
29 Mai 2012
773
1
924
31
Peut-être que tu as pris de mauvaise values , tu as utilisé le adress seacher ?
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
J'ai utilisé l'adress searcher du RainBowPack :(.
Edit: J'ai vérifié sur deux address searcher, ce sont les mêmes >.<.
En fait, mon trainer ne fait absolument j'ai l'impression.
Redit: J'ai changé Float en long. En fait mon trainer se ferme au bout de 10 sec, c'est pour ça qu'il ne fait rien. Solution ? :'(

---------- Message ajouté à 21h09 ---------- Le message précédent était à 17h07 ----------

J'ai suivie parfaitement ton tuto Astro mais toujours rien, je ne vois pas mon erreur :(
 
Dernière édition:
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Code:
[SPOILER="Code"]#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\..\Icone\header.icn.ico
#AutoIt3Wrapper_Outfile=Ultima Trainer v1 x86.exe
#AutoIt3Wrapper_Outfile_x64=Ultima Trainer v1 x64.exe
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_UseX64=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Ultima Trainer", 600, 417, 192, 124)
$Checkbox1 = GUICtrlCreateCheckbox("1HitKill", 80, 112, 58, 80)
$Checkbox2 = GUICtrlCreateCheckbox("CutSpeed", 32, 240, 58, 80)
$Checkbox3 = GUICtrlCreateCheckbox("GodMod", 280, 160, 58, 80)
$Checkbox4 = GUICtrlCreateCheckbox("InfiniSP", 256, 240, 58, 80)
$Checkbox5 = GUICtrlCreateCheckbox("InfiniAmmo", 310, 48, 72, 80)
$Checkbox6 = GUICtrlCreateCheckbox("SpeedHack", 436, 227, 72, 80)
$Start = GUICtrlCreateButton("Start", 192, 328, 161, 73)
$Label1 = GUICtrlCreateLabel("Crédit : Value : RainBowHack", 396, 385, 145, 17)
$Label2 = GUICtrlCreateLabel("            Createur du Trainer : Razorrt", 395, 402, 174, 17)
$Pic1 = GUICtrlCreatePic("C:\Users\asus\Desktop\user371978_pic145_1361013165.jpg", 395, 5, 220, 159)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
			; si le boutton est préssé
        Case $Start
			; lancez la fonction cheat()
			cheat()
	EndSwitch
WEnd


Func cheat()
    ToolTip("En Attente d'S4League.. ", 0, 0)
    ProcessWait("S4Client.exe")
	$PID = ProcessExists("S4Client.exe")
    Sleep(500)
	$OPEN = _MEMORYOPEN($PID)
    _processsuspend("HGWC.exe")
    _processsuspend("S4Client.exe")
    _processsuspend("XTrap.xt")
    Sleep (2000)
If GUICtrlRead ($Checkbox1) = 1 Then
    _MEMORYWRITE(0x0061595E, $OPEN, "1593591259", "long"
EndIf
If GUICtrlRead ($Checkbox2) = 1 Then
    _MEMORYWRITE(0x00519785, $OPEN, "2240612458", "long")
EndIf
If GUICtrlRead ($Checkbox3) = 1 Then
    _MEMORYWRITE(0x00481DA2, $OPEN, "3135869072", "long")
EndIf
If GUICtrlRead ($Checkbox4) = 1 Then
    _MEMORYWRITE(0x00759882, $OPEN, "2348565979", "long")
EndIf
If GUICtrlRead ($Checkbox5) = 1 Then
    _MEMORYWRITE(0x00519785, $OPEN, "3051982992", "long")
EndIf
If GUICtrlRead ($Checkbox6) = 1 Then
    _MEMORYWRITE(0x0055CFE3, $OPEN, "4284253659", "long")
EndIf
_MEMORYCLOSE(ProcessExists("S4Client.exe")) ;
    _PROCESSRESUME("HGWC.exe")
    _PROCESSRESUME("S4Client.exe")
    _PROCESSRESUME("XTrap.xt")
	MsgBox(0,"Le(s) cheat(s) sélectionné(s) ont été activé(s)")
    Exit
    Sleep(2000)
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[/SPOILER]
 
C

corie14

Nouveau membre
12 Fév. 2013
3
0
201
bn voici le bonne je vien modifier tienne look si ces bon ;~ global $fast_fire_ini_value = _mread($var0804, $var0841)
;~ global $fast_fire_1_used = 1
;~ global $fast_fire_adress = $var0804
;~ global $fast_fire_adress1 = 1
;~ global $fast_fire_ini_value1 = 1
;~ _mwrt($var0804, $var0841, "990399115", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($fast_fire_0) = 1 or desactivate_fast_fire() and $fast_fire_adress1 = 1 and $fast_fire_ini_value1 = 1 and $fast_fire_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $fast_fire_1_used = 0
;~ global $fast_fire_key_push = 0
;~ global $fast_fire_key_unpush = 1
;~ guictrlsetstate($fast_fire_0, $gui_checked)
;~ _mwrt($fast_fire_adress, $var0841, $fast_fire_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($sentry_range_1) = 1 or activate_sentry_range() and $sentry_range_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($sentry_range_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0805 = search($var0841, "d9 45 fc d9 05", false, 0x00400000, 0x00900000)
;~ if $var0805 = 0 then
;~ msgbox(0, "trainer", "sentry range fail...", 2)
;~ global $sentry_range_1_used = 0
;~ global $sentry_range_key_unpush = 1
;~ global $sentry_range_key_push = 1
;~ guictrlsetstate($sentry_range_0, $gui_checked)
;~ else

;~ global $sentry_range_ini_value = _mread($var0805, $var0841)
;~ global $sentry_range_1_used = 1
;~ global $sentry_range_adress = $var0805
;~ global $sentry_range_adress1 = 1
;~ global $sentry_range_ini_value1 = 1
;~ _mwrt($var0805, $var0841, "3657188827", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($sentry_range_0) = 1 or desactivate_sentry_range() and $sentry_range_adress1 = 1 and $sentry_range_ini_value1 = 1 and $sentry_range_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $sentry_range_1_used = 0
;~ global $sentry_range_key_push = 0
;~ global $sentry_range_key_unpush = 1
;~ guictrlsetstate($sentry_range_0, $gui_checked)
;~ _mwrt($sentry_range_adress, $var0841, $sentry_range_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($oneshoot_1) = 1 or activate_oneshoot() and $oneshoot_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($oneshoot_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0806 = search($var0841, "d9 45 fc 5e 8b e5 5d c2 04", false, 0x00400000, 0x00900000)
;~ if $var0806 = 0 then
;~ msgbox(0, "trainer", "one shoot fail...", 2)
;~ global $oneshoot_1_used = 0
;~ global $oneshoot_key_unpush = 1
;~ global $oneshoot_key_push = 1
;~ guictrlsetstate($oneshoot_0, $gui_checked)
;~ else

;~ global $oneshoot_ini_value = _mread($var0806, $var0841)
;~ global $oneshoot_1_used = 1
;~ global $oneshoot_adress = $var0806
;~ global $oneshoot_adress1 = 1
;~ global $oneshoot_ini_value1 = 1
;~ _mwrt($var0806, $var0841, "1593591259", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($oneshoot_0) = 1 or desactivate_oneshoot() and $oneshoot_adress1 = 1 and $oneshoot_ini_value1 = 1 and $oneshoot_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $oneshoot_1_used = 0
;~ global $oneshoot_key_push = 0
;~ global $oneshoot_key_unpush = 1
;~ guictrlsetstate($oneshoot_0, $gui_checked)
;~ _mwrt($oneshoot_adress, $var0841, $oneshoot_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($damage_x2_1) = 1 or activate_damage_x2() and $damage_x2_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($damage_x2_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0807 = search($var0841, "6a 01 8b 4d 0c 51 8b 4d e4 e8 37 00 00 00 8b 55 e4 8b 42 04 89 45 ec 8b 4d ec 89 4d f4 8b 55 f4 89 55 e8 8b 45 fc 6b c0", false, 0x00400000, 0x00900000)
;~ if $var0807 = 0 then
;~ msgbox(0, "trainer", "one shoot fail...", 2)
;~ global $damage_x2_1_used = 0
;~ global $damage_x2_key_unpush = 1
;~ global $damage_x2_key_push = 1
;~ guictrlsetstate($damage_x2_0, $gui_checked)
;~ else

;~ global $damage_x2_ini_value = _mread($var0807, $var0841)
;~ global $damage_x2_1_used = 1
;~ global $damage_x2_adress = $var0807
;~ global $damage_x2_adress1 = 1
;~ global $damage_x2_ini_value1 = 1
;~ _mwrt($var0807, $var0841, "1300955754", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($damage_x2_0) = 1 or desactivate_damage_x2() and $damage_x2_adress1 = 1 and $damage_x2_ini_value1 = 1 and $damage_x2_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $damage_x2_1_used = 0
;~ global $damage_x2_key_push = 0
;~ global $damage_x2_key_unpush = 1
;~ guictrlsetstate($damage_x2_0, $gui_checked)
;~ _mwrt($damage_x2_adress, $var0841, $damage_x2_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($wj_height_1) = 1 or activate_wj_height() and $wj_height_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($wj_height_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0808 = search($var0841, "6a 2f 8d 4d 84 51 e8", false, 0x00400000, 0x0f000000)
;~ if $var0808 = 0 then
;~ msgbox(0, "trainer", "one shoot fail...", 2)
;~ global $wj_height_1_used = 0
;~ global $wj_height_key_unpush = 1
;~ global $wj_height_key_push = 1
;~ guictrlsetstate($wj_height_0, $gui_checked)
;~ else

;~ global $wj_height_ini_value = _mread($var0808, $var0841)
;~ global $wj_height_1_used = 1
;~ global $wj_height_adress = $var0808
;~ global $wj_height_adress1 = 1
;~ global $wj_height_ini_value1 = 1
;~ _mwrt($var0808, $var0841, "1301101162", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($wj_height_0) = 1 or desactivate_wj_height() and $wj_height_adress1 = 1 and $wj_height_ini_value1 = 1 and $wj_height_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $wj_height_1_used = 0
;~ global $wj_height_key_push = 0
;~ global $wj_height_key_unpush = 1
;~ guictrlsetstate($wj_height_0, $gui_checked)
;~ _mwrt($wj_height_adress, $var0841, $wj_height_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif


;~ if guictrlread($instant_respawn_1) = 1 or activate_instant_respawn() and $instant_respawn_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($instant_respawn_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0809 = search($var0841,"8b 4a 04 3b 48 08 1b d2 83 c2 01 0f b6 c2 85 c0 0f 85 43", false, 0x00400000, 0x0f000000)
;~ if $var0809 = 0 then
;~ msgbox(0, "trainer", "instant respawn fail...", 2)
;~ global $instant_respawn_1_used = 0
;~ global $instant_respawn_key_unpush = 1
;~ global $instant_respawn_key_push = 1
;~ guictrlsetstate($instant_respawn_0, $gui_checked)
;~ else
;~ global $instant_respawn_ini_value = _mread($var0809, $var0841)
;~ global $instant_respawn_1_used = 1
;~ global $instant_respawn_adress = $var0809
;~ global $instant_respawn_adress1 = 1
;~ global $instant_respawn_ini_value1 = 1
;~ _mwrt( $var0809, $var0841, "989874827", "long")

;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($instant_respawn_0) = 1 or desactivate_instant_respawn() and $instant_respawn_adress1 = 1 and $instant_respawn_ini_value1 = 1 and $instant_respawn_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $instant_respawn_1_used = 0
;~ global $instant_respawn_key_push = 0
;~ global $instant_respawn_key_unpush = 1
;~ guictrlsetstate($instant_respawn_0, $gui_checked)
;~ _mwrt($instant_respawn_adress, $var0841, $instant_respawn_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ wend
;~ global $fast_fire_ini_value = _mread($var0804, $var0841)
;~ global $fast_fire_1_used = 1
;~ global $fast_fire_adress = $var0804
;~ global $fast_fire_adress1 = 1
;~ global $fast_fire_ini_value1 = 1
;~ _mwrt($var0804, $var0841, "990399115", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($fast_fire_0) = 1 or desactivate_fast_fire() and $fast_fire_adress1 = 1 and $fast_fire_ini_value1 = 1 and $fast_fire_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $fast_fire_1_used = 0
;~ global $fast_fire_key_push = 0
;~ global $fast_fire_key_unpush = 1
;~ guictrlsetstate($fast_fire_0, $gui_checked)
;~ _mwrt($fast_fire_adress, $var0841, $fast_fire_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($sentry_range_1) = 1 or activate_sentry_range() and $sentry_range_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($sentry_range_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0805 = search($var0841, "d9 45 fc d9 05", false, 0x00400000, 0x00900000)
;~ if $var0805 = 0 then
;~ msgbox(0, "trainer", "sentry range fail...", 2)
;~ global $sentry_range_1_used = 0
;~ global $sentry_range_key_unpush = 1
;~ global $sentry_range_key_push = 1
;~ guictrlsetstate($sentry_range_0, $gui_checked)
;~ else

;~ global $sentry_range_ini_value = _mread($var0805, $var0841)
;~ global $sentry_range_1_used = 1
;~ global $sentry_range_adress = $var0805
;~ global $sentry_range_adress1 = 1
;~ global $sentry_range_ini_value1 = 1
;~ _mwrt($var0805, $var0841, "3657188827", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($sentry_range_0) = 1 or desactivate_sentry_range() and $sentry_range_adress1 = 1 and $sentry_range_ini_value1 = 1 and $sentry_range_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $sentry_range_1_used = 0
;~ global $sentry_range_key_push = 0
;~ global $sentry_range_key_unpush = 1
;~ guictrlsetstate($sentry_range_0, $gui_checked)
;~ _mwrt($sentry_range_adress, $var0841, $sentry_range_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($oneshoot_1) = 1 or activate_oneshoot() and $oneshoot_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($oneshoot_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0806 = search($var0841, "d9 45 fc 5e 8b e5 5d c2 04", false, 0x00400000, 0x00900000)
;~ if $var0806 = 0 then
;~ msgbox(0, "trainer", "one shoot fail...", 2)
;~ global $oneshoot_1_used = 0
;~ global $oneshoot_key_unpush = 1
;~ global $oneshoot_key_push = 1
;~ guictrlsetstate($oneshoot_0, $gui_checked)
;~ else

;~ global $oneshoot_ini_value = _mread($var0806, $var0841)
;~ global $oneshoot_1_used = 1
;~ global $oneshoot_adress = $var0806
;~ global $oneshoot_adress1 = 1
;~ global $oneshoot_ini_value1 = 1
;~ _mwrt($var0806, $var0841, "1593591259", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($oneshoot_0) = 1 or desactivate_oneshoot() and $oneshoot_adress1 = 1 and $oneshoot_ini_value1 = 1 and $oneshoot_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $oneshoot_1_used = 0
;~ global $oneshoot_key_push = 0
;~ global $oneshoot_key_unpush = 1
;~ guictrlsetstate($oneshoot_0, $gui_checked)
;~ _mwrt($oneshoot_adress, $var0841, $oneshoot_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($damage_x2_1) = 1 or activate_damage_x2() and $damage_x2_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($damage_x2_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0807 = search($var0841, "6a 01 8b 4d 0c 51 8b 4d e4 e8 37 00 00 00 8b 55 e4 8b 42 04 89 45 ec 8b 4d ec 89 4d f4 8b 55 f4 89 55 e8 8b 45 fc 6b c0", false, 0x00400000, 0x00900000)
;~ if $var0807 = 0 then
;~ msgbox(0, "trainer", "one shoot fail...", 2)
;~ global $damage_x2_1_used = 0
;~ global $damage_x2_key_unpush = 1
;~ global $damage_x2_key_push = 1
;~ guictrlsetstate($damage_x2_0, $gui_checked)
;~ else

;~ global $damage_x2_ini_value = _mread($var0807, $var0841)
;~ global $damage_x2_1_used = 1
;~ global $damage_x2_adress = $var0807
;~ global $damage_x2_adress1 = 1
;~ global $damage_x2_ini_value1 = 1
;~ _mwrt($var0807, $var0841, "1300955754", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($damage_x2_0) = 1 or desactivate_damage_x2() and $damage_x2_adress1 = 1 and $damage_x2_ini_value1 = 1 and $damage_x2_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $damage_x2_1_used = 0
;~ global $damage_x2_key_push = 0
;~ global $damage_x2_key_unpush = 1
;~ guictrlsetstate($damage_x2_0, $gui_checked)
;~ _mwrt($damage_x2_adress, $var0841, $damage_x2_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($wj_height_1) = 1 or activate_wj_height() and $wj_height_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($wj_height_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0808 = search($var0841, "6a 2f 8d 4d 84 51 e8", false, 0x00400000, 0x0f000000)
;~ if $var0808 = 0 then
;~ msgbox(0, "trainer", "one shoot fail...", 2)
;~ global $wj_height_1_used = 0
;~ global $wj_height_key_unpush = 1
;~ global $wj_height_key_push = 1
;~ guictrlsetstate($wj_height_0, $gui_checked)
;~ else

;~ global $wj_height_ini_value = _mread($var0808, $var0841)
;~ global $wj_height_1_used = 1
;~ global $wj_height_adress = $var0808
;~ global $wj_height_adress1 = 1
;~ global $wj_height_ini_value1 = 1
;~ _mwrt($var0808, $var0841, "1301101162", "long")
;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($wj_height_0) = 1 or desactivate_wj_height() and $wj_height_adress1 = 1 and $wj_height_ini_value1 = 1 and $wj_height_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $wj_height_1_used = 0
;~ global $wj_height_key_push = 0
;~ global $wj_height_key_unpush = 1
;~ guictrlsetstate($wj_height_0, $gui_checked)
;~ _mwrt($wj_height_adress, $var0841, $wj_height_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif


;~ if guictrlread($instant_respawn_1) = 1 or activate_instant_respawn() and $instant_respawn_1_used = 0 and processexists("s4client.exe") > 0 then
;~ guictrlsetstate($instant_respawn_1, $gui_checked)
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ $var0809 = search($var0841,"8b 4a 04 3b 48 08 1b d2 83 c2 01 0f b6 c2 85 c0 0f 85 43", false, 0x00400000, 0x0f000000)
;~ if $var0809 = 0 then
;~ msgbox(0, "trainer", "instant respawn fail...", 2)
;~ global $instant_respawn_1_used = 0
;~ global $instant_respawn_key_unpush = 1
;~ global $instant_respawn_key_push = 1
;~ guictrlsetstate($instant_respawn_0, $gui_checked)
;~ else
;~ global $instant_respawn_ini_value = _mread($var0809, $var0841)
;~ global $instant_respawn_1_used = 1
;~ global $instant_respawn_adress = $var0809
;~ global $instant_respawn_adress1 = 1
;~ global $instant_respawn_ini_value1 = 1
;~ _mwrt( $var0809, $var0841, "989874827", "long")

;~ soundplay($local_files & "\bip.mp3")
;~ endif
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ if guictrlread($instant_respawn_0) = 1 or desactivate_instant_respawn() and $instant_respawn_adress1 = 1 and $instant_respawn_ini_value1 = 1 and $instant_respawn_1_used = 1 and processexists("s4client.exe") > 0 then
;~ _prcsus("hgwc.exe")
;~ _prcsus("s4client.exe")
;~ global $instant_respawn_1_used = 0
;~ global $instant_respawn_key_push = 0
;~ global $instant_respawn_key_unpush = 1
;~ guictrlsetstate($instant_respawn_0, $gui_checked)
;~ _mwrt($instant_respawn_adress, $var0841, $instant_respawn_ini_value , "long")
;~ soundplay($local_files & "\bop.mp3")
;~ _prcres("hgwc.exe")
;~ _prcres("s4client.exe")
;~ endif
;~ wend
;~ wend #CE

---------- Message ajouté à 20h09 ---------- Le message précédent était à 20h07 ----------

si ta un autre go me mp sur mon skype geraldmanue
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Ceci est ton trainer, je n'utilise pas ceux des autres, je voudrais juste résoudre mon problème :/.
 
Nayres

Nayres

Membre Banni
15 Avr. 2012
3,431
0
341
Quelque part.
Apres cheat() dans le while, reviens a la ligne et mets Exit, et enleve les commentaires dans ton code c'est useless.
 
C

corie14

Nouveau membre
12 Fév. 2013
3
0
201
bizare je fait chez moi sa marche pk chez vous nn
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
En rajoutant le exit, j'ai une erreur "Error: Error parsing function call"
 
Astropilot

Astropilot

The Lord
V.I.P
Level 5
Level 4
Level 3
Level 2
Level 1
6 Janv. 2011
9,283
18
1,254
France
Sinon passe au vb.net :p
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Si tu fais un tuto :p
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Bah, si ça t'amuse ^-^ :3
 
Astropilot

Astropilot

The Lord
V.I.P
Level 5
Level 4
Level 3
Level 2
Level 1
6 Janv. 2011
9,283
18
1,254
France
Heu convertir ? xDDD
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
Transformer si tu préfères xD. Enfin je crois ^-^
 
Astropilot

Astropilot

The Lord
V.I.P
Level 5
Level 4
Level 3
Level 2
Level 1
6 Janv. 2011
9,283
18
1,254
France
Heu ça doit être épique ! xD
Va falloir que tu te tape la partie graphique et l'adapter au code ^^'
 
razorrt

razorrt

Level 4
Level 3
Level 2
Level 1
2 Oct. 2010
387
8
924
xD, j'avoue que c'est un peu chaud :3.
 
Statut
La discussion n'est pas ouverte à d'autres réponses