Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Mon Dec 11, 2017 1:20 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Possible to track moving objects?
Thanked: 0 time(s)  Unread post Posted: Sun Jul 23, 2017 9:24 pm 
New User
New User



Joined: Mon May 01, 2017 4:27 pm
Posts: 2
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 10
Hi there!
I was just thinking.. Is it possible to code something that will track a moving object?
for example an image that moves or maybe a moving ball in a game or something?
Thank you for your response.


Top
 Profile  
Reply with quote  
 Post subject: Re: Possible to track moving objects?
Thanked: 0 time(s)  Unread post Posted: Sun Jul 23, 2017 10:51 pm 
Gold Contributor
Gold Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 434
Location: Egypt , Portsaid
Been thanked: 119 time(s)
Has thanked: 10 time(s)
Contribution Points: 950
vippon wrote:
Hi there!
I was just thinking.. Is it possible to code something that will track a moving object?
for example an image that moves or maybe a moving ball in a game or something?
Thank you for your response.

if it's a Image well it's easy there is 2 ways to track it
1st
Code:
 begin
     // Path is the Image Path from ur HDD,Percentage type 100 or less
     if  Image.Can be located on screen("Path", "Percentage")
          begin
               // Path is the Image Path from ur HDD,Percentage type 100 or less ,X,Y are the Variables contains the Image Coordinate
               Image.Wait for and locate image("Path", "Percentage", "X", "Y")
               Mouse.Move to coordinate("{X}", "{Y}")
               // Add this if u want the Mouse to click on it
               Mouse.Click("Left")
          end
 end
 

and 2nd
Code:
 begin
     // Path is the Image Path from ur HDD,Percentage type 100 or less
     if  Image.Can be located on screen("Path", "Percentage")
          begin
               // Path is the Image Path from ur HDD,Percentage type 100 or less
               Mouse.Move to image("Path", "Percentage")
               // Add this if u want the Mouse to click on it
               Mouse.Click("Left")
          end
 end
 

if it's Moving Ball so here u go but make sure that u made Patterns right way
Code:
 begin
     // it's the Pattern that u have to take and the bot will follow all the colors in the same area, and 0 if u want the exact same colors
     if  Color.Pixel pattern can be located on screen("Pattern", "0")
          begin
               // Pattern is the same as the one befor this ,X,Y are Variables of the Ball Current Coordinate X and Y
               Color.Find pixel pattern("Pattern", "0", "yes", "X", "Y")
               Mouse.Move to coordinate("{X}", "{Y}")
               // Add this if u want the Mouse to click on it
               Mouse.Click("Left")
          end
 end
 

_________________
New Macro Protector Script By Elrayes™
http://blueeye-macro.com/viewtopic.php?f=304&t=30153
[Function] to Let Mouse Select Target
http://blueeye-macro.com/viewtopic.php?f=304&t=30115
New Dropping Att Code By Me
http://blueeye-macro.com/viewtopic.php?f=304&t=27523
Monster Card Use and Kill Script By Elrayes!!!
http://blueeye-macro.com/viewtopic.php?f=304&t=27560
[Release] Elrayes BOT Multi Functional BOT!!
viewtopic.php?f=304&t=30783


Top
 Profile  
Reply with quote  
 Post subject: Re: Possible to track moving objects?
Thanked: 0 time(s)  Unread post Posted: Mon Jul 24, 2017 9:45 am 
New User
New User



Joined: Mon May 01, 2017 4:27 pm
Posts: 2
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 10
Okey nice!
But what if you wanna track several moving objects?
And also separate them as individual?

For example like this random video here: https://www.youtube.com/watch?v=Y0cEfsxcHUQ
Can you track the first ladybug as it will always be nr 1.
And when these other ladybugs shows up they will be 2 and 3 etc?

Thank You.


Top
 Profile  
Reply with quote  
 Post subject: Re: Possible to track moving objects?
Thanked: 0 time(s)  Unread post Posted: Mon Jul 24, 2017 10:23 am 
Gold Contributor
Gold Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 434
Location: Egypt , Portsaid
Been thanked: 119 time(s)
Has thanked: 10 time(s)
Contribution Points: 950
vippon wrote:
Okey nice!
But what if you wanna track several moving objects?
And also separate them as individual?

For example like this random video here: https://www.youtube.com/watch?v=Y0cEfsxcHUQ
Can you track the first ladybug as it will always be nr 1.
And when these other ladybugs shows up they will be 2 and 3 etc?

Thank You.

