|
You last visited: Today at 17:22
Advertisement
AutoIT hilfe
Discussion on AutoIT hilfe within the S4 League forum part of the Shooter category.
03/17/2014, 14:56
|
#1
|
elite*gold: 0
Join Date: Oct 2012
Posts: 131
Received Thanks: 49
|
AutoIT hilfe
HI leute ich wollte einen autoIT hack schreiben und hat auch alles super funktioniert.....
dann wolte ich eine checkbox einbauen, mit der alle values und damit hacks zurückgesetzt werden naja nur habe ich dann das problem , dass nach der funktion sich das autoIT Programm einfach schließt (S4 bleibt offen) 
ich hofffe ihr könnt mir helfen
hier die funktionen die die probleme machen:
Code:
Func reset()
GUISwitch($Checkbox1) = 0
GUISwitch($Checkbox2) = 0
GUISwitch($Checkbox3) = 0
GUISwitch($Checkbox4) = 0
GUISwitch($Checkbox5) = 0
GUISwitch($Checkbox6) = 0
GUISwitch($Checkbox7) = 0
GUISwitch($Checkbox8) = 0
GUISwitch($Checkbox9) = 0
GUISwitch($Checkbox10) = 0
GUISwitch($Checkbox11) = 0
GUISwitch($Checkbox12) = 0
GUISwitch($Checkbox13) = 0
GUISwitch($Checkbox14) = 0
GUISwitch($Checkbox15) = 0
resetvalue()
EndFunc
Func resetvalue()
$pid = ProcessExists("S4Client.exe")
$open = _memoryopen($pid)
If GUICtrlRead($Checkbox1) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox2) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox3) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox4) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox5) = 0 Then
_memorywrite(xxx, $open, "xxx", "float")
endif
If GUICtrlRead($Checkbox6) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox7) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox8) = 0 Then
_memorywrite(xxx , $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox9) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox10) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox11) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox12) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox13) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox14) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox15) = 0 Then
_memorywrite(xxx, $open, "xxx", "long")
endif
If GUICtrlRead($Checkbox16) = 1 Then
reset()
Else
hackgo()
EndIf
Ja ich habe extra xxx eingefügt ^^
|
|
|
03/17/2014, 16:21
|
#2
|
elite*gold: 0
Join Date: May 2012
Posts: 1,342
Received Thanks: 1,496
|
This isn't a proper AutoIT code. You must post your full code to understand what's the problem.
|
|
|
03/17/2014, 18:11
|
#3
|
elite*gold: 0
Join Date: Oct 2012
Posts: 131
Received Thanks: 49
|
Quote:
Originally Posted by SilverEmerald
This isn't a proper AutoIT code. You must post your full code to understand what's the problem.
|
Quote:
#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\..\S4 L2round.ico
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_UseX64=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <NomadMemory.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=c:\users\--\desktop\meine hacks\autoit\form1.kxf
$Form1_1 = GUICreate("Form1", 613, 167, 198, 131)
GUISetBkColor(0xB4B4B4)
$Button2 = GUICtrlCreateButton("start game and bypass", 456, 16, 145, 33)
$Label1 = GUICtrlCreateLabel("MADE by mvenus2", 432, 152, 95, 17, $SS_CENTER)
$Checkbox1 = GUICtrlCreateCheckbox("Speed Hack (run)", 8, 8, 145, 25)
$Checkbox2 = GUICtrlCreateCheckbox("Insta Respawn", 8, 40, 105, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Inf SP", 8, 72, 73, 17)
$Checkbox4 = GUICtrlCreateCheckbox("God mode (maybe crash)", 8, 104, 153, 17)
$Checkbox5 = GUICtrlCreateCheckbox("Wall shoot", 8, 136, 81, 17)
$Checkbox6 = GUICtrlCreateCheckbox("Wall jump TP", 160, 8, 145, 25)
$Checkbox7 = GUICtrlCreateCheckbox("200 HP", 160, 40, 89, 17)
$Checkbox8 = GUICtrlCreateCheckbox("Damage x2", 160, 72, 145, 17)
$Checkbox9 = GUICtrlCreateCheckbox("Anchor Range", 160, 104, 89, 17)
$Checkbox10 = GUICtrlCreateCheckbox("1 Hit", 160, 136, 89, 17)
$Checkbox11 = GUICtrlCreateCheckbox("0 Gravity", 304, 8, 105, 25)
$Checkbox12 = GUICtrlCreateCheckbox("no laser", 304, 40, 81, 17)
$Checkbox13 = GUICtrlCreateCheckbox("Block HP", 304, 72, 97, 17)
$Checkbox14 = GUICtrlCreateCheckbox("Dodge Speed ", 304, 104, 97, 17)
$Checkbox15 = GUICtrlCreateCheckbox("Ennemy hp recovery ", 304, 136, 145, 17)
$Checkbox16 = GUICtrlCreateCheckbox("Deactivate hacks", 464, 64, 129, 41)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
hackgo()
EndSwitch
WEnd
func start()
$pid = ProcessExists("S4Client.exe")
$open = _memoryopen($pid)
If GUICtrlRead($Checkbox1) = 1 Then
_memorywrite(0x005EFCF4, $open, "2366073344", "long")
EndIf
If GUICtrlRead($Checkbox2) = 1 Then
_memorywrite(0x005FAE22, $open, "989874827", "long")
EndIf
If GUICtrlRead($Checkbox3) = 1 Then
_memorywrite(0x0048D3D2, $open, "2348565979", "long")
EndIf
If GUICtrlRead($Checkbox4) = 1 Then
_memorywrite(0x00529FC5, $open, "1592365200", "long")
EndIf
If GUICtrlRead($Checkbox5) = 1 Then
_memorywrite(0x01283FA0, $open, "1", "float")
EndIf
If GUICtrlRead($Checkbox6) = 1 Then
_memorywrite(0x0048D8E9, $open, "3641722331", "long")
EndIf
If GUICtrlRead($Checkbox7) = 1 Then
_memorywrite(0x00529F64, $open, "2348565979", "long")
EndIf
If GUICtrlRead($Checkbox8) = 1 Then
_memorywrite(0x004B0C9 , $open, "1300955754", "long")
EndIf
If GUICtrlRead($Checkbox9) = 1 Then
_memorywrite(0x00602F41, $open, "990071435", "long")
EndIf
If GUICtrlRead($Checkbox10) = 1 Then
_memorywrite(0x0052ACB9, $open, "1593591259", "long")
EndIf
If GUICtrlRead($Checkbox11) = 1 Then
_memorywrite(0x008F15AE, $open, "1166868842", "long")
EndIf
If GUICtrlRead($Checkbox12) = 1 Then
_memorywrite(0x0052BC05, $open, "1301115242", "long")
EndIf
If GUICtrlRead($Checkbox13) = 1 Then
_memorywrite(0x0079479D, $open, "2374697834", "long")
EndIf
If GUICtrlRead($Checkbox14) = 1 Then
_memorywrite(0x005EB83A, $open, "1166872682", "long")
EndIf
If GUICtrlRead($Checkbox15) = 1 Then
_memorywrite(0x0055C7FD, $open, "2332181979", "long")
EndIf
If GUICtrlRead($Checkbox16) = 1 Then
reset()
Else
hackgo()
EndIf
start()
EndFunc
Func reset()
GUISwitch($Checkbox1) = 0
GUISwitch($Checkbox2) = 0
GUISwitch($Checkbox3) = 0
GUISwitch($Checkbox4) = 0
GUISwitch($Checkbox5) = 0
GUISwitch($Checkbox6) = 0
GUISwitch($Checkbox7) = 0
GUISwitch($Checkbox8) = 0
GUISwitch($Checkbox9) = 0
GUISwitch($Checkbox10) = 0
GUISwitch($Checkbox11) = 0
GUISwitch($Checkbox12) = 0
GUISwitch($Checkbox13) = 0
GUISwitch($Checkbox14) = 0
GUISwitch($Checkbox15) = 0
resetvalue()
EndFunc
Func resetvalue()
$pid = ProcessExists("S4Client.exe")
$open = _memoryopen($pid)
If GUICtrlRead($Checkbox1) = 0 Then
_memorywrite(0x005EFCF4, $open, "2365811200", "long")
endif
If GUICtrlRead($Checkbox2) = 0 Then
_memorywrite(0x005FAE22, $open, "990136971", "long")
endif
If GUICtrlRead($Checkbox3) = 0 Then
_memorywrite(0x0048D3D2, $open, "2348565977", "long")
endif
If GUICtrlRead($Checkbox4) = 0 Then
_memorywrite(0x00529FC5, $open, "1592329594", "long")
endif
If GUICtrlRead($Checkbox5) = 0 Then
_memorywrite(0x01283FA0, $open, "2", "float")
endif
If GUICtrlRead($Checkbox6) = 0 Then
_memorywrite(0x0048D8E9, $open, "3641722329", "long")
endif
If GUICtrlRead($Checkbox7) = 0 Then
_memorywrite(0x00529F64, $open, "2348565977", "long")
endif
If GUICtrlRead($Checkbox8) = 0 Then
_memorywrite(0x004B0C9, $open, "1300955498", "long")
endif
If GUICtrlRead($Checkbox9) = 0 Then
_memorywrite(0x00602F41, $open, "990136971", "long")
endif
If GUICtrlRead($Checkbox10) = 0 Then
_memorywrite(0x0052ACB9, $open, "1593591257", "long")
endif
If GUICtrlRead($Checkbox11) = 0 Then
_memorywrite(0x008F15AE, $open, "1166869354", "long")
endif
If GUICtrlRead($Checkbox12) = 0 Then
_memorywrite(0x0052BC05, $open, "1301094762", "long")
endif
If GUICtrlRead($Checkbox13) = 0 Then
_memorywrite(0x0079479D, $open, "2374698346", "long")
endif
If GUICtrlRead($Checkbox14) = 0 Then
_memorywrite(0x005EB83A, $open, "1166869354", "long")
endif
If GUICtrlRead($Checkbox15) = 0 Then
_memorywrite(0x0055C7FD, $open, "2348565977", "long")
endif
If GUICtrlRead($Checkbox16) = 1 Then
reset()
Else
hackgo()
EndIf
start()
EndFunc
Func hackgo()
$pid = ProcessExists("S4Client.exe")
If $pid Then
start()
Else
$iPID = Run("Hackshield BeatUp Starter.exe")
$iPID = Run("HS_Injector")
ProcessWait("S4Client.exe")
Tooltip("spiel u bp starten automatisch...",0,0)
Sleep(1500)
Tooltip("",0,0)
start()
EndIf
endfunc
|
.
|
|
|
03/17/2014, 18:45
|
#4
|
elite*gold: 0
Join Date: May 2013
Posts: 827
Received Thanks: 359
|
Quote:
Originally Posted by mvenus2
.
|
Das mit dem Reset ist doch völlig sinnlos, mach es doch so.
PHP Code:
If GUICtrlRead($Checkbox1) = 1 Then _memorywrite(0x005EFCF4, $open, "hacked value", "long") else _memorywrite( 0x005EFCF4, $open, "normal value ", "long") EndIf
Wenn du Checkbox1 ingame deaktivierst, ändert sich die gehackte value wieder in die normale
|
|
|
03/17/2014, 19:43
|
#5
|
elite*gold: 0
Join Date: Oct 2012
Posts: 131
Received Thanks: 49
|
Quote:
Originally Posted by xAce™
Das mit dem Reset ist doch völlig sinnlos, mach es doch so.
PHP Code:
If GUICtrlRead($Checkbox1) = 1 Then
_memorywrite(0x005EFCF4, $open, "hacked value", "long")
else
_memorywrite( 0x005EFCF4, $open, "normal value ", "long")
EndIf
Wenn du Checkbox1 ingame deaktivierst, ändert sich die gehackte value wieder in die normale
|
jaja ich weiß hatte ich auch aber da is iwi das game immer gecrasht und so funzt es halbwegs nur das resetten eben net
|
|
|
03/17/2014, 20:06
|
#6
|
elite*gold: 0
Join Date: May 2013
Posts: 827
Received Thanks: 359
|
Add mich mal in Skype, bin mit dem Handy on kann dir aber kurz helfen.
|
|
|
03/18/2014, 18:40
|
#7
|
elite*gold: 0
Join Date: Jan 2013
Posts: 2,450
Received Thanks: 1,880
|
I think using Else Function is better, here is a code (Bad) :
Code:
Case $Checkbox1
$WAIT = ProcessWait("S4Client.exe")
$PID = ProcessExists("S4Client.exe")
$OPEN = _MemoryOpen ($PID)
if(GUICtrlRead($Checkbox1) = 1)Then
_MemoryWrite(Address,$open,HackedValue,"Type")
Else
_MemoryWrite(Address,$open,NormalValue,"Type")
EndIf
I tried using Ace's example, but didn't work.
|
|
|
All times are GMT +1. The time now is 17:25.
|
|