![]() ![]() and moved down by 5 pixels, of however much you want. when mouse gets outside your specified area, it is reset to the left most area you are searching in replace 305 with the Y coordinate of the bottom right corner you want to search within replace 435 with the X coordinate of the top right corner you want to search within weakness to water has a blue color that is best to be used with. ![]() starts mouse movement to eventually hover over target which will show their weakness ![]() coordinates where you want your mouse to start moving to detect npcs detect color of the blue pixel of the cows weakness to water spells when it appears. The script isn't currently working, as it has been edited. I haven't had the script mistake environment colors as of yet, so the script hasn't taken the character far from the pen. The cows weakness to water spells has a blue shade that isn't in any of the areas near by. This was tested in the cow pens in taverly. Using a pixel color of the actual npc itself as I have yet to find an area that the environment doesn't include the same color When it detects the pixel color of the weakness of the enemy you want to attack, it clicks there. My somewhat work in progress auto attacker - Moves mouse inside a rectangular area on screen and counts down variable used to determine how many times this loop is ran by 1 left clicks the coordinates on screen where "Drop. right clicks the coordinates of a log you are chopping that is visible on the abilities bar variable used to determine how many times logs are dropped check below drops logs if the seconds variable of the system clock is between 50 and 58 If inventory becomes full then a stump of a chopped tree wont be detected and _droplogs() if tree is cut down and regrows within the random 6-10 seconds then logs are not dropped To avoid constant left clicking to chop tree, sleeping script is needed random variable in ms to assign to sleep3 left mouse clicks on screen to chop tree When check see's that the tree has been cut down, it calls _droplogs() checksum color is the color of the tree grown back within the coordinates above pixelsearch rectangal coordinates of where the stump is on screen when the tree is fully gone. right now I have all functions in one script vs using different files and using the #include function ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |