im pretty new to coding.
i tried to create a script which should do the following steps:
1. search for image
2. if it appears right click on it
3. if it doesnt appear do some mouse clicks
4. search for image again
5. if it appears right click on it
6 if it doesnt appear do some mouse clicks
and so on and so on
my result is:
without the else part the script is fine and it would right click on the image if it appears, however when i added the else part it wouldnt click on the image anymore if it appeared. (i think i use the else function wrong but let me know what you guys think)
im pretty new to coding.
i tried to create a script which should do the following steps:
1. search for image
2. if it appears right click on it
3. if it doesnt appear do some mouse clicks
4. search for image again
5. if it appears right click on it
6 if it doesnt appear do some mouse clicks
and so on and so on
my result is:
without the else part the script is fine and it would right click on the image if it appears, however when i added the else part it wouldnt click on the image anymore if it appeared. (i think i use the else function wrong but let me know what you guys think)
Try to avoide unnessesery orders:
move this line outsed of the While loop, since u do not have to reload the file over and over again.
$file = @DesktopDir & '\Coronet.bmp'
the sleep functions not realy needed between clicks, you can set a click speed in mouseclick("button", $x, $y, number of clicks, speed) "speed [optional] the speed to move the mouse in the range 1 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10."
As Moneypulation said, use higher tolerance in imagesearch. Something like 50 or 100. value 0 mean find the exactly same image as your image stored in the file.
Quest Repeat.... Help!!.. 05/22/2008 - RF Online - 9 Replies can anyone help me about this hack??!! quest repeat??!!... tnx...
The Cursed Shard Rinse and Repeat 07/03/2007 - General Gaming Discussion - 3 Replies 10-1) The Cursed Shard
Rewards: None
Start: Menth Paul, , Mensix Mining Facility, Mustafar
Part 1: What to do? - While traveling around Mustafar you will be attacked on two occasions:
Combat: 3x Tulrus (CL70) area around the Crystal Flats POI marker (was at for me)
Combat: 2x A Smoldering Lava Flea (CL80 Boss) area around The Burning Plains POI marker (was at for me)
Hitting much fast / repeat last hit 08/07/2006 - General Gaming Discussion - 2 Replies All you need is a macro like:
Macroname: hit
And then start it multiple Times ~10.
Now go to a enemy and attack :D
Rinse and repeat 06/06/2006 - General Gaming Discussion - 0 Replies hi i was wondering about the 23k exp repeatable in kash. ive done everthing to get into etyyy and i found the person to talk to. so once im done with the mission do i just click "stop conversing" then accept my thing, or should i stop conversing and exit out of the mssion and then accept the stuff in my journal? im confuzled
Repeat Able Sher Kar Caves 01/02/2006 - General Gaming Discussion - 0 Replies Here how it works
1: Need the Syring to enter the Cave
2: Need a group. Big enought to take down Sher Kar
3: Whole group enters cave with Syringe
4: Person with the Syringe must die and clone and take the 45min lockout
5: Group kills Sher Kar
6: Syringe person immediatly logs off as well as the rest of the group after looting Sher Kar's Corpse
7: Wait 5 mins after logging and log back in. Enter Cave.