Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 3:15 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Mage Hunting Bot
Thanked: 0 time(s)  Unread post Posted: Sat May 10, 2014 5:36 am 
New User
New User



Joined: Fri May 09, 2014 7:46 am
Posts: 3
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 16
Hi All,

Started making my first macro, thanks to Gipsy for the template. Using a stupid laptop so have to press <ctrl> before hitting a function key.

Code:
 begin
     Keyboard.Wait for keys to be held down("{<alt>}")
     if  Keyboard.Key is held down("1")
          begin
               Keyboard.Hold keys("{<ctrl>}")
               Keyboard.Press key("{<f6>}") //Slow
               Keyboard.Release keys("{<ctrl>}")
               Macro.Pause("100")
               Mouse.Click("Right")
               Macro.Pause("2500")
               Keyboard.Hold keys("{<ctrl>}")
               Keyboard.Press key("{<f7>}") //Weaken
               Keyboard.Release keys("{<ctrl>}")
               Macro.Pause("100")
               Mouse.Click("Right")
               Macro.Pause("2500")
               Keyboard.Hold keys("{<ctrl>}")
               Keyboard.Press key("{<f8>}") //Main Spell
               Keyboard.Release keys("{<ctrl>}")
               Macro.Pause("100")
               Mouse.Hold button("Right")
          end
     if  Keyboard.Key is held down("2")
          begin
               Mouse.Release button("left")
               Mouse.Release button("right")
          end
 end


Next stage
    Automate release mouse click after mob killed
    Automate pick up of drop if any
    Automate search for mob based on RGB colour if possible

Any guidance on these appreciated

Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Mage Hunting Bot
Thanked: 0 time(s)  Unread post Posted: Sat May 10, 2014 7:37 am 
New User
New User



Joined: Fri May 09, 2014 7:46 am
Posts: 3
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 16
Ok based on the auto pot macro I have added the following and have tried adjusting the range but it does not seem to be helping. I am trying to cast even though there are no mobs around me, probably due to the clothes my char is wearing.

Code:
 begin
     begin loop()
          if  Color.At the current mouse position is within (RGB range)("82", "85", "90", "50")
               begin
                    Keyboard.Hold keys("{<ctrl>}")
                    Keyboard.Press key("{<f6>}")
                    Keyboard.Release keys("{<ctrl>}")
                    Macro.Pause("100")
                    Mouse.Click("Right")
                    Macro.Pause("2500")
                    Keyboard.Hold keys("{<ctrl>}")
                    Keyboard.Press key("{<f7>}")
                    Keyboard.Release keys("{<ctrl>}")
                    Macro.Pause("100")
                    Mouse.Click("Right")
                    Macro.Pause("2500")
                    Keyboard.Hold keys("{<ctrl>}")
                    Keyboard.Press key("{<f8>}")
                    Keyboard.Release keys("{<ctrl>}")
                    Macro.Pause("100")
                    begin loop()
                         if  Color.At the current mouse position is within (RGB range)("82", "85", "90", "50")
                              begin
                                   Mouse.Hold button("Right")
                              end
                         if  Color.At the current mouse position is not within (RGB range)("82", "85", "90", "50")
                              begin
                                   Mouse.Release button("Right")
                              end
                    end
               end
     end
 end


Top
 Profile  
Reply with quote  
 Post subject: Re: Mage Hunting Bot
Thanked: 0 time(s)  Unread post Posted: Sat May 10, 2014 4:27 pm 
New User
New User



Joined: Fri May 09, 2014 7:46 am
Posts: 3
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 16
How do I do a pixel pattern for a wraith as an example?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group