Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
hesco

Please help this noob.

Recommended Posts

Hi there i have been watching tutorial and a lot more on youtube and this site.

 

I'm trying to make a auto pot for a game. All it has to do is whenever it goes lower then 7 heart from 10 it will pot.

 

I already made the autopot script work, it's good but i want to make it pot automatically when it's lower then 7heart, currently everytime i have too use the hotkey to pot myself.

 

Here is the script i made -

 

program Inventory;

 

procedure Pot1;

begin

MoveMouse(1396, 766);

Wait(10);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

Wait(10);

end;

 

procedure Pot2;

begin

MoveMouse(1396, 766);

Wait(10);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

Wait(10);

end;

 

procedure Pot3;

begin

MoveMouse(1396, 766);

Wait(10);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

Wait(10);

end;

 

procedure Pot4;

begin

MoveMouse(1396, 766);

Wait(10);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

ClickMouse(1396, 766,true);

Wait(10);

end;

begin

Pot1;

Pot2;

Pot3;

Pot4;

end.

 

It works fine, i just wanna make sure it auto pots whenever it gets lower then this heart from 10 to 7 or 7.5. I already tooked the bmp of it, if anyone can tell me how to get it done.

 

When it's full - full.png

When it's 7.5 or 7 heart left i want it to auto pot - sv1.png

 

 

Bmp - deNrtlNEJgDAMRG8D93EnJ3BTl1GhE ESTXEyr/' +

'WnIh5Rn7qxHZkzY1mX0d727RRk66nquwvUSUgB8pgDOqBPw4Z wEjCpYeVZhOiT' +

'ilkpYb0Vi43xv4i0K0yTk3D4H/uM2fUtObiNCcQNqYhP/9BY/VaLebS636o56u' +

'xO6uJXzjm4jq9vKZ1u3suj8u4VdFLMkLN2In9Ft+wB7vHkH

 

All i want is to make the script pot when it gets lower like 7.5 i posted both photo, please help this noob. I also want the script to continiously run it so whenever its low i get auto pot.

 

Thanks a lot.

Share this post


Link to post
Share on other sites

Use something like

 

if (GetColor(PinkDotX, PinkDotY) = PinkColor)) then
DoThis;

No need for bitmaps or complicated things.

Share this post


Link to post
Share on other sites

Well you notice the state of the heart when it's not there isn't pink so if you get that same point (when the heart is there) with the color picker on your tool bar it will give you the decimal color and point in the debug box at which point you can plugin the (x, y) : PinkColor would look something like (323, 234) 5896841

Edited by Wanted

Share this post


Link to post
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.


×
×
  • Create New...