Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 12:44

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Was ist hier dran falsch ?!

Discussion on Was ist hier dran falsch ?! within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2008
Posts: 42
Received Thanks: 3
Was ist hier dran falsch ?!

Hey was hab ich hier dran falsch gemacht ?
Quote:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\*****\Desktop\Pickup bot.kxf
$Form1 = GUICreate("Form1", 372, 148, 423, 209)
$Button1 = GUICtrlCreateButton("Start [F5]", 104, 24, 161, 25, 0)
$Button2 = GUICtrlCreateButton("Beenden [F6]", 104, 72, 161, 25, 0)
$Label1 = GUICtrlCreateLabel("Written by RapperBoyxD", 8, 120, 121, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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

EndSwitch
WEnd
Func $Button1
while 1
send("y")
Wend
EndFunc
Func $Button2
Exit
EndFunc
Demir2 is offline  
Old 08/17/2009, 21:42   #2

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,323
#moved autoit
Adroxxx is offline  
Old 08/17/2009, 22:09   #3
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\*****\Desktop\Pickup bot.kxf
$Form1 = GUICreate("Form1", 372, 148, 423, 209)
$Button1 = GUICtrlCreateButton("Start [F5]", 104, 24, 161, 25, 0)
$Button2 = GUICtrlCreateButton("Beenden [F6]", 104, 72, 161, 25, 0)
$Label1 = GUICtrlCreateLabel("Written by RapperBoyxD", 8, 120, 121, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
		case $Button1
			start()
		case $Button2
			exit
	EndSwitch
WEnd


Func start()
	while 1
		send("y")
	Wend
EndFunc

würde es aber nicht ausführen da "y" in ner endlosschleife gesendet wird
kknb is offline  
Reply


Similar Threads Similar Threads
Was ist hier falsch ????
09/14/2010 - AutoIt - 6 Replies
dieses kleine script soll nichts weiter als einen zeitbalken überwachen. der balken ist erst braun und färbt sich allmählich von links nach rechts rot. nun will ich einen pixel am ende des balkens überwachen, und sobald er sich umfärbt die nächsten schritte abarbeiten. For $i=1 to 2000 sleep (2000) MouseClick("left",405,379,1, sleep (2000)) $Pixel = 0x572A11 While $Pixel = 0x572A11 $Pixel = PixelGetColor (747,700)
Was ist hier dran falsch?
07/31/2010 - Metin2 Private Server - 4 Replies
Wenn ich ein neuen char erstelle, bekomm ich nur 1 schwert+0 un 200 rote pots ich hab die nummern von 0er eq+9 eingegeben say_title ( "Willkommen" ) say ( "Willkommen auf dem Server BornToBeMt2" ) say ( "" ) say ( "Viel Spass!" ) say ( "" ) pc . give_exp2 ( ) set_quest_state ( "levelup" , "run" ) pc . change_money ( 1000000 ) pc . give_item2 ( "27003" , 200 )
Was ist hier falsch?
07/19/2010 - AutoIt - 27 Replies
Ich bins mal wieder mit einer neuen Frage, was ist an diesem Code für den Bot falsch er startet irgendwie nichtmal.. Run ("metin2client.bin") Sleep(500) WinWaitActive ("XtremeMt2") Sleep(500) MouseMove (738,516) Sleep(500) MouseClick ("left",738,516) Sleep(500)
was is hier falsch ?!
07/01/2010 - AutoIt - 8 Replies
ohh ?! hier kommt immer eine fehler meldung aber ich weis nicht was das heißt ? hier is der script xD $input3=GuiCtrlCreateInput("829, 39",65,97,65,20) $input4=GuiCtrlCreateInput("674, 332",155,96,70,20) $input5=GuiCtrlCreateInput("0xF9F5F8",1 13,134,61,20) $PixelSearch = PixelSearch (GUICtrlRead ($input3),GUICtrlRead ($input4), GUICtrlRead ($input5), 0 )
war falsch hier
11/21/2006 - Private Server - 0 Replies
-.- sry war falsch hier



All times are GMT +2. The time now is 12:44.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.