Jump to content

Help [Help] On Macro/bot


Recommended Posts

Hey all! I'm new to this and after hours of searching, changing scripts etc. I've given up and I'm asking for your help.
So what I'm trying to do is this.
At a specific pixel location I need to send a key when the color changes. If the color doesn't change, then, ahk does nothing (but remains active in case the color changes).

Closest script I've made so far (using autohotkey) is this one,
 

F1::
Loop
{
PixelSearch, Px, Py, 121, 121, 915, 915, 231615, 3, Fast
if ErrorLevel = 0
    {
    SendInput {D}
    }
}

But it seems that this script all it does is just press the key (d in that case) again n again no matter the color is there or not..



So in details what i want is this.
When this flask is green like this, should hit D.
HaOzy5S.png

BUT

when it's like this, it should do nothing but wait for it to be green again and loop the prev step.
0I57r2V.png

Edited by DjNanos
Link to comment
Share on other sites

No need for double topic man you already got one in vip section..

forum seems kinda dead to me..had to make sure someone would see it...idc about post count...take them away if u like really..i just want a solution/help

Edited by DjNanos
Link to comment
Share on other sites

First of all if i get it right you messed up the order of the pictures.
Anyway i might got it wrong.
Question : You have to press it when it is green right?
                  So if you hit it when it is not green but dark or something will you get any kind of punishment ?

 

( i might get wrong the whole point of it but if i am right you just have to install and change some options from GhostClicker and it will spam the potion even if it is green or dark )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disbaled AdBlock