Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 00:29

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

Advertisement



Pixelbot Problem

Discussion on Pixelbot Problem within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 3
Received Thanks: 0
Pixelbot Problem

hallo,

ich habe mich nun einigezeit mit AutoIt beschäftigt und hatte vor einen pixelbot zu schreiben.
soweit so gut script ist fertig nur bewegt sich der mauszeiger nicht auf dem fenster sondern nur auf dem desktop.

es sollte ein lvl bot werden der ein monster anklickt und dann die angrifstatste klickt und dies immer wiederholt.
das script hab ich eigentlich schon fertig nur ich bekomms nicht hin das er in dem fenster klickt bzw sich die maus bewegt.
wenn mir jemand dabei helfen könnte wäre ich euch sehr dankbar

lg
Jackie8 is offline  
Old 08/07/2009, 22:34   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 88
Received Thanks: 10
Am Anfang WinWaitActive "Fenstername"
Dann dürfte es klappen....
Versuchs mal
paul*metin is offline  
Old 08/07/2009, 22:56   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 3
Received Thanks: 0
so habs eingefügt aber habs jetzt noch mal getestet aber iwie kommt da jetzt ne fehlermeldung
Code:
Line 5

MouseClick ("left", $pos[0], $pos[1])
MouseClick ("left", $pos^ ERROR

Error: Subscript used with non-Array variable
was muss ich ändern damit es funktioniert?


ich poste mal das script

PHP Code:
WinWaitActive "FLYFF" )

While 
1
$pos 
PixelSearch(0010248000x564F8B)
MouseClick ("left" $pos[0], $pos[1])
Send ("{F1}")
Sleep (200)
if @
error Then
    
Exit
EndIf
WEnd 
Jackie8 is offline  
Old 08/08/2009, 00:18   #4
 
elite*gold: 0
Join Date: Jan 2009
Posts: 88
Received Thanks: 10
Lies dir die Fehlermeldun mal durch
"...non-Array variable..."
"$pos^ ERROR"
Mit der variable pos stimmt iwas net^^
paul*metin is offline  
Old 08/08/2009, 00:20   #5
 
felixli93's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 820
Received Thanks: 909
ein
Code:
If IsArray ($pos) Then
(...)
EndIf
felixli93 is offline  
Old 08/08/2009, 15:18   #6
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
Code:
WinWaitActive ( "FLYFF" )

While 1
$pos = PixelSearch(0, 0, 1024, 800, 0x564F8B)
	if not @error then
		MouseClick ("left" , $pos[0], $pos[1])
		Send ("{F1}")
		Sleep (200)
	EndIf
	sleep(100)
WEnd
kknb is offline  
Old 08/08/2009, 21:20   #7
 
elite*gold: 0
Join Date: Mar 2009
Posts: 3
Received Thanks: 0
erstmal danke für eure hilfe jetzt kommt keine fehlermeldung mehr...
nur bewegt sich die maus nicht
kann es iwie sein das der game guard die maus bewegung blockt bzw den Pixelsearch befehl?


lg
Jackie8 is offline  
Reply


Similar Threads Similar Threads
Pixelbot
06/24/2008 - Silkroad Online - 1 Replies
I´m working on a pixelbot and so far it works fine :) But moving the character seems to be hard. I could let the user save some waypoints,but if the char attacks a monster he is out of the waypoints and so the waypoints aren´t correct anymore. So does anyone know a good way to move the char? With AutoIT :)
Pixelbot Problem
04/12/2008 - General Coding - 3 Replies
Hey habe a bissl an einem Pixelbot gecoded, der funktioniert auch soweit nur er scheint nie den Pixel zu finden, obwohl er da ist. Kann mal jemand bitte nachschauen ob ich was übersehen habe? main.cpp #include <iostream> #include <windows.h> #include "functions.h" using namespace std;
Pixelbot
12/10/2007 - Silkroad Online - 0 Replies
hello ppl i've been searching all over this form and other forms i didn't found a free (or cracked) pixel bot:mad:, i hope some1 can help me and owja the 1 from deepblue7 doesn't work need to be payed thnx:) or tell me how to program a pixelbot with auto it or delphi thnx
Pixelbot...
12/30/2006 - Conquer Online 2 - 8 Replies
Hi all, I search on forum but I don't find how make a pixelbot and I answer if it is possible to make pixelbot in c++? thx bb



All times are GMT +1. The time now is 00:30.


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.