Jutsin Posted October 8, 2019 Posted October 8, 2019 Hello guys im trying to make a simple script to run a pixelsearch of a color on loop then click that pixel so i can automate farming within a game. this is what i have so far but when i run the script it doesn't do anything. $pixel = PixelSearch (0, 0, 1908, 1035, 0x99668F,) If IsArray($pixel) = True Then MouseClick($pixel [0], $pixel [1], 1) If Not @error Then MsgBox ("Error", "Couldn't find pixel") EndIf EndIf EndIf I even tried putting Mousemove to see if it was working just not clicking but it doesn't seem to be working period for me very new to autoit just downloaded it a few hours ago any help would be amazing.
KickStarter15 Posted October 8, 2019 Posted October 8, 2019 Opss... I think you've missed our forum rules especially gaming automation. Please read them first before posting😉. Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare.
Jutsin Posted October 8, 2019 Author Posted October 8, 2019 yea i didn't read the rules before posting assumed it was ok because i see alot of people helping with scripts for a game in passed forum post my bad
Developers Jos Posted October 8, 2019 Developers Posted October 8, 2019 Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts