Hilfe bei einem Script

06/25/2010 08:10 FireFox©#1
Hallo könnte mir einer netter weise dieses Script:
PHP Code:
MsgBox(0,"Hallo","Hallo das ist mein neuer 18.1 Crosshair Trainer by me",5)
MsgBox(0,"Viel Spass","=)=)=)=)=)=)=)=)=)=)=)=)=)=)=)=)=)=)",2)
#RequireAdmin
#include <ButtonConstants.au3>
#Include <SendMessage.au3>
#include <ie.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>
$Crosshair GUICreate("Crosshair"422185192124)
$Start GUICtrlCreateButton("Start"2412012341)
$Close GUICtrlCreateButton("Close"16812012341)
$Crosshair GUICtrlCreateLabel("Crosshair"144164717)
$Input1 GUICtrlCreateInput("350"404824921)
$Input2 GUICtrlCreateInput("130"408024921)
$Y GUICtrlCreateLabel("X"16481117)
$X GUICtrlCreateLabel("Y"16801117)
$Spambot GUICtrlCreateButton("Spambot"30432105129)
GUISetState(@SW_SHOW)


GUISetState (@SW_SHOW)

While 
1
    $nMsg 
GUIGetMsg() 
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE ;
            Exit

        Case 
$Start ;Wenn dieser Button gedrückt wird => Funktion _Start()
            
$Form1 GUICreate("Loding..."22353192124)
            
$Label1 GUICtrlCreateLabel("Adressen werden in "8148417)
            
$Label2 GUICtrlCreateLabel("Label2"921412417)
            
GUISetState(@SW_SHOW)


     For 
$i 10 To 0 Step -1
     GUICtrlSetData
($Label2$i " sek geladen")
     If 
$i 0 Then MsgBox(0"Erfolgreich""Die Adressen wurden erfolgreich geladen")
     
Sleep(1000)
     
Next

            _Start
()
        Case 
$Close ;Wenn dieser Button gedrückt wird => Ende (Kann man sich auch sparen)
            
MsgBox(0,"Thx","Ich hoffe es hat Spass gemacht",5)
            
_Exit()
    EndSwitch 
Einen S4Client.exe starter und eine Progressbar die sich in 10 sekunden fühlt
(Progressbar am besten das wo "adressen werden in ... sek geladen)
Ich bedanke mich schon mal im vorhaus.



Ps: Den Starta für s4client auf den spambot button legen
06/25/2010 11:16 mipez#2
Hier sind mal die beiden Schnipsel, einbauen musst du sie schon selbst Oo
Starter:
Code:
Global $i = 0

While True
$i +=1
$keyname = RegEnumKey("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", $i)
If @error Then ExitLoop

$result = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" & $keyname, "DisplayName")
If $result = "S4 League_EU" Then
$s4path = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" & $keyname, "InstallLocation")
ExitLoop
EndIf
WEnd
ShellExecute($s4path & "\patcher_s4.exe", "", $s4path)
WinWait("S4 League Game Launcher")
ControlClick("S4 League Game Launcher", "", "[CLASS:Button; INSTANCE:2]")
WinWait("S4 Client")
Progressbar:
Code:
$Progress1 = GUICtrlCreateProgress(links,oben,breite,höhe)
GUICtrlSetLimit(-1, 10000, 0)
$Label = GUICtrlCreateLabel("text",links,oben,breite,höhe)
For $i = 0 To 10000
	Sleep(1)
	GuiCtrlSetData($Progress1,$i+1)
	For $o = 0 To 10
		Sleep(1000)
		GUICtrlSetData($Label1,10-$o)
	Next
Next