Seagul Posted August 5, 2005 Posted August 5, 2005 (edited) Ok I am new to autoit but this is what I've got so far, it trys to target an orange dot on mini map when it finds its supposed to click then go attack the target. But I am having trouble getting it to find the pix it keeps calling me an idiot ; Pixy Bot FlyFF Dim $Color, $Left, $Top, $Right, $Bottom, $SearchResult WinActivate ("FLYFF") WinWaitActive("FLYFF") ; Settings / Constants $Color = 0x7DA6A1; Shade of Orange $x1 = 40 $y1 = 80 $x2 = 116 $y2 = 130 While 1 $SearchResult = PixelSearch($x1, $y1, $x2, $y2, $Color) If @error Then Send("{Enter}No Pixel Found idiot{Enter}"); just to check if im doing something right Exit Else MouseClick($Left, $SearchResult[0], $SearchResult[1], 2, 0) Sleep("200") EndIf Sleep(20000) WEnd Edited August 6, 2005 by Seagul
Valuater Posted August 6, 2005 Posted August 6, 2005 just study this for a moment... and check help PixelSearch ( left, top, right, bottom, color [, shade-variation] [, step]] ) for you, should this be $SearchResult = PixelSearch($x1, $x2, $y1, $y2, $Color , 5, 2) be sure to get the "$Color" and locations from au3help screen (note.. i have no idea of your "$Color" correctness) hope it helps 8)
Moderators SmOke_N Posted August 6, 2005 Moderators Posted August 6, 2005 (edited) In addition to Valuater:MouseClick($Left, $SearchResult[0], $SearchResult[1], 2, 0)You have it in Dim, but not defined:$Left = "left", even if you found the pixel, it won't do anything unless you define it.And 1 is the "Fastest Click Speed".Try adding some Opt's.Opt("PixleCoordMode", 0) Opt("MouseCoordMode", 0) Dim $Top, $Right, $Bottom, $SearchResult WinActivate ("FLYFF") WinWaitActive("FLYFF") ; Settings / Constants $Color = 0x7DA6A1; Shade of Orange $x1 = 40 $y1 = 80 $x2 = 116 $y2 = 130 $Left = "left" While 1 $SearchResult = PixelSearch($x1, $y1, $x2, $y2, $Color) If @error Then Send("{Enter}No Pixel Found idiot{Enter}"); just to check if im doing something right Exit Else MouseClick($Left, $SearchResult[0], $SearchResult[1], 2, 1) Sleep("200") EndIf Sleep(20000) WEnd Edited August 6, 2005 by ronsrules Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Moderators SmOke_N Posted August 6, 2005 Moderators Posted August 6, 2005 just study this for a moment... and check helpPixelSearch ( left, top, right, bottom, color [, shade-variation] [, step]] )for you, should this be$SearchResult = PixelSearch($x1, $x2, $y1, $y2, $Color , 5, 2)<{POST_SNAPBACK}>left = $x1 (Moving side to side is a x - coord)top = $y1 (Moving Up or Down is a y - coord)right = $x2bottom = $y2So: $SearchResult = PixelSearch($x1, $y1, $x2, $y2, $Color)Was correct. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Thatsgreat2345 Posted August 6, 2005 Posted August 6, 2005 (edited) wow i just looked at the script and got what it was doing =o the only thing i dont get is what does Dim do ??????? Edited August 6, 2005 by thatsgreat2345
Valuater Posted August 6, 2005 Posted August 6, 2005 left = $x1 (Moving side to side is a x - coord)top = $y1 (Moving Up or Down is a y - coord)right = $x2bottom = $y2So:Â $SearchResult = PixelSearch($x1, $y1, $x2, $y2, $Color)Was correct.<{POST_SNAPBACK}>the x/y that he used was not the question... i thought maybe he wanted to search...........top 116left 40..............right 80.......bottom 130this would use less of the computers sourcesnot the following larger and slower rectangle............top 80left 40..........................right 116..........bottom 1308)
Thatsgreat2345 Posted August 6, 2005 Posted August 6, 2005 u know if u just work on his script and if he pastes his health script then u wont have to work on mine as long as he gives me the bot
Thatsgreat2345 Posted August 6, 2005 Posted August 6, 2005 Do $x1 = 40 $y1 = 80 $x2 = 116 $y2 = 130 make a rectangle in the top right corner???????
Valuater Posted August 6, 2005 Posted August 6, 2005 Do$x1 = 40$y1 = 80$x2 = 116$y2 = 130make a rectangle in the top right corner???????<{POST_SNAPBACK}>left corner (think of 640x480)40 would be closer to the left side of the screen thanb the right8)bye
Thatsgreat2345 Posted August 6, 2005 Posted August 6, 2005 left corner (think of 640x480)40 would be closer to the left side of the screen thanb the right8)bye<{POST_SNAPBACK}>but if hes searching the mini map then its in the top right corner
Seagul Posted August 6, 2005 Author Posted August 6, 2005 (edited) that for all your replys everyone, cant believe forgot rename the global dim at top lol. ill try it all out, I was wondering how you did variance on colors thanks thats supposed to be 1024*768, in a small 800*600 window looking for a small area in top left corner need to switching to top right later on. Edited August 6, 2005 by Seagul
Seagul Posted August 6, 2005 Author Posted August 6, 2005 ok like step1 working but now I have problem I want it to stop while its fighting the monster and make sure targets hp is dead before it goes to another.
eway Posted May 8, 2006 Posted May 8, 2006 where can i DL the Flyff bot program is said that the file about is 80MB?
Don N Posted May 8, 2006 Posted May 8, 2006 (edited) Also, when you activate your window, where is it on the screen? Pixel search will search those coords on the screen, not on the active window so if the window isnt in the pixel search area then it will nexer find anything. Edited May 8, 2006 by Don N _____________________________________________________"some people live for the rules, I live for exceptions"Wallpaper Changer - Easily Change Your Windows Wallpaper
Urfriendaustin Posted May 20, 2006 Posted May 20, 2006 (edited) Ive been working on a flyff bot too, a skill trainer, but the whole pxp buisness ruin thats unless i could get a bot thats and uses skills, But that is far beyond my abilitys, coudl anyone point me in the right deirection And is the bot at the top the complete vertion.,, could u make a .exe so i could tranfer easier Edited May 20, 2006 by Urfriendaustin
Thatsgreat2345 Posted May 20, 2006 Posted May 20, 2006 Wow guys way to dig up THE OLDEST topic ever with me in it when i was a n00b way to go but in the new Flyff no autoit program will work on it because of GG so deal with it
Janez Posted May 30, 2007 Posted May 30, 2007 (edited) Opt("PixelCoordMode", 0) <------------------------ This True Opt("MouseCoordMode", 0) Dim $Top, $Right, $Bottom, $SearchResult WinActivate ("FLYFF") WinWaitActive("FLYFF") ; Settings / Constants $Color = 0x7DA6A1; Shade of Orange $x1 = 40 $y1 = 80 $x2 = 116 $y2 = 130 $Left = "left" While 1 $SearchResult = PixelSearch($x1, $y1, $x2, $y2, $Color) If @error Then Send("{Enter}No Pixel Found idiot{Enter}"); just to check if im doing something right Exit Else MouseClick($Left, $SearchResult[0], $SearchResult[1], 2, 1) Sleep("200") EndIf Sleep(20000) WEnd Edited May 30, 2007 by Janez
rodgamer Posted July 6, 2007 Posted July 6, 2007 hello. hey i need a bot or a hack that help me with the skills or lvl or items or penya so if u have 1 send it to me plz. rod_diaz4@hotmail.com. i have the flyff augmentation but i know how to use it so if i need to do something or have something like a bypass send it to me plz i realy need it plz . rod_diaz4@hotmail.com
Crashoveride Posted August 8, 2007 Posted August 8, 2007 i don't know how to make a bot but i can do hacks(plenty of them) i can post 1 here but i lost my bypasser. does som1 here have a bypasser of flyff? [CENTER][/CENTER][CENTER][/CENTER][CENTER][/CENTER][CENTER][/CENTER][CENTER]Like The Creator Of The Flyff Resource Manager Says"An Eye For An Eye As Soon The Whole World Will Be Blind"[/CENTER][CENTER][/CENTER][center][/center]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now