Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 8:13 pm

All times are UTC




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
Options:
BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Please click and drag the 2 correct statements to the right hand side.
Please click and drag the 2 correct statements to the right hand side.
Please select the options below to the correct list to avoid automated registrations.
Statements
2 correct statements
Elephants can fly
Chickens can talk
Dogs have 4 legs
Fish can swim
   

Topic review - Basket Ball Bot v2
Author Message
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
It will only display images of type *.png

The "Load" function in the Investigator is only intended to be used for images created by the Investigator, meaning the format would correctly be in png and be visible when browsing for the image.
Post Posted: Mon Jun 27, 2011 10:17 am
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
Worked, Ty

I have one suggestion:

When you select Investigator and select Load Image from HDD, the filetype said: Image, but you cant see no images in the folder, I had to manually enter the file's name.
Post Posted: Mon Jun 27, 2011 9:59 am
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
Remove { and }
in "Mouse.Save coordinate to variable("{ballX}", "{ballY}")"

{ and } is only used when reading the value of a variable, not when specifying the name of a variable.
Post Posted: Mon Jun 27, 2011 9:29 am
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
Hi, so I try to use this macro, with the changes some ppls said:
Code:
 begin
     Mouse.Save coordinate to variable("{ballX}", "{ballY}")
     Variable.Evaluate (Math)("({ballY}-{basketY})/({ballX}-{basketX})", "R1")
     Variable.Evaluate (Math)("(2*{R1}*{basketX}+{tanF}*({basketX}+{ballX}))/(2*({R1}+{tanF}))", "M")
     Variable.Evaluate (Math)("{M}-{basketX}", "p1")
     Variable.To power of (Math)("p1", "2")
     Variable.Evaluate (Math)("{ballX}-{M}", "p2")
     Variable.To power of (Math)("p2", "2")
     Variable.Evaluate (Math)("({p1}*{ballY}-{p2}*{basketY})/({p1}-{p2})", "B")
     Mouse.Click at coordinate("{M}", "{B}", "Left")
 end


I get an error: A variable called M, does not exist
The first error is A variable called ballX, does not exist
But ballX and ballY should be from mouse coord.

here is the log:
Code:
Executing: Mouse.Save coordinate to variable(Variable for X: {ballX}, Variable for Y: {ballY})
Error: A variable called ballX, does not exist
Executing: Variable.Evaluate (Math)(Expression: ({ballY}-{basketY})/({ballX}-{basketX}), To variable: R1)
Error: The following expression could not be evaluated: ({ballY}-{basketY})/({ballX}-{basketX}) (parsed as: ({ballY}-{basketY})/({ballX}-{basketX}))
Executing: Variable.Evaluate (Math)(Expression: (2*{R1}*{basketX}+{tanF}*({basketX}+{ballX}))/(2*({R1}+{tanF})), To variable: M)
Error: The following expression could not be evaluated: (2*{R1}*{basketX}+{tanF}*({basketX}+{ballX}))/(2*({R1}+{tanF})) (parsed as: (2*{R1}*{basketX}+{tanF}*({basketX}+{ballX}))/(2*({R1}+{tanF})))
Executing: Variable.Evaluate (Math)(Expression: {M}-{basketX}, To variable: p1)
Error: The following expression could not be evaluated: {M}-{basketX} (parsed as: {M}-{basketX})
Executing: Variable.To power of (Math)(Variable name: p1, By: 2)
Error: A variable called p1, does not exist
Executing: Variable.Evaluate (Math)(Expression: {ballX}-{M}, To variable: p2)
Error: The following expression could not be evaluated: {ballX}-{M} (parsed as: {ballX}-{M})
Executing: Variable.To power of (Math)(Variable name: p2, By: 2)
Error: A variable called p2, does not exist
Executing: Variable.Evaluate (Math)(Expression: ({p1}*{ballY}-{p2}*{basketY})/({p1}-{p2}), To variable: B)
Error: The following expression could not be evaluated: ({p1}*{ballY}-{p2}*{basketY})/({p1}-{p2}) (parsed as: ({p1}*{ballY}-{p2}*{basketY})/({p1}-{p2}))
Executing: Mouse.Click at coordinate(X Coordinate: {M}, Y Coordinate: {B}, Mouse Button: Left)
Error: A variable called M, does not exist
Post Posted: Mon Jun 27, 2011 9:27 am
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
Gigus wrote:
Please create a forum account, then you will not have to enter the confirmation code (CAPTCHA) I have no choice but to leave it as difficult as it is right now, otherwise the forum is flooded by bots in a couple of hours.

According to the log, the ball is not recognized, try to create a new image of the ball, and make sure not to catch any of the background, get as much of the ball as possible in the image, but without getting any of the background color.

Thank you for the info, but my trial expired and now i can't test anymore.
Post Posted: Tue Jun 07, 2011 1:43 pm
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
Please create a forum account, then you will not have to enter the confirmation code (CAPTCHA) I have no choice but to leave it as difficult as it is right now, otherwise the forum is flooded by bots in a couple of hours.

According to the log, the ball is not recognized, try to create a new image of the ball, and make sure not to catch any of the background, get as much of the ball as possible in the image, but without getting any of the background color.
Post Posted: Tue Jun 07, 2011 1:41 pm
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
Now, when i click ctrl to start the bot, it says "A variable called B, does not exist"
Post Posted: Tue Jun 07, 2011 1:21 pm
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
In the BE settings window, try to disable DirectX capturing in Settings --> Screen --> Deactivate the direct capturing and press Save.

Then try to capture a new screen dump with the Investigator and see if it makes a difference.
Post Posted: Mon Jun 06, 2011 2:13 pm
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
jacy4 wrote:
Hello, i have a problem with the new bot. How can i use it? There is no info how... :? I set it up and nothing. I was trying with triggers and still nothing :/ can someone help me?

I think i know why this is happening. When i was using the investigator to find the ball, when i hit printscreen then only some strange garbage appears. I don't know if this makes the script not working. Some expert may help me :?:
Post Posted: Mon Jun 06, 2011 1:26 pm
  Post subject:  Re: Basket Ball Bot v2  Reply with quote
Hello, i have a problem with the new bot. How can i use it? There is no info how... :? I set it up and nothing. I was trying with triggers and still nothing :/ can someone help me?
Post Posted: Sun Jun 05, 2011 5:29 pm

All times are UTC


Jump to:  


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