Register for your free account! | Forgot your password?

You last visited: Today at 16:51

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

Advertisement



Help :(

Discussion on Help :( within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 486
Received Thanks: 33
Red face Help :(

Ich wollte fragen, was an meinem Code falsch ist
Die, die es können müssen mich ja bitte nicht gleich anschreien...
Ich "versuche" AuoIt erst seit ca. 1h zu lernen =/

Aber weiter komme ich nicht wegen diesem ******* Fehler...

Code:
#cs ----------------------------------------------------------------------------
	AutoIt Version: 1.0
	Author: Sylux
#ce ----------------------------------------------------------------------------
#include <GUIConstantsEx.au3>

GUICreate("Aimbot by Sy", 335, 100)

GUICtrlCreateLabel("Aimbot", 8, 10)
If PixelSearch ( 640, 480, 640, 480, #EE0000) Then MouseClick ( "left" [, 640, 480 ] )

GUISetState(@SW_SHOW)

While 1
	sleep(1)
WEnd
Kommentare wie "lass es einfach" sind nicht erwünscht
S4Botload is offline  
Old 02/21/2010, 11:31   #2
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
So wäre es richtig

PHP Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"625443192124)
$Label1 GUICtrlCreateLabel("Amybot by Sy"1686817)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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

    EndSwitch
WEnd

If PixelSearch 6404806404800xEE0000Then MouseClick "left" 6404801
HardCore.1337 is offline  
Thanks
1 User
Old 02/21/2010, 11:58   #3
 
Xereon's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 793
Received Thanks: 366
PHP Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"625443192124)
$Label1 GUICtrlCreateLabel("Amybot by Sy"1686817)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

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

    EndSwitch
If 
PixelSearch 6404806404800xEE0000Then MouseClick "left" 6404801)
WEnd 
Also wenn schon, dann so.
Xereon is offline  
Thanks
1 User
Old 02/21/2010, 12:05   #4
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
das kommt drauf an ob er nur einmal nach der farbe suchen will oder die ganze zeit.
Ich würde das generell in eine Funktion packen und dann per Button aufrufen
HardCore.1337 is offline  
Thanks
1 User
Old 02/21/2010, 13:30   #5
 
Xereon's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 793
Received Thanks: 366
Quote:
Originally Posted by General Desert View Post
das kommt drauf an ob er nur einmal nach der farbe suchen will oder die ganze zeit.
Ich würde das generell in eine Funktion packen und dann per Button aufrufen
Wenn er nur einmal nach der Farbei suchen möchte, dann muss sie wenigstens vor die Schleife. Aber hinter die Schleife bringt der If überhaupt nichts.
Xereon is offline  
Thanks
1 User
Old 02/21/2010, 13:43   #6
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
stimmt, hast recht
HardCore.1337 is offline  
Thanks
1 User
Old 02/21/2010, 14:32   #7
 
elite*gold: 0
Join Date: Apr 2009
Posts: 486
Received Thanks: 33
Dannnkeeee Leute x3333
S4Botload is offline  
Reply




All times are GMT +2. The time now is 16:51.


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.