Register for your free account! | Forgot your password?

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

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

Advertisement



Error Pixelbot

Discussion on Error Pixelbot within the General Coding forum part of the Coders Den category.

Reply
 
Old 03/02/2009, 21:19   #16
 
elite*gold: 0
Join Date: Jun 2008
Posts: 260
Received Thanks: 302
Quote:
Originally Posted by atze19 View Post
Func gegenrot ()
Dim $coord[2] ; ist nicht nötig
While 1
Sleep ( 100 )

$coord = PixelSearch(0,0,1280,1024,0xFF060E,100,90)
sleep (10) ; Das ist der Fehler!
if not @error then ; @error ist immer 0 da es sich auf das Sleep bezieht und,
; dass klappt ja immer

MouseClick("left",$coord[0],$coord[1],10)
sleep (10)
EndIf
WEnd
EndFunc
Wer lesen kann ist klar im Vorteil!
atze19 is offline  
Old 03/03/2009, 14:26   #17
 
elite*gold: 30
Join Date: Feb 2006
Posts: 1,724
Received Thanks: 465
Ok, programm kackt nimmer ab, allerdings zieht der bot jetzt einfach mal in den himmel oder auf den boden, sobald er einen roten pixel findet :|
kaiN_92 is offline  
Old 03/03/2009, 17:08   #18
 
verT!c4L's Avatar
 
elite*gold: 0
Join Date: Aug 2005
Posts: 1,245
Received Thanks: 60
Liegt wohl daran, dass die Funktion PixelSearch von dir falsch benutzt wird.
Schau mal nach wie die funktioniert, dann solltest du darauf kommen warum
dein Bot das macht was er macht...
verT!c4L is offline  
Old 03/04/2009, 15:49   #19
 
elite*gold: 30
Join Date: Feb 2006
Posts: 1,724
Received Thanks: 465
So...habs mir nomma angeschaut, ich versteh es nicht.

Versuche ich es anhand eines bildes --> kein ding, funzt prima.
Geh ich ingame, funzt es nicht..aber trotzdem is was falsch verwendet ?
kaiN_92 is offline  
Old 03/04/2009, 16:07   #20
 
felixli93's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 820
Received Thanks: 909
wenn du vor das @error ein Sleep (10) machst, bezieht sich das @error auf den sleep-befehl
da aber sleep keinen fehler produziert, will er die koordinaten anklicken; diese wurden aber gar nicht bestimmt, weil das PixelSearch ja einen fehler gemacht hat!
felixli93 is offline  
Old 07/02/2009, 07:12   #21
 
elite*gold: 0
Join Date: Dec 2008
Posts: 7
Received Thanks: 1
ich hab im moment wohl das selbe prob, mal gucken ob ich das für dich deichseln kann
sukratan 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 :)
C++ PixelBot
09/26/2007 - Dekaron - 2 Replies
.
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 +2. The time now is 21:41.


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.