ChickityChina Posted January 15, 2016 Share Posted January 15, 2016 (edited) Hey guys,So, hopefully this isn't a stupid question.I've been working on making an auto-rotation set up for a game where it fires off skills when certain prerequisites are met. The main way that I've been doing this is through PixelGetColor, and it seems to be working mostly the way that I want it to.One issue that I'm having, however, is that the keys seem to be trying to be pressed at the same time (or incredibly close together), which is causing some skills to be missed entirely.Just to be clear, this isn't a delay issue as such. It's more like the script doesn't quite know if it should press 1 or 4, so it just sticks with pressing 1 over and over again. Here's the segment that I'm a little stuck on:<snip>Let's say that there needs to be 5x (game) resource to use Send 4 (which is indicated by the PixelGetColor). About 80% of the time, if Send 4 and Send 1 are both available, it will choose Send 1 (repeatedly).I hope I explained that clearly. Thanks for any help that you might be able to give! Edited January 15, 2016 by Melba23 Code removed Link to comment Share on other sites More sharing options...
TheDcoder Posted January 15, 2016 Share Posted January 15, 2016 (edited) Let's say that there needs to be 5x (game)Any kind of interaction with games is not allowed in this forums, Please read the forum rules! Edited January 15, 2016 by TheDcoder Added link to rules EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
ChickityChina Posted January 15, 2016 Author Share Posted January 15, 2016 (edited) Ugh, sorry. I thought I had read a bunch of previous posts in similar areas. I'm probably mistaken. Feel free to lock or delete or whatever. Edited January 15, 2016 by ChickityChina Link to comment Share on other sites More sharing options...
TheDcoder Posted January 15, 2016 Share Posted January 15, 2016 A mod will soon lock this threadI hope to see you with a legitimate question again! EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Recommended Posts