Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Fri Jun 22, 2018 5:49 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [help] mouse move function
Thanked: 0 time(s)  Unread post Posted: Wed Feb 28, 2018 12:27 pm 
Silver Contributor
Silver Contributor
User avatar



Joined: Thu Sep 07, 2017 12:56 am
Posts: 120
Been thanked: 9 time(s)
Has thanked: 9 time(s)
Contribution Points: 208
hello everyone,

im here to make a request. I have this mouse move function made by elrayes and it works good but the thing is that it wont be very helpful when i use it to farm izzy to mono digimons.

thats the function:-

Code:
function("Mouse Move")
     // Pixel pattern of the face of the mob you want to kill (on top of the screen)
     if  Color.At coordinate is not (RGB)("255", "0", "244", "266", "219")
          and
          Color.Pixel pattern can be located on screen("159,87,0,0,4,154,67,0,-50,-4,159,87,0,0,4,154,67,0,24,-2,248,135,10", "0")
          begin
               // Locate HP bar pixel pattern on the screen
               Color.Find pixel pattern("159,87,0,0,4,154,67,0,-50,-4,159,87,0,0,4,154,67,0,24,-2,248,135,10", "0", "yes", "Xmob", "Ymob")
               Variable.Evaluate (Math)("{Ymob}+42", "Ymob+42")
               Mouse.Move to coordinate("{Xmob}", "{Ymob+42}")
               if  Mouse.Coordinates are within("397", "772", "557", "740")
                    or
                    Mouse.Coordinates are within("1270", "1359", "690", "729")
                    begin
                         Function.Abort()
                    end
               Mouse.Click at coordinate("{Xmob}", "{Ymob+42}", "Left")
               // For Stopping
               if  Color.At coordinate is (RGB)("255", "0", "244", "266", "219")
                    and
                    // Here for Fist
                    Color.At coordinate is (RGB)("190", "111", "4", "575", "74")
                    begin
                         Macro.Break from loop("yes")
                         Function.Execute("anti-auto")
                    end
          end
function


i tried to modify it many times to make it click anywhere on the screen and stop when it detects the fist under monster hp but i failed. My request is a mouse move function to work with izzy to mono ( the pink mono that look like blobfish ) so that it clicks anywhere on the screen when a the monster is not targeted for like 6 seconds then wait for another 6 seconds to do it again.

i hope you understood my request and thx.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: [help] mouse move function
Thanked: 2 time(s)  Unread post Posted: Thu Mar 01, 2018 10:05 am 
VIP Contributor
VIP Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 817
Location: Egypt , Portsaid
Been thanked: 235 time(s)
Has thanked: 10 time(s)
Contribution Points: 1919
Bro it's so easy just delete the pixel patterns and make it click in the center of the screen .
If i have time i will do it for u .
EDIT : Here You Go
Code:
function("Mouse Move")
     // Pixel pattern of the face of the mob you want to kill (on top of the screen)
     if  Color.At coordinate is not (RGB)("255", "0", "244", "266", "219")
          begin
               System.Get combined screen resolution("ResolutionX", "ResolutionY")
               Variable.Divide (Math)("ResolutionX", "2")
               Variable.Divide (Math)("ResolutionY", "2")
               Mouse.Click at coordinate("{ResolutionX}", "{ResolutionY}", "Left")
               // For Stopping
               if  Color.At coordinate is (RGB)("255", "0", "244", "266", "219")
                    and
                    // Here for Fist
                    Color.At coordinate is (RGB)("190", "111", "4", "575", "74")
                    begin
                         Macro.Break from loop("yes")
                         Function.Execute("anti-auto")
                    end
          end
function

_________________
--------------------------------------------------------------------------------
All Of My Scripts Can Be Found in Here !!!
viewtopic.php?f=304&p=190914
--------------------------------------------------------------------------------


Top
 Profile  
Reply with quote  
 Post subject: Re: [help] mouse move function
Thanked: 0 time(s)  Unread post Posted: Thu Mar 01, 2018 8:38 pm 
Silver Contributor
Silver Contributor
User avatar



Joined: Thu Sep 07, 2017 12:56 am
Posts: 120
Been thanked: 9 time(s)
Has thanked: 9 time(s)
Contribution Points: 208
Elrayes wrote:
Bro it's so easy just delete the pixel patterns and make it click in the center of the screen .
If i have time i will do it for u .
EDIT : Here You Go
Code:
function("Mouse Move")
     // Pixel pattern of the face of the mob you want to kill (on top of the screen)
     if  Color.At coordinate is not (RGB)("255", "0", "244", "266", "219")
          begin
               System.Get combined screen resolution("ResolutionX", "ResolutionY")
               Variable.Divide (Math)("ResolutionX", "2")
               Variable.Divide (Math)("ResolutionY", "2")
               Mouse.Click at coordinate("{ResolutionX}", "{ResolutionY}", "Left")
               // For Stopping
               if  Color.At coordinate is (RGB)("255", "0", "244", "266", "219")
                    and
                    // Here for Fist
                    Color.At coordinate is (RGB)("190", "111", "4", "575", "74")
                    begin
                         Macro.Break from loop("yes")
                         Function.Execute("anti-auto")
                    end
          end
function


oh so i had to replace the digimon yellow hp bar codes with another codes, i thought of doing that but i was worry to miss things up so i did not.

anyways thank you man.

_________________
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: [help] mouse move function
Thanked: 0 time(s)  Unread post Posted: Thu Mar 01, 2018 8:41 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 817
Location: Egypt , Portsaid
Been thanked: 235 time(s)
Has thanked: 10 time(s)
Contribution Points: 1919
ur welcome bro , i wanted to add it in my Bot anyways so it was a thing that i have to do .

_________________
--------------------------------------------------------------------------------
All Of My Scripts Can Be Found in Here !!!
viewtopic.php?f=304&p=190914
--------------------------------------------------------------------------------


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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