Innuendo Active Member Joined Sep 27, 2010 Sythe Gold 0 Messages 155 Oct 20, 2010 #1 Okay I need SCAR to detect a colour and instantly click it. I have no clue how to use SCAR so if someone could be descriptive when posting how to do it. I'd be very grateful.
Okay I need SCAR to detect a colour and instantly click it. I have no clue how to use SCAR so if someone could be descriptive when posting how to do it. I'd be very grateful.
C cazax Forum Addict Joined Nov 13, 2007 Sythe Gold 0 Messages 457 Oct 20, 2010 #2 Code: program Colour; var x, y : integer; begin If FindColor(x, y, COLOR_HERE, 0, 0, 500, 500) Then begin movemouse(x, y); clickmouse(x, y, true); end; end. That would do it assuming the client dimensions are 500x500. Replace COLOR_HERE with the color.
Code: program Colour; var x, y : integer; begin If FindColor(x, y, COLOR_HERE, 0, 0, 500, 500) Then begin movemouse(x, y); clickmouse(x, y, true); end; end. That would do it assuming the client dimensions are 500x500. Replace COLOR_HERE with the color.
Innuendo Active Member Joined Sep 27, 2010 Sythe Gold 0 Messages 155 Oct 20, 2010 #3 That doesn't click anything. Still need help.
C cazax Forum Addict Joined Nov 13, 2007 Sythe Gold 0 Messages 457 Oct 22, 2010 #4 Innuendo said: That doesn't click anything. Still need help. Click to expand... Post a picture of what you're trying to find... would be more easy.
Innuendo said: That doesn't click anything. Still need help. Click to expand... Post a picture of what you're trying to find... would be more easy.
Innuendo Active Member Joined Sep 27, 2010 Sythe Gold 0 Messages 155 Oct 22, 2010 #5 I need to be able to click only the lion when ever it appears.
C cazax Forum Addict Joined Nov 13, 2007 Sythe Gold 0 Messages 457 Oct 22, 2010 #6 Try this... Code: program Colour; var x, y : integer; begin If FindColor(x, y, 3037874, 0, 0, 750, 750) Then begin movemouse(x, y); clickmouse(x, y, true); end; end. Remember to drag the cross to specify the client(it's on the toolbar).
Try this... Code: program Colour; var x, y : integer; begin If FindColor(x, y, 3037874, 0, 0, 750, 750) Then begin movemouse(x, y); clickmouse(x, y, true); end; end. Remember to drag the cross to specify the client(it's on the toolbar).
Innuendo Active Member Joined Sep 27, 2010 Sythe Gold 0 Messages 155 Oct 23, 2010 #7 I dragged the cross on the client still then press the green play button, then I just get a message saying successfully executed without clicking.
I dragged the cross on the client still then press the green play button, then I just get a message saying successfully executed without clicking.
C cazax Forum Addict Joined Nov 13, 2007 Sythe Gold 0 Messages 457 Oct 23, 2010 #8 Link to the game? Then I can make it fully working.
Innuendo Active Member Joined Sep 27, 2010 Sythe Gold 0 Messages 155 Oct 23, 2010 #9 cazax said: Link to the game? Then I can make it fully working. Click to expand... Pm'ed you with all the details.
cazax said: Link to the game? Then I can make it fully working. Click to expand... Pm'ed you with all the details.
Innuendo Active Member Joined Sep 27, 2010 Sythe Gold 0 Messages 155 Oct 23, 2010 #10 Want to thank cazax for his great help. He got it all working This may be closed.