Sign in to follow this  
Followers 0
Guest fr3akazo1d

Seeking Bot for RPG (Mu online)...

26 posts in this topic

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 :idiot:

Share this post


Link to post
Share on other sites



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 :idiot:

<{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

Share this post


Link to post
Share on other sites

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? :idiot:

Share this post


Link to post
Share on other sites

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? :idiot:

<{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 ?


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

GAH! He is using autohotkey, not autoit!


Who else would I be?

Share this post


Link to post
Share on other sites

#6 ·  Posted (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... :idiot:

Edited by fr3akazo1d

Share this post


Link to post
Share on other sites

A regular scripting language (backward compatible with most existing AutoIt2 scripts).

We are in v3 of autoit, the syntax has totally changed.

Share this post


Link to post
Share on other sites

Mu = what game?

<{POST_SNAPBACK}>

theres a game named MU online

Share this post


Link to post
Share on other sites

Yeah - It s a diablo-like game; you can have info on www.muonline.com ...

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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. :whistle::dance::dance:

; <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

Share this post


Link to post
Share on other sites

lol they can't find out i'm using a bot since its simulating what i would normaly do :whistle:

Share this post


Link to post
Share on other sites

but how can i find out what the pixel r of teh mob's?

Share this post


Link to post
Share on other sites

#15 ·  Posted (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"

:whistle:

Edited by dirtybob

Share this post


Link to post
Share on other sites

#16 ·  Posted (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 by dutch-force

Share this post


Link to post
Share on other sites

#17 ·  Posted (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 by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

so i just go play around and then what do i need to look for or see do?

ow i see now :whistle: running it and i just take teh pixel color of it and build teh code around it :dance: but well the monsters rn't all teh same color :\

Edited by dutch-force

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

so i just go play around and then what do i need to look for or see do?

ow i see now :whistle: running it and i just take teh pixel color of it and build teh code around it  :dance: 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.

Screenshot

See 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.

:dance:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0