Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 13:41

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

Advertisement



autoit3 problem :(

Discussion on autoit3 problem :( within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2011
Posts: 39
Received Thanks: 8
autoit3 problem :(

also mein script sucht aufn bildschirm "Spiel" etwas sucht und findet und clicken soll das geht auch alles gut aber da gibts igrentwie ein error =

While 1
$search = Pixelsearch(1684,470,1699,456,0x0D3B61)
MouseMove($search[0],$search[1])
sleep(200)
Mouseclick($search[0],$search[1])
sleep(200)
$search1 = Pixelsearch(1727,520,1843,502,0xDCDCDD)
MouseMove($search1[0],$search1[1])
sleep(100)
Mouseclick($search1[0],$search1[1])
sleep(199)
$einzel = Pixelsearch(1625,309,1730,293,0xDEE6EB)







WEnd


error=
>"C:\Program Files\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\user\Desktop\Hacki.au3"
C:\Users\user\Desktop\Hacki.au3 (4) : ==> Subscript used with non-Array variable.:
MouseMove($search[0],$search[1])
MouseMove($search^ ERROR
>Exit code: 1 Time: 1.909
MarvinJokee is offline  
Old 09/08/2011, 20:10   #2
 
unknown661's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 314
Received Thanks: 160
prüf mal ob search ein array ist

Code:
If IsArray($search) Then
    //do something
EndIf
oder so
Code:
If Not @error Then
    //do something
EndIf
wenn pixelsearch nix findet wird kein array returnt
unknown661 is offline  
Reply


Similar Threads Similar Threads
autoit3 problem (_stringbetween)
02/24/2011 - AutoIt - 3 Replies
Hi all ... ich bin neu hier und habe mit autoit angefangen. Ich habe mit mehrere Tutorials durchgelesen und wollte jetzt was eigenes schreiben... (Ogamebot nach anleitung http://www.elitepvpers.com/forum/epvp-coders-tutor ials/457030-autoit-tutorial-zu-browsergamebots-pac ketbots-und-iebots.html) ...bin bisher jedoch nicht sehr weit gekommen, da ich Probleme beim auslesen des quelltextes habe Wenn ich den Code so schreibe hat der Array bei der Asusgabe keinen Wert Dim $session
AutoIt3 plz help
11/11/2009 - Mabinogi - 2 Replies
ummm niether autiit3 or autohotkey works on my mabinogi. i tried setting up fossil macro before and it just moved around curson around my mabi screen without clicking. i tried making autoit cobweb gathering bot but it didnt work. it is something to do with mabinogi being not a current window but what ever i try it just doesnt work. basically the problem is if i ran any of those macro they run on my desktop screen instead of my mabinogi window... how do you make them run on mabinogi window?...
Autoit3
09/14/2009 - Guild Wars - 4 Replies
Hallo, hab ein paar Fragen zu Autoit. 1. Mit MsbBox öffnet man ja ein Fenster aber wie schreibe ich in das Fester(mit welchem Befehl). z.B. Wie alt bist du? Antwort: 2. Wie speichert man dieses als Variabel. Gruss artimes:handsdown:
autoIt3 problem
05/04/2009 - General Gaming Discussion - 3 Replies
Hi everybody, i was bored with my Choppa today and thought itd be a good idea to just let a bot go level for me, so i checken out autoit and made a real basic bot, very simple and all... Well, i figured it worked out quite nicely for me, ill just post the code i put in the script right here, so u people see what im trying to do. Script is real basic and nothing special, i know. So what im basically doing is pressing tab ( next enemy ) and then throw my axe at him... followed by several...
AutoIt3
04/08/2008 - Metin2 - 4 Replies
Hi,ich habe mir mal AutoIt3 instaliert und jetzt blicke ich garnichts mehr durch wie man da z.b attk speed hack erstellt oder fishing bot ich verstehe nicht wo ich dieses zeug die codes also eintragen soll und ja ich weiss einfach auch nicht wie die codes heißen ES WÄRE TOLL WEN IHR MIR HELFEN KÖNNT!!::confused::o



All times are GMT +1. The time now is 13:42.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.