-=HWD=- Posted February 16, 2006 Share Posted February 16, 2006 wondering if i could use this to make a RPG game bot =.= hope it aint illegal to type this thread.. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 wondering if i could use this to make a RPG game bot =.= hope it aint illegal to type this thread..what do you want to use? autoit?i don't get your question (maybe i don't wanna get it ) my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
-=HWD=- Posted February 16, 2006 Author Share Posted February 16, 2006 what do you want to use? autoit?i don't get your question (maybe i don't wanna get it )ya to make a bot with auto it though i dunno how to make =( cuz i really need a pro to teach me on how to set the cursor to click on monsters automatically :"> Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 search the helpfile for: pixelsearch mouseclick that's what you asked for - the helpfile is your best friend my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
-=HWD=- Posted February 16, 2006 Author Share Posted February 16, 2006 ya but if i set the co ord for mouse it doesnt click on monster everytime since the monster moves around rather than stationary so i am just wondering if there is a way to detect the monster before auto clicking on it Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 (edited) is the monster moving that fast? while 1 $coord = pixelsearch (0,0,@desktopwidth,@desktopheight,0xFF0000,0,2) ;check the whole desktop for the color red mouseclick ("left",$coord[0],$coord[1],1); click it wendtry this Edited February 16, 2006 by Nuffilein805 my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Infinitex0 Posted February 16, 2006 Share Posted February 16, 2006 Shouldn't there be a WEnd at the nd of that. The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center] Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 ooops, forgot that thx for the hint my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
-=HWD=- Posted February 16, 2006 Author Share Posted February 16, 2006 erm i ctrl+p onto notepad and ran it with autoit but erm just pop up errors and wuts it suppose to do ne way? o.O Link to comment Share on other sites More sharing options...
-=HWD=- Posted February 16, 2006 Author Share Posted February 16, 2006 erm it poped up error saying Subscript used with non-array variable Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 could you post the errors?it supposed to search the entire desktop for the color red (0xFF0000)you've got to look for the colour of your monster so it can click there (autoitwindowinfo)maybe you should use scitehttp://www.autoitscript.com/autoit3/scite/its a lot easier to readhere is the autoitbetahttp://www.autoitscript.com/autoit3/files/beta/autoit/cause i don't know if you might need that as well my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 it doesn't find the color while 1 $coord = pixelsearch (0,0,@desktopwidth,@desktopheight,0xFF0000,0,2) ;check the whole desktop for the color red if not @error then mouseclick ("left",$coord[0],$coord[1],1); click it endif wend just updated the script my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
-=HWD=- Posted February 16, 2006 Author Share Posted February 16, 2006 well i pasted this into notepad : while 1 $coord = pixelsearch (0,0,@desktopwidth,@desktopheight,0xFF0000,0,2) ;check the whole desktop for the color red mouseclick ("left",$coord[0],$coord[1],1); click it wend and then ran it with autoit and also with a RPG game opened to Window mode but then it poped up ----------------------------------------------------------- Line 18 (File "C:\..................................."): Mouseclick("left",$coord[0],$coord[1],1);click it mouseclick("left",$coord^ERROR Error: Subscript used with non-Array variable ------------------------------------------------------------ Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 (edited) as i said it's because of the color try this 1, open this thread first winactivate ("Just wondering can this be used for RPG game bot?") send ("{lctrl}{home}") while 1 $coord = pixelsearch (0,0,@desktopwidth,@desktopheight,0x000084,0,2) if not @error then mouseclick ("left",$coord[0],$coord[1],1); click it msgbox (0, "", "Wow, I've just found this color!!!") endif wend Edited February 16, 2006 by Nuffilein805 my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
-=HWD=- Posted February 16, 2006 Author Share Posted February 16, 2006 can u teach me so that it clicks in the game rather than on desktop and click on color like green or like an moving object that be awesome thx :"> Link to comment Share on other sites More sharing options...
-=HWD=- Posted February 16, 2006 Author Share Posted February 16, 2006 (edited) actually it alt + tabbed to site and clicked on the blue font on the site and poped up message " i found blue" ehehe.. nice Edited February 16, 2006 by -=HWD=- Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 i just told you, that you have to find the color!!! use autoitwindowinfo or this script hotkeyset("!{f10}", "getcolor"); press alt+f10 to get the color while 1 sleep (10) wend func getcolor() $a = mousegetpos() $b = pixelgetcolor ($a[0],$a[1]) msgbox (0, "", "The color is: " & $b) endfunc the time you have the color post it here and i'll help you my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
-=HWD=- Posted February 16, 2006 Author Share Posted February 16, 2006 color is 10850939 Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 ok here is you script hotkeyset("!{f9}", "start");alt+f9 hotkeyset("!{f8}", "stop");alt+f8 while 1 sleep (50) wend func start() while 1 $coord = pixelsearch(0,0,@desktopwidth,@desktopheight,"0x"&hex(10850939,6),0,2) if not @error then mouseclick("left",$coord[0],$coord[1],1) sleep(5000);sleeps 5 sec before next click endif wend endfunc func stop() while 1 sleep (50) wend endfunc start the script when you're in your game-window it will sleep 5 sec between each click good luck have fun if you need more help just ask my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Nuffilein805 Posted February 16, 2006 Share Posted February 16, 2006 btw, you can use it as you wish but don't bother me if you get banned or something else, my way of doing a simple bot for you is not the safest, it's just to show you how easy you can build up a simple bot, just 19 lines of script and you're done my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
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