|
You last visited: Today at 01:35
Advertisement
Hilfe!!!
Discussion on Hilfe!!! within the AutoIt forum part of the Coders Den category.
08/08/2010, 00:28
|
#1
|
elite*gold: 0
Join Date: Mar 2010
Posts: 188
Received Thanks: 87
|
Hilfe!!!
Ich frage mich was an dem Script falsch ist hier ist er ma :
Code:
GuiCreate("Spambot_by_Meddi",677,441,296,179)
$button1=GuiCtrlCreateButton("Start Bot",113,78,475,296)
$button2=GuiCtrlCreateButton("Exit",312,425,56,21)
$label1=GuiCtrlCreateLabel("F1=Start",110,37,59,15)
$label2=GuiCtrlCreateLabel("F2=Pause",288,35,87,15)
$label3=GuiCtrlCreateLabel("F3=Exit",534,36,145,15)
GuiSetState()
While 1
$msg=GuiGetMsg()
If $msg=-3 Then Exit
If $msg=$button1 Then button1()
If $msg=$button2 Then button2()
Wend
Func button1()
HotKeySet("{F1}","_start")
HotKeySet("{F2}","_pause")
HotKeySet("{F3}","_ende")
$word = InputBox("Wort","Bitte gib das Wort ein das gespammt werden soll:")
Func _start()
While 2
send($word)
sleep(1)
send("{ENTER}")
sleep(1)
Wend
EndFunc
Func _pause()
While 3
Sleep(2000)
WEnd
EndFunc
Func _ende()
While 4
Exit
Wend
EndFunc
Func button2()
Exit
EndFunc
da kommt dann immer wenn ich den starten will:
Line 24 (File"C:\Users\Meddi\Desktop\Versuch.au3"):
Func _start()
Error: "Func" statement has no matching "EndFunc".
Bitte um Hilfe 
|
|
|
08/08/2010, 00:31
|
#2
|
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
|
Quote:
Originally Posted by meddi
Ich frage mich was an dem Script falsch ist hier ist er ma :
Code:
GuiCreate("Spambot_by_Meddi",677,441,296,179)
$button1=GuiCtrlCreateButton("Start Bot",113,78,475,296)
$button2=GuiCtrlCreateButton("Exit",312,425,56,21)
$label1=GuiCtrlCreateLabel("F1=Start",110,37,59,15)
$label2=GuiCtrlCreateLabel("F2=Pause",288,35,87,15)
$label3=GuiCtrlCreateLabel("F3=Exit",534,36,145,15)
GuiSetState()
While 1
$msg=GuiGetMsg()
If $msg=-3 Then Exit
If $msg=$button1 Then button1()
If $msg=$button2 Then button2()
Wend
Func button1()
HotKeySet("{F1}","_start")
HotKeySet("{F2}","_pause")
HotKeySet("{F3}","_ende")
$word = InputBox("Wort","Bitte gib das Wort ein das gespammt werden soll:")
Func _start()
While 2
send($word)
sleep(1)
send("{ENTER}")
sleep(1)
Wend
EndFunc
Func _pause()
While 3
Sleep(2000)
WEnd
EndFunc
Func _ende()
While 4
Exit
Wend
EndFunc
Func button2()
Exit
EndFunc
da kommt dann immer wenn ich den starten will:
Line 24 (File"C:\Users\Meddi\Desktop\Versuch.au3"):
Func _start()
Error: "Func" statement has no matching "EndFunc".
Bitte um Hilfe  
|
PHP Code:
GuiCreate("Spambot_by_Meddi",677,441,296,179)
$button1=GuiCtrlCreateButton("Start Bot",113,78,475,296)
$button2=GuiCtrlCreateButton("Exit",312,425,56,21)
$label1=GuiCtrlCreateLabel("F1=Start",110,37,59,15)
$label2=GuiCtrlCreateLabel("F2=Pause",288,35,87,15)
$label3=GuiCtrlCreateLabel("F3=Exit",534,36,145,15)
GuiSetState()
While 1
$msg=GuiGetMsg()
If $msg=-3 Then Exit
If $msg=$button1 Then button1()
If $msg=$button2 Then button2()
Wend
Func button1()
HotKeySet("{F1}","_start")
HotKeySet("{F2}","_pause")
HotKeySet("{F3}","_ende")
$word = InputBox("Wort","Bitte gib das Wort ein das gespammt werden soll:")
_start()
EndFunc
Func _start()
While 2
send($word)
sleep(1)
send("{ENTER}")
sleep(1)
Wend
EndFunc
Func _pause()
While 3
Sleep(2000)
WEnd
EndFunc
Func _ende()
While 4
Exit
Wend
EndFunc
Func button2()
Exit
EndFunc
|
|
|
08/08/2010, 00:34
|
#3
|
elite*gold: 0
Join Date: Mar 2010
Posts: 188
Received Thanks: 87
|
kommt nomma fehler
send($word)
send(^ ERROr
Error:Variable used without being declared
|
|
|
08/08/2010, 00:59
|
#4
|
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
|
Quote:
Originally Posted by meddi
kommt nomma fehler
send($word)
send(^ ERROr
Error:Variable used without being declared
|
Ja du wirst es doch wohl schaffen das auszubessern...
|
|
|
08/08/2010, 13:06
|
#5
|
elite*gold: 0
Join Date: Mar 2010
Posts: 188
Received Thanks: 87
|
Ich bin Autoit Anfänger 
|
|
|
08/08/2010, 13:32
|
#6
|
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
|
Quote:
Originally Posted by meddi
Ich bin Autoit Anfänger  
|
Dann schau dir nochmal die Grundlagen an.
Und schau mal genau was der Fehler sagt, "Variable used without beeing declared" erklärt doch alles.
|
|
|
08/08/2010, 14:47
|
#7
|
elite*gold: 0
Join Date: Mar 2008
Posts: 1,524
Received Thanks: 285
|
der variable ist kein wert zugewiesen, steht doch da :S
Code:
send(GuiCtrlRead($word))
ein bisschen resourcen sparender wäre es wenn du nur einmal lesen lassen würdest und das auch wieder als variable ablegst
|
|
|
08/08/2010, 18:54
|
#8
|
elite*gold: 0
Join Date: Mar 2010
Posts: 188
Received Thanks: 87
|
geht aber immer noch net -.-
|
|
|
08/12/2010, 03:36
|
#9
|
elite*gold: 0
Join Date: Aug 2010
Posts: 353
Received Thanks: 285
|
So müste es gehen aller dings muste ich das rote X
raus nehmen also geht es net aber der Bot geht
PHP Code:
GuiCreate("Spambot_by_Meddi",677,441,296,179) $button1=GuiCtrlCreateButton("Start Bot",113,78,475,296) $button2=GuiCtrlCreateButton("Exit",312,425,56,21) $label1=GuiCtrlCreateLabel("F1=Start",110,37,59,15) $label2=GuiCtrlCreateLabel("F2=Pause",288,35,87,15) $label3=GuiCtrlCreateLabel("F3=Exit",534,36,145,15) GuiSetState() HotKeySet("{F1}","_start") HotKeySet("{F2}","_pause") HotKeySet("{F3}","_ende")
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $Button1 $word = InputBox("Wort","Bitte gib das Wort ein das gespammt werden soll:") _Start() Case $Button2 Exit EndSwitch WEnd
Func _start() While 2 send($word) sleep(1) send("{ENTER}") sleep(1) Wend EndFunc
Func _pause() While 3 Sleep(2000) WEnd EndFunc
Func _ende() While 4 Exit Wend EndFunc
Func button2() Exit EndFunc
|
|
|
Similar Threads
|
Hilfe Hilfe Pls Gucken Brauche Hilfe
04/04/2010 - Technical Support - 3 Replies
Ja wegen der Signatur sieht es euch ma an in pics
/http://img641.imageshack.us/img641/6070/unbenann t790kjkh.png
http://img444.imageshack.us/img444/6981/unbenannt kjhghzuijhbh.png
kann mir pls einer HELFEN...
|
HILFE HILFE HILFE MIT SjSro Startproblem
12/14/2009 - SRO Private Server - 4 Replies
Hi Leute hab ein Problem mit SjSro wenn ich auf starten klicke kommt diese Meldung Sorry.Failed to execute Silkroad. bitte helfen hab anti virus aus geht immer noch nicht wo liegt das problem
thx schon mal im voraus
BITTE HELFEN BITTE
WILL UMBEDINGT ZOCKEN!!
|
All times are GMT +1. The time now is 01:36.
|
|