BlackHawk Posted March 21, 2009 Share Posted March 21, 2009 Hi need some help with the Checksum command, i want to make multiple checksums on a game, the first checksum will look for something changing on a determinate area, when something changes will send a key press, then it will need to check other area to see if something changes, when it change it will send another key press. and then it will need to check other area if someting changes and send another key press. CODE;Stage the Car $checksum = PixelChecksum(588,318, 589,319) Send ("{UP}") While $checksum = PixelChecksum(588,318, 589,319) Sleep (100) WEnd Send ("{DOWN}") ;Click on Gas Pedal and Hold Down MouseClick("left", 680, 472, 1) MouseDown("left") $checksum = PixelChecksum(619,405, 620,404) While $checksum = PixelChecksum(619,405, 620,404) Sleep (100) WEnd Send ("{UP}") ;Here Goes the time Between Shifts $checksum = PixelChecksum(280,429, 280,429) While $checksum = PixelChecksum(280,429, 280,429) Sleep (100) WEnd Send ("{UP}") MouseUp("left") Link to comment Share on other sites More sharing options...
Aceguy Posted March 21, 2009 Share Posted March 21, 2009 to get you started $checksum = PixelChecksum(588,318, 589,319) Send ("{UP}") do Sleep (100) $checksum2= PixelChecksum(588,318, 589,319) until $checksum <> $checksum2 [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
BlackHawk Posted March 25, 2009 Author Share Posted March 25, 2009 Still don't get it right but have made some changes to the script and would be glad if you could help me. I want the Script to check different Checksums but not at the same time. i.e. 1 Checksum: check x,y area if something change send Down sendclik x,y mouse down 2 Checksum: Check A,B area If something Changes Sleep (1340) Send UP Sleep (5000) Send UP Sleep (15000) Mouse Up Sleep (20000) 3 Checksum: check x,y area if something change send Down sendclik x,y mouse down 4 Checksum: Check A,B area If something Changes Sleep (1340) Send UP Sleep (5000) Send UP Sleep (15000) Sleep (17000) and will repeat 5 Times each one wil have a sleep time at the end with different time, first 20 seconds, then 17 then 13 then 10 . There will be a total of 10 Checksums in the script, also would like to add a hotkey to repeat the loop and would like to have the script runing and when i click the hotkey the loop would start. Thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now