well then use this code ( And Remember it will click in one object Only when it disappear it will search for the Other and track then click )
Code:
 begin
     // it's the Pattern that u have to take and the bot will follow all the colors in the same area, and 0 if u want the exact same colors
     if  Color.Pixel pattern can be located on screen("Pattern", "0")
          begin
               // Pattern is the same as the one befor this ,X,Y are Variables of the Ball Current Coordinate X and Y
               Color.Find pixel pattern("Pattern", "0", "yes", "X", "Y")
               Mouse.Move to coordinate("{X}", "{Y}")
               // Add this if u want the Mouse to click on it
               Mouse.Click("Left")
          end
 end

For Multiple choices make copies of this code as many choices as u need then each copy of this code make Pattern on different Bug
As Example :
Code:
 begin
     // it's the Pattern that u have to take and the bot will follow all the colors in the same area, and 0 if u want the exact same colors
     if  Color.Pixel pattern can be located on screen("Pattern For Bug N1", "0")
          begin
               // Pattern is the same as the one before this ,X,Y are Variables of the Ball Current Coordinate X and Y
               Color.Find pixel pattern("Pattern For Bug N1", "0", "yes", "X", "Y")
               Mouse.Move to coordinate("{X}", "{Y}")
               // Add this if u want the Mouse to click on it
               Mouse.Click("Left")
          end
     // it's the Pattern that u have to take and the bot will follow all the colors in the same area, and 0 if u want the exact same colors
     if  Color.Pixel pattern can be located on screen("Pattern For Bug N2", "0")
          begin
               // Pattern is the same as the one before this ,X,Y are Variables of the Ball Current Coordinate X and Y
               Color.Find pixel pattern("Pattern For Bug N2", "0", "yes", "X", "Y")
               Mouse.Move to coordinate("{X}", "{Y}")
               // Add this if u want the Mouse to click on it
               Mouse.Click("Left")
          end
 end


_________________
New Macro Protector Script By Elrayes™
http://blueeye-macro.com/viewtopic.php?f=304&t=30153
[Function] to Let Mouse Select Target
http://blueeye-macro.com/viewtopic.php?f=304&t=30115
New Dropping Att Code By Me
http://blueeye-macro.com/viewtopic.php?f=304&t=27523
Monster Card Use and Kill Script By Elrayes!!!
http://blueeye-macro.com/viewtopic.php?f=304&t=27560
[Release] Elrayes BOT Multi Functional BOT!!
viewtopic.php?f=304&t=30783


Top
 Profile  
Reply with quote  
 Post subject: Re: Possible to track moving objects?
Thanked: 0 time(s)  Unread post Posted: Wed Aug 23, 2017 6:39 pm 
New User
New User



Joined: Wed Aug 23, 2017 4:47 pm
Posts: 13
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 31
ahmedwaill wrote:
vippon wrote:
Okey nice!
But what if you wanna track several moving objects?
And also separate them as individual?

For example like this random video here: https://www.youtube.com/watch?v=Y0cEfsxcHUQ
Can you track the first ladybug as it will always be nr 1.
And when these other ladybugs shows up they will be 2 and 3 etc?

Thank You.

well then use this code ( And Remember it will click in one object Only when it disappear it will search for the Other and track then click )
Code:
 begin
     // it's the Pattern that u have to take and the bot will follow all the colors in the same area, and 0 if u want the exact same colors
     if  Color.Pixel pattern can be located on screen("Pattern", "0")
          begin
               // Pattern is the same as the one befor this ,X,Y are Variables of the Ball Current Coordinate X and Y
               Color.Find pixel pattern("Pattern", "0", "yes", "X", "Y")
               Mouse.Move to coordinate("{X}", "{Y}")
               // Add this if u want the Mouse to click on it
               Mouse.Click("Left")
          end
 end

For Multiple choices make copies of this code as many choices as u need then each copy of this code make Pattern on different Bug
As Example :
Code:
 begin
     // it's the Pattern that u have to take and the bot will follow all the colors in the same area, and 0 if u want the exact same colors
     if  Color.Pixel pattern can be located on screen("Pattern For Bug N1", "0")
          begin
               // Pattern is the same as the one before this ,X,Y are Variables of the Ball Current Coordinate X and Y
               Color.Find pixel pattern("Pattern For Bug N1", "0", "yes", "X", "Y")
               Mouse.Move to coordinate("{X}", "{Y}")
               // Add this if u want the Mouse to click on it
               Mouse.Click("Left")
          end
     // it's the Pattern that u have to take and the bot will follow all the colors in the same area, and 0 if u want the exact same colors
     if  Color.Pixel pattern can be located on screen("Pattern For Bug N2", "0")
          begin
               // Pattern is the same as the one before this ,X,Y are Variables of the Ball Current Coordinate X and Y
               Color.Find pixel pattern("Pattern For Bug N2", "0", "yes", "X", "Y")
               Mouse.Move to coordinate("{X}", "{Y}")
               // Add this if u want the Mouse to click on it
               Mouse.Click("Left")
          end
 end



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