Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Dec 12, 2019 12:23 am

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
Fish can swim
Dogs have 4 legs
Elephants can fly
Chickens can talk
   

Topic review - Searching for paid scripter..
Author Message
  Post subject:  Re: Searching for paid scripter..  Reply with quote
i just did with image located.. i have a question, how does sandbox works? is it possible to use it with BEM?is the cursor of the mouse will double too? because BEM needs the mouse cursor to works properly right?
Post Posted: Sat Nov 02, 2019 2:53 pm
  Post subject:  Re: Searching for paid scripter..  Reply with quote
Sounds like you can do like you did in your script above where you had everything separated out into functions. I don't totally understand your question, but it sounds like you want something like this:

Code:
  begin
     Window.Display message box("First F9 key press", "yes")
     Macro.Start stopwatch("buff")
 end
 begin loop("")
     if  Macro.Stopwatch counter is greater than("buff", "2400")
          begin
               Window.Display message box("press F9 again", "yes")
               Macro.Restart stopwatch("buff")
          end
     if  Color.At the current mouse position is (RGB)("27", "152", "120")
          begin
               Macro.Reset stopwatch("buff")
               Macro.Restart("yes")
          end
 end
This script will play the first part once and then go into a loop for the second. It will stay in the second part until the color is found under the mouse, but press F9 every 2.4 seconds until that happens. You just need to change it to what you're doing.

You can test this on your desktop. Take a screenshot and pick a color/location with the Investigator tool. When you want it to restart, move your mouse to that location you picked. Once you understand it, make the changes for your game by replacing the window.display with key presses, add the right time for your buff, etc...
Post Posted: Wed Oct 30, 2019 7:02 pm
  Post subject:  Re: Searching for paid scripter..  Reply with quote
.
Post Posted: Tue Oct 29, 2019 9:55 pm
  Post subject:  Re: Searching for paid scripter..  Reply with quote
You can't if you script it that way ("within ms"), but a better way to do it altogether is by using a stopwatch...and then you can reset them also (of course you'll be using multiple stopwatches, one for each buff).

If you don't know how to use stopwatches, a user has a video here: viewtopic.php?f=111&t=22190 look for "how to create and use a stopwatch."

So you would create a stopwatch for each buff, replace your "if within ms" with:
- read stopwatch("buff1")
- If variable.is greater than 2400000 ms
-- rest is the same:
Keyboard.Press keys at once("{<f9>}")

After that you can add "reset stopwatch" in the place that you described (well, 3 of them...one for each stopwatch). However, I don't think you really want to reset the timers (in any case) here...that would mess up the timing no matter how you do it. Why do you want to reset here?

Using stopwatches, you shouldn't have to do a total reset. I would add a reset for each buff after the "keyboard.press keys at once("{<f9>}")"...you shouldn't need to reset again at all.
Post Posted: Tue Oct 29, 2019 8:59 pm
  Post subject:  Re: Searching for paid scripter..  Reply with quote
.
Post Posted: Tue Oct 29, 2019 8:20 pm
  Post subject:  Re: Searching for paid scripter..  Reply with quote
pm me
Post Posted: Tue Oct 29, 2019 3:34 am
  Post subject:  Re: Searching for paid scripter..  Reply with quote
Quite a few ways to do it. If you just want it to repeat a certain number of times, use a loop with the number of times in parenthesis like this: begin loop("30"); and it will run 30 times.

For that one and for an infinite number that only exits after a pixel pattern is found, use:
if pixel pattern is located on screen
begin
macro.restart
end
--- somewhere in your 6th function. Depending on how long your 6th function is, you may want to put that in multiple times to check more often. Or you could write it is as a separate function (to check for that pixel pattern) and only add "function.execute(pixel check)" where-ever and as often you want.

Many ways to do it. Those are a few ideas.
Post Posted: Tue Oct 29, 2019 2:01 am
  Post subject:  Re: Searching for paid scripter..  Reply with quote
i have 6 function execute..it works fine but i want to do is after executing number 5.. the next execute(number 6) will run like 30 times and it will only break if the colorPixel is located on the screen.. and repeat all 6 function again
Post Posted: Mon Oct 28, 2019 8:16 am
  Post subject:  Re: Searching for paid scripter..  Reply with quote
It's a community which helps each other...why don't you try posting your scripting question.
Post Posted: Sat Oct 26, 2019 8:35 pm
  Post subject:  Searching for paid scripter..  Reply with quote
Is there any active paid scripter here that can help me with script.. i have little knowledge of making script. and i want to learn.. willing to donate or pay/hr or fix price.. thanks
Post Posted: Sat Oct 26, 2019 4:32 pm

All times are UTC


Jump to:  


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