AutoIt trainer error

09/26/2012 21:58 hacknopi#1
habe noch ein broplehm mit einen trainer den ich erstellen möchet,
kommt immer AutoIt Error

fehlermeldung !!!

Line14 (file"C:\User\manuel\Desktop\AutoIt v3 Scribt (trainer for s4):"
#include<NomadMemory.au3>
Error: Error opening the file

kann es sein das ich ein fehler in der zeile 14 habe. mfg

HTML Code:
#RequireAdmin
#include <NomadMemory.au3>
#include <GUIConstants.au3>
Const $ SE_PRIVILEGE_ENABLED = 0x0002
$Form1_1 = GUICreate("S4 League Hack", 293, 445, 214, 138)
$Checkbox1 = GUICtrlCreateCheckbox("SP Hack", 8, 16, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("HP Hack", 8, 32, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox("ArmorHack", 8, 80, 97, 17)
$Checkbox5 = GUICtrlCreateCheckbox("God Mode", 8, 64, 97, 17)
$Checkbox6 = GUICtrlCreateCheckbox("Ghostmode", 8, 48, 97, 17)
$Checkbox7 = GUICtrlCreateCheckbox("+7Stats", 8, 192, 97, 17)
$Checkbox8 = GUICtrlCreateCheckbox("Speed Hack", 8, 176, 97, 17)
$Checkbox9 = GUICtrlCreateCheckbox("NoFumbi", 8, 224, 97, 17)
$Checkbox10 = GUICtrlCreateCheckbox("Block Hack", 8, 208, 97, 17)
$Button1 = GUICtrlCreateButton("Start", 160, 176, 115, 49, 0)
$Radio1 = GUICtrlCreateRadio("Damage x2", 176, 104, 73, 17)
$Radio2 = GUICtrlCreateRadio("Damage x4", 176, 120, 73, 17)
$Radio3 = GUICtrlCreateRadio("Damage x6", 176, 136, 73, 17)
$Radio4 = GUICtrlCreateRadio("Walljump x2", 176, 40, 81, 17)
$Radio5 = GUICtrlCreateRadio("Walljump x4", 176, 56, 81, 17)
$Group1 = GUICtrlCreateGroup("WallJump", 168, 24, 97, 57)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group2 = GUICtrlCreateGroup("DamageHack", 168, 88, 97, 73)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Checkbox12 = GUICtrlCreateCheckbox("Shophack", 8, 96, 97, 17)
$Checkbox13 = GUICtrlCreateCheckbox("WallShot", 8, 112, 97, 17)
$Checkbox14 = GUICtrlCreateCheckbox("Fastfire", 8, 128, 97, 17)
$Checkbox15 = GUICtrlCreateCheckbox("Instant Respawm", 8, 144, 97, 17)
$Checkbox16 = GUICtrlCreateCheckbox("1 Hit Kill", 8, 160, 97, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Reichweite", 8, 240, 97, 17)
$Button2 = GUICtrlCreateButton("Thread on Epvp*", 160, 232, 115, 41, 0)
$Button3 = GUICtrlCreateButton("Createt By Dark_Elite", 8, 280, 275, 33, 0)
$Button4 = GUICtrlCreateButton("Give me a THANX", 8, 384, 275, 49, 0)
GUISetState(@SW_SHOW)

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case -3
			Exit
		Case $Button1
			_Start()
	EndSwitch
WEnd

Func _Start()
	$S4 = 0x00C4912
	ProcessWait("S4Client.exe")
	ToolTip("S4Client starten ...", 0, 0)
	$PID = ProcessExists("S4Client.exe")
	$OPEN = _MEMORYOPEN($PID)
	_MEMORYWRITE($S4, $OPEN, 99999, "Float")
	_MemoryClose($OPEN)
	Exit
EndFunc   ;==>_Start
09/26/2012 22:15 Kevins007#2
Quote:
Originally Posted by hacknopi View Post
habe noch ein broplehm mit einen trainer den ich erstellen möchet,
kommt immer AutoIt Error
Srsly?
----------

[Only registered and activated users can see links. Click Here To Register...]

Bitte darein!
09/26/2012 22:21 hacknopi#3
so besser fehler immer noch da!
better error still there!
HTML Code:
#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.8.0
 Author:         myName

 Script Function:
	Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

#RequireAdmin
#include <NomadMemory.au3>
#include <GUIConstants.au3>
Const $ SE_PRIVILEGE_ENABLED = 0x0002
$Form1_1 = GUICreate("S4 League Hack", 293, 445, 214, 138)
$Checkbox1 = GUICtrlCreateCheckbox("SP Hack", 8, 16, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("HP Hack", 8, 32, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox("ArmorHack", 8, 80, 97, 17)
$Checkbox5 = GUICtrlCreateCheckbox("God Mode", 8, 64, 97, 17)
$Checkbox6 = GUICtrlCreateCheckbox("Ghostmode", 8, 48, 97, 17)
$Checkbox7 = GUICtrlCreateCheckbox("+7Stats", 8, 192, 97, 17)
$Checkbox8 = GUICtrlCreateCheckbox("Speed Hack", 8, 176, 97, 17)
$Checkbox9 = GUICtrlCreateCheckbox("NoFumbi", 8, 224, 97, 17)
$Checkbox10 = GUICtrlCreateCheckbox("Block Hack", 8, 208, 97, 17)
$Button1 = GUICtrlCreateButton("Start", 160, 176, 115, 49, 0)
$Radio1 = GUICtrlCreateRadio("Damage x2", 176, 104, 73, 17)
$Radio2 = GUICtrlCreateRadio("Damage x4", 176, 120, 73, 17)
$Radio3 = GUICtrlCreateRadio("Damage x6", 176, 136, 73, 17)
$Radio4 = GUICtrlCreateRadio("Walljump x2", 176, 40, 81, 17)
$Radio5 = GUICtrlCreateRadio("Walljump x4", 176, 56, 81, 17)
$Group1 = GUICtrlCreateGroup("WallJump", 168, 24, 97, 57)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group2 = GUICtrlCreateGroup("DamageHack", 168, 88, 97, 73)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Checkbox12 = GUICtrlCreateCheckbox("Shophack", 8, 96, 97, 17)
$Checkbox13 = GUICtrlCreateCheckbox("WallShot", 8, 112, 97, 17)
$Checkbox14 = GUICtrlCreateCheckbox("Fastfire", 8, 128, 97, 17)
$Checkbox15 = GUICtrlCreateCheckbox("Instant Respawm", 8, 144, 97, 17)
$Checkbox16 = GUICtrlCreateCheckbox("1 Hit Kill", 8, 160, 97, 17)
$Checkbox4 = GUICtrlCreateCheckbox("Reichweite", 8, 240, 97, 17)
$Button2 = GUICtrlCreateButton("Thread on Epvp*", 160, 232, 115, 41, 0)
$Button3 = GUICtrlCreateButton("Createt By Dark_Elite", 8, 280, 275, 33, 0)
$Button4 = GUICtrlCreateButton("Give me a THANX", 8, 384, 275, 49, 0)
GUISetState(@SW_SHOW)

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case -3
			Exit
		Case $Button1
			_Start()
	EndSwitch
WEnd

Func _Start()
	$S4 = 0x00C4912
	ProcessWait("S4Client.exe")
	ToolTip("S4Client starten ...", 0, 0)
	$PID = ProcessExists("S4Client.exe")
	$OPEN = _MEMORYOPEN($PID)
	_MEMORYWRITE($S4, $OPEN, 99999, "Float")
	_MemoryClose($OPEN)
	Exit
EndFunc   ;==>_Start
09/26/2012 22:21 Der-Eddy#4
[Only registered and activated users can see links. Click Here To Register...]/moved

Hast du eine NomadMemory.au3 runtergeladen und in dein Include Verzeichnis gepackt?
Wenn nein dann mach das
09/27/2012 01:05 hacknopi#5
Quote:
Hast du eine NomadMemory.au3 runtergeladen und in dein Include Verzeichnis gepackt?
ja habe ich! muss nur noch die werde entern, es sollte aber vorher mal starten
bevor ich die werde entere.

Quote:
Wenn nein dann mach das
__________________
geht nicht!

Quote:
/moved
?:handsdown:
09/27/2012 01:31 KDeluxe#6
Dein Script ist schlecht, bei Kopiertem kann man aber nicht viel erwarten.
Ist es den so schwer sich erst Grundwissen (der Sprache) anzueignen? Zu zeitintensiv? Dann sollte man sich auch erst gar nicht an einen Hack wagen, der am Ende dann leider die "Mülldeponie" vergrößert.

Ich vermute mal, dass das ganze sowieso nicht funktionieren wird, beschaffe dir erst einmal die Pointer.
Code:
Func _Start()
	$Address = 0x00C4912
	$ProcessName = "S4Client.exe"
	
	ToolTip('Warte auf "' & $ProcessName & '"...', 0, 0)
	$ProcessId = ProcessWait($ProcessName)
	ToolTip("")
	
	$Hanlde = _MemoryOpen($ProcessId)
	If Not @error Then
		_MemoryWrite($Address, $Hanlde, 99999, "float")
		_MemoryClose($Hanlde)
	Else
		MsgBox(0, "Blabla", "Blaaaaaa")
	EndIf
	
	Exit
EndFunc
ProcessWait ist nicht nur unnötig, sondern auch sehr schlecht für das gesamte Script, da das Script während dem warten auf nichts mehr reagiert. Für hohe Sleep-Werte gilt das selbe.
Sich mit der deutschen Rechtschreibung anzufreunden wäre übrigens auch nicht schlecht.
09/27/2012 01:42 hacknopi#7
Quote:
MsgBox(0, "Blabla", "Blaaaaaa")
ich sag mal so das hat aber auch nichts drin zu suchen!!!!!11
09/27/2012 12:27 BladeTiger12#8
Hier du hast bei
PHP Code:
Const $SE_PRIVILEGE_ENABLED 0x0002 
eine Space gehabt also so :
PHP Code:
Const $ SE_PRIVILEGE_ENABLED 0x0002 
Und wenn du in Line 14 einen error hast:
PHP Code:
#include <NomadMemory.au3> 
dann musst du sie dir in Google herunterladen.
Und in den Autoit/Includes ordner legen.
PHP Code:
#RequireAdmin
#include <NomadMemory.au3>
#include <GUIConstants.au3>
Const $SE_PRIVILEGE_ENABLED 0x0002
$Form1_1 
GUICreate("S4 League Hack"293445214138)
$Checkbox1 GUICtrlCreateCheckbox("SP Hack"8169717)
$Checkbox2 GUICtrlCreateCheckbox("HP Hack"8329717)
$Checkbox3 GUICtrlCreateCheckbox("ArmorHack"8809717)
$Checkbox5 GUICtrlCreateCheckbox("God Mode"8649717)
$Checkbox6 GUICtrlCreateCheckbox("Ghostmode"8489717)
$Checkbox7 GUICtrlCreateCheckbox("+7Stats"81929717)
$Checkbox8 GUICtrlCreateCheckbox("Speed Hack"81769717)
$Checkbox9 GUICtrlCreateCheckbox("NoFumbi"82249717)
$Checkbox10 GUICtrlCreateCheckbox("Block Hack"82089717)
$Button1 GUICtrlCreateButton("Start"160176115490)
$Radio1 GUICtrlCreateRadio("Damage x2"1761047317)
$Radio2 GUICtrlCreateRadio("Damage x4"1761207317)
$Radio3 GUICtrlCreateRadio("Damage x6"1761367317)
$Radio4 GUICtrlCreateRadio("Walljump x2"176408117)
$Radio5 GUICtrlCreateRadio("Walljump x4"176568117)
$Group1 GUICtrlCreateGroup("WallJump"168249757)
GUICtrlCreateGroup("", -99, -9911)
$Group2 GUICtrlCreateGroup("DamageHack"168889773)
GUICtrlCreateGroup("", -99, -9911)
$Checkbox12 GUICtrlCreateCheckbox("Shophack"8969717)
$Checkbox13 GUICtrlCreateCheckbox("WallShot"81129717)
$Checkbox14 GUICtrlCreateCheckbox("Fastfire"81289717)
$Checkbox15 GUICtrlCreateCheckbox("Instant Respawm"81449717)
$Checkbox16 GUICtrlCreateCheckbox("1 Hit Kill"81609717)
$Checkbox4 GUICtrlCreateCheckbox("Reichweite"82409717)
$Button2 GUICtrlCreateButton("Thread on Epvp*"160232115410)
$Button3 GUICtrlCreateButton("Createt By Dark_Elite"8280275330)
$Button4 GUICtrlCreateButton("Give me a THANX"8384275490)
GUISetState(@SW_SHOW)

While 
1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case -3
            
Exit
        Case 
$Button1
            _Start
()
    EndSwitch
WEnd

Func _Start
()
    
$S4 0x00C4912
    ProcessWait
("S4Client.exe")
    
ToolTip("S4Client starten ..."00)
    
$PID ProcessExists("S4Client.exe")
    
$OPEN _MEMORYOPEN($PID)
    
_MEMORYWRITE($S4$OPEN99999"Float")
    
_MemoryClose($OPEN)
    Exit
EndFunc   ;==>_Start 
09/27/2012 13:47 Cashblood#9
Was bringt es ihm das zu erklären? Er ist gleich eh wieder in der S4 Section und haut was altes was sowieso gepatcht ist in den Decompiler und postet es hier.
09/27/2012 15:22 BladeTiger12#10
Stimmt,
da hast du recht.
09/27/2012 17:37 KDeluxe#11
Quote:
Originally Posted by hacknopi View Post
Quote:
MsgBox(0, "Blabla", "Blaaaaaa")
ich sag mal so das hat aber auch nichts drin zu suchen!!!!!11
Und schon haben wir von dir einen demonstrativen Beitrag der veranschaulicht, dass du dich kein Stück auskennst. Die MsgBox() dient um den Benutzer auf einen Fehler aufmerksam zu machen, welcher Text angezeigt wird ist eigentlich irrelevant.

Aber wenn es dich glücklicher macht kannst du ja diese Ausgabe verwenden:
Code:
MsgBox(48, "Fehler", "Fehler beim öffnen des Prozesses" & @LF & "Fehlercode: " & @error)
09/27/2012 19:44 BladeTiger12#12
Lern lieber erstmal Autoit.
z.B die Grundlagen und da du schon mit NomadMemory.au3 arbeitest
lern lieber erstmal was über Memory Hacking
09/27/2012 19:50 hacknopi#13
Quote:
Was bringt es ihm das zu erklären? Er ist gleich eh wieder in der S4 Section und haut was altes was sowieso gepatcht ist in den Decompiler und postet es hier.
nein mach ich nicht!:mad:

Quote:
BladeTiger12
deine Antwort ist mir nen Thanks wert!:p

Quote:
Grundwissen (der Sprache) anzueignen
Beschäftige mich seit 2 Jahren mit den sprachen,
warum soll ich ein Script neu schreiben wenn ich es
laden und entern kann?:rtfm:

trotzdem danke für euer Hilfe!:D

Quote:
Und schon haben wir von dir einen demonstrativen Beitrag der veranschaulicht, dass du dich kein Stück auskennst. Die MsgBox() dient um den Benutzer auf einen Fehler aufmerksam zu machen, welcher Text angezeigt wird ist eigentlich irrelevant.
meine ja nicht die MsgBox, meine das "Blabla", "Blaaaaaa"lol
09/27/2012 19:54 BladeTiger12#14
Quote:
deine Antwort ist mir nen Thanks wert!
Dann gib mir doch ein Thanks?
Mit welchen Sprachen beschäftigst du dich?
Entweder kennst du die Syntax nicht oder keine Ahnung.
09/27/2012 19:56 Achat#15
Quote:
Originally Posted by hacknopi View Post
Beschäftige mich seit 2 Jahren mit den sprachen,
warum soll ich ein Script neu schreiben wenn ich es
laden und entern kann?
Never ever.

MfG

PS: Alleine schon die Wortwahl...:facepalm: