($PID) Problem at AutoIT

11/19/2010 17:30 +|NøvaStorm|+#1
Im trying to do this thing with $Open = MemoryWrite($PID)

The $PID part gets a error so it the hack wont work (my trainer is still in testing phase cuz of this problem)
Code:
While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		Case $Button1
			Hack ()
		Case $Button2
			Exit
		Case $Button3
			MsgBox(0, "Credits" ,"My first trainer :D Well i <3 u guys cuz this ish awesome. Many of you guys have encouraged me to make this trainer ^^ <33" ,11)

	EndSwitch
WEnd

Func Hack()
ToolTip("Start S4 Now! ^^",0,0)
$wait = ProcessWait("S4Client.exe")
sleep(700)
$Open = _MemoryWrite($PID)
ToolTip("Done Hacking! Have fun! This was made by NøvaStorm!",0 ,0)
11/19/2010 17:38 coladose#2
You must declare $PID before using it ;)

Like this :


PHP Code:
While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button1
            Hack 
()
        Case 
$Button2
            
Exit
        Case 
$Button3
            MsgBox
(0"Credits" ,"My first trainer :D Well i <3 u guys cuz this ish awesome. Many of you guys have encouraged me to make this trainer ^^ <33" ,11)

    EndSwitch
WEnd

Func Hack
()
ToolTip("Start S4 Now! ^^",0,0)
$PID ProcessWait("S4Client.exe")
sleep(700)
$Open _MemoryWrite($PID)
ToolTip("Done Hacking! Have fun! This was made by NøvaStorm!",,0
11/19/2010 17:45 +|NøvaStorm|+#3
Quote:
Originally Posted by FutureTrance View Post
You must declare $PID before using it ;)

Like this :


PHP Code:
While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button1
            Hack 
()
        Case 
$Button2
            
Exit
        Case 
$Button3
            MsgBox
(0"Credits" ,"My first trainer :D Well i <3 u guys cuz this ish awesome. Many of you guys have encouraged me to make this trainer ^^ <33" ,11)

    EndSwitch
WEnd

Func Hack
()
ToolTip("Start S4 Now! ^^",0,0)
$PID ProcessWait("S4Client.exe")
sleep(700)
$Open _MemoryWrite($PID)
ToolTip("Done Hacking! Have fun! This was made by NøvaStorm!",,0
Thx u :3 I think i can get done with my trainer now o.o
11/19/2010 18:15 Epitaph_Haseo-X#4
Warum benutzt eigentlich jeder diese hässlichen & nervigen Tooltips?
Fällt euch nichts besseres ein?!
11/19/2010 18:23 Al Kappaccino#5
Quote:
Originally Posted by Epitaph_Haseo-X View Post
Warum benutzt eigentlich jeder diese hässlichen & nervigen Tooltips?
Fällt euch nichts besseres ein?!
Mein TrainerCreator bietet die Auswahl zwischen ToolTip und SplashText :awesome:
Naja Fehler behoben, typischer "Ich habe Script kopiert und jetzt?" Fehler^^ Aber gut...wird sich sowieso niemals ändern ;o
11/19/2010 18:28 D-Stayler#6
Naja is ja net so schlimm
11/19/2010 18:40 Robin,249#7
Lol, wenn so ein Hack gehen würde, wäre das echt cool.
Keine anstängung beim Adressen suchen.

PHP Code:
While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button1
            Hack 
()
        Case 
$Button2
            
Exit
        Case 
$Button3
            MsgBox
(0"Credits" ,"My first trainer :D Well i <3 u guys cuz this ish awesome. Many of you guys have encouraged me to make this trainer ^^ <33" ,11)

    EndSwitch
WEnd

Func Hack
()
ToolTip("Start S4 Now! ^^",0,0)
$PID ProcessWait("S4Client.exe")
sleep(700)
$Adresse1 "0x00FFFFFF"
$Adresse2 "0x00FFFFFF"
$Adresse3 "0x00FFFFFF"
$Open _MemoryOpen($PID)
_MemoryWrite($Adresse1$Open"Power""Char[5]") ;Text
_MemoryWrite
($Adresse2$Open"3000""float") ;Float
_MemoryWrite
($Adresse3$Open"1500""dword") ; 4Bytes
ToolTip
("Done Hacking! Have fun! This was made by NøvaStorm!",,0
11/19/2010 21:00 suiluJ.#8
Quote:
Originally Posted by Epitaph_Haseo-X View Post
Warum benutzt eigentlich jeder diese hässlichen & nervigen Tooltips?
Fällt euch nichts besseres ein?!
Dochn Bild damit druff laden =D
11/19/2010 21:17 Epitaph_Haseo-X#9
Quote:
Originally Posted by selman99 View Post
Dochn Bild damit druff laden =D
Was, ein Bild mit nem Tooltip drauf?! xD
11/19/2010 21:26 PenGuin :O#10
Quote:
Originally Posted by JakeFrost77 View Post
Mein TrainerCreator bietet die Auswahl zwischen ToolTip und SplashText :awesome:
Naja Fehler behoben, typischer "Ich habe Script kopiert und jetzt?" Fehler^^ Aber gut...wird sich sowieso niemals ändern ;o
Was erwartest du, bei 90% der vermeintlichen AutoIt Pros hier reicht das Wissen doch eh nicht über MemoryOpen und MemoryWrite.
11/19/2010 22:09 Higurash[i]#11
hmh ne schönne Message Box wär auch was cooles oder ein pic anstatt tooltip :)
ich probier auch mal an sowas ;)
11/19/2010 23:45 FichteFoll#12
Quote:
Originally Posted by pinguin94 View Post
Was erwartest du, bei 90% der vermeintlichen AutoIt Pros hier reicht das Wissen doch eh nicht über MemoryOpen und MemoryWrite.
Ich vermute mal, du meinst damit, das vermeintliche 90% wissen, dass MemoryOpen und MemoryWrite existieren. Benutzen können viele sie dennoch nicht. Beispiel der Threadersteller:

Code:
Func Hack()
ToolTip("Start S4 Now! ^^",0,0)
$wait = ProcessWait("S4Client.exe")
sleep(700)
$Open = _Memory[COLOR="Red"]Write[/COLOR]($PID)
ToolTip("Done Hacking! Have fun! This was made by NøvaStorm!",0 ,0)
@+|NøvaStorm|+: You should train more before you make a trainer like this, there are so many mistakes in your script. Be sure to inform about stuff you are going to to. Anyway, this is the way you should use:

Code:
$PID = ProcessWait("S4Client.exe")
$Adresse1 = 0x00FFFFFF
$Adresse2 = 0x00FFFFFF
$Adresse3 = 0x00FFFFFF
$Open = _MemoryOpen($PID)
_MemoryWrite($Adresse1, $Open, "Power", "Char[5]") ;Text
_MemoryWrite($Adresse2, $Open, "3000", "float") ;Float
_MemoryWrite($Adresse3, $Open, "1500", "dword") ; 4Bytes
#closed