first of all, i have no previous experience in coding at all but this code was very easy to understand and i was amazed at the ingenuity of this script. keep up the good work!
when i first got the script however, it did not work as i think it was designed for the default resolution. but i tweaked the coordinates a bit (took me 4 hours of changing 1 coordinate, starting game and see how far it goes etc!) and i think i have a working one for any 16:9 resolutions. this said, i think someone can tweak a bit to make other resolutions work as well.
1 thing i have noticed i could not get it to work though. death check, i could never get it to work. could someone take a screen shot of the exact location of the thing the program picks up on? i was guessing it was the resurrect button colour but when i tried a lot of different areas of the button i could not get it to work. this wasnt a major problem tho because the script ran its cycle in the character screen and exited out of the banner/profile page and got back into the game, all about 30-40 sec lost due to this only.
rare loot was working but if there was a "hold alt" for the looting part it would be improved upon i feel as the names disappear after few seconds. gem pick up is not working but i dont mind 1 bit about that (although it would be nice to have, we all know how frustrating it can be when ur trying to make an upgrade and ur missing 1 to do so). also i could not add a alt button function myself, i dont know how this works but when ever i added 1 more line to the script it seemed to have some problems.
so long story short, i woke up to find a few rares in my stash and 1.3 million added into my bank and it was still going strong running. i hope someone can help me with death check so we can improve on this even further.
here is the modified script, i hope it works for everyone who have different resolutions
any 16:9 resolutions working - Pastebin.com