hesco Posted December 9, 2015 Share Posted December 9, 2015 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 - When it's 7.5 or 7 heart left i want it to auto pot - 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. Quote Link to comment Share on other sites More sharing options...
Wanted Posted December 9, 2015 Share Posted December 9, 2015 Use something like if (GetColor(PinkDotX, PinkDotY) = PinkColor)) then DoThis; No need for bitmaps or complicated things. Quote Link to comment Share on other sites More sharing options...
hesco Posted December 10, 2015 Author Share Posted December 10, 2015 Thanks a lot dear, what are the colors should i implement can u pls tell me? Quote Link to comment Share on other sites More sharing options...
Wanted Posted December 10, 2015 Share Posted December 10, 2015 (edited) 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 December 11, 2015 by Wanted Quote Link to comment Share on other sites More sharing options...