Guest fr3akazo1d Posted December 9, 2004 Posted December 9, 2004 Hi, Heard lots of things about afk playing in Mu and was wondering if somebody could send me its trainer script (or anything similar). Its task should look like: find monster (searchpixel?), kill it (right mouse click), and pick up object/money (space bar) in loop... Thanx in advance
Blue_Drache Posted December 9, 2004 Posted December 9, 2004 Hi,Heard lots of things about afk playing in Mu and was wondering if somebody could send me its trainer script (or anything similar). Its task should look like: find monster (searchpixel?), kill it (right mouse click), and pick up object/money (space bar) in loop...Thanx in advance <{POST_SNAPBACK}>You're not likely to get anyone to do the work for you.Give a man a fish.........he eats for a day. Teach a man to fish, and he shall never go hungry.You're more likely to get help while designing your OWN macros on your OWN time. We are here to help you learn how to fish. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
Guest fr3akazo1d Posted December 9, 2004 Posted December 9, 2004 OK, OK... so I used my OWN newbie skills and my OWN time to make this: #z:: Send, +5 Loop , $coord = PixelSearch( 300, 200, 600, 500, 132113 ) If Not @error Then MouseClick( "left", $coord[0], $coord[1] ) MouseClick( "right", $coord[0], $coord[1] ) ClipWait , 12 Send, {space} EndIf Thought when in the game: I could press "z" and it makes automatically: - shift 5 (only once) - and then in loop: - check the area where i am for a pixel color (the one of a monster) - if one found: then leftclick (move to it) and rightclick (fight it) - wait (till it dies - should be automatic in the game) - press space to take the money - again and again... But it does not work... The prog seems to be "understandable" but nothing s moving... Do you have any idea how I could solve the problem?
Developers Jos Posted December 9, 2004 Developers Posted December 9, 2004 OK, OK... so I used my OWN newbie skills and my OWN time to make this:But it does not work... The prog seems to be "understandable" but nothing s moving... Do you have any idea how I could solve the problem? <{POST_SNAPBACK}>Where did you lookup this syntax, these commands ?you are using commands from V2 , V3 and still to come v4 (ie none existing ).What version of AutoIt do you have ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
this-is-me Posted December 9, 2004 Posted December 9, 2004 GAH! He is using autohotkey, not autoit! Who else would I be?
Guest fr3akazo1d Posted December 9, 2004 Posted December 9, 2004 (edited) Yeah autohotkey, I thought it can deal with the autoit language (?) Or am I totally wrong? As I said... I m not kidding when I tell you that I have no clue of programming... Edited December 9, 2004 by fr3akazo1d
killaz219 Posted December 9, 2004 Posted December 9, 2004 A regular scripting language (backward compatible with most existing AutoIt2 scripts).We are in v3 of autoit, the syntax has totally changed.
killaz219 Posted December 10, 2004 Posted December 10, 2004 Mu = what game?<{POST_SNAPBACK}>theres a game named MU online
Guest fr3akazo1d Posted December 10, 2004 Posted December 10, 2004 Yeah - It s a diablo-like game; you can have info on www.muonline.com ...
dutch-force Posted August 22, 2005 Posted August 22, 2005 hey well i was wondering if this was already been made if yes could i get the code? if not can somebody maybe help me out on how to know wich coords or pixels i need so i can set it to attack teh monsters well i hope i can get it i'm a total n00b at scripting
dirtybob Posted August 22, 2005 Posted August 22, 2005 I wrote this up for World of Warcraft. maybe you can adapt it to your needs. WARNING YOU MIGHT GET YOUR GAME ACCOUNT BANNED FOR USING THIS. USE AT YOUR OWN RISK. expandcollapse popup; <AUT2EXE VERSION: 3.1.0.4> ; ---------------------------------------------------------------------------- ; <AUT2EXE INCLUDE-START: C:\Documents and Settings\Home\My Documents\NutralBot.au3> ; ---------------------------------------------------------------------------- ; ************************************************** ************************************************** **** ; NutralBot by Dirtybob. ; Globals $win_title = "World of Warcraft" ; Stuff that you may need to know. ; Color of nutral mobs = 0xD2CF00 ; Color of hostile mobs = 0xD20000 ; When you use "sleep(XXX)" to wait in AutoIT 1000=1 second ; Sets the "Pause" Key to Exit the bot. HotKeySet("{PAUSE}", "EndScript") ; Fires up WOW and makes sure its on top. I recomend Windowed Mode. WinActivate($win_title, "") WinSetOnTop($win_title, "", 0) Sleep(1000) ; Starts the whole script. This is the First mob search. after it everything is basicly handled in the loop. find_Mob() func find_Mob() Send("{TAB}") sleep(1000) EndFunc ; Looks for a nutral mob, and if it finds one preses the 2 key. The 2 key is my wand. While 1 $Coord = PixelSearch ( 0, 0, 271, 62, 0xD2CF00 , 0, 0 ) If @error Then sleep(1000) find_Mob() else Send("{2}") sleep(25000) EndIf Wend ; Exits the Bot. Func EndScript() $exit = MsgBox(4, "Ender", "Exit the Bot?") If $exit = 6 Then Exit EndIf EndFunc
dutch-force Posted August 22, 2005 Posted August 22, 2005 lol they can't find out i'm using a bot since its simulating what i would normaly do
dutch-force Posted August 22, 2005 Posted August 22, 2005 but how can i find out what the pixel r of teh mob's?
dirtybob Posted August 22, 2005 Posted August 22, 2005 (edited) If you have the Au3 packages there a program called Window Spy that comes with it. Fire her up and play around:) DOH forgot to say that with WOW they can scan whats running in your process list for "BAD" programs. Easy fix: Take the code you write, make an .exe and name it something cute like "AlarmClock.exe" Edited August 22, 2005 by dirtybob
dutch-force Posted August 22, 2005 Posted August 22, 2005 (edited) can seem to find it :\ what folder is the window spy? and no worry i think muonline won't make a problem of it running Edited August 22, 2005 by dutch-force
Developers Jos Posted August 22, 2005 Developers Posted August 22, 2005 (edited) If you have the Au3 packages there a program called Window Spy that comes with it. Fire her up and play around:)<{POST_SNAPBACK}>Renamed to: AU3Info.exe Edited August 22, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
dutch-force Posted August 22, 2005 Posted August 22, 2005 (edited) so i just go play around and then what do i need to look for or see do? ow i see now running it and i just take teh pixel color of it and build teh code around it but well the monsters rn't all teh same color :\ Edited August 22, 2005 by dutch-force
dutch-force Posted August 22, 2005 Posted August 22, 2005 hey muonline won't let me see the pixels because if i minimize muonline the normal mouse thingy is underneath mu browser not on so it only registers the pixels of my background on desktop
dirtybob Posted August 22, 2005 Posted August 22, 2005 so i just go play around and then what do i need to look for or see do?ow i see now running it and i just take teh pixel color of it and build teh code around it but well the monsters rn't all teh same color :\<{POST_SNAPBACK}>In WOW when you target a mob, in the center of a screen is an icon with the mobs name, and a thubnail pic of it.In the area that the mobs name is, is either a red, or yellow collor. Yellow being it wont attack you unless you attack it first. Red being it will attack if you get too close.Here is a screen shot of what i mean.ScreenshotSee where is Says "Hakkar" in the upper middle of the screen? Thats the Mobs name, and that Red is the color my script scans for(only mine looks for non-red or hostiles mobs).You need to find something simmilar on screen in your game to tell the script what to look for.
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