AutoIT hilfe

03/17/2014 14:56 mvenus2#1
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 SilverEmerald#2
This isn't a proper AutoIT code. You must post your full code to understand what's the problem.
03/17/2014 18:11 mvenus2#3
Quote:
Originally Posted by SilverEmerald View Post
This isn't a proper AutoIT code. You must post your full code to understand what's the problem.
Quote:
.
03/17/2014 18:45 xAce™#4
Quote:
Originally Posted by mvenus2 View Post
.
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
 
_memorywrite0x005EFCF4$open"normal value ""long")
EndIf 
Wenn du Checkbox1 ingame deaktivierst, ändert sich die gehackte value wieder in die normale
03/17/2014 19:43 mvenus2#5
Quote:
Originally Posted by xAce™ View Post
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
 
_memorywrite0x005EFCF4$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 xAce™#6
Add mich mal in Skype, bin mit dem Handy on kann dir aber kurz helfen.
03/18/2014 18:40 xKemya#7
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.