Log in

View Full Version : Game blocking scar clicks?



Paradoxium
05-22-2012, 07:35 PM
Hi, so i developed a small script that would play for me in an mmorpg. The problem is that after it clicks to get inside of the client(via clicking it on my taskbar), it fails to click and sendkeys ingame...Could it be that the game is blocking simulated clicks from scar? Here is my code

program Main;

var
X,Y: Integer;

function FindReadys:Boolean;

begin

Result := FindColorTolerance(X, Y,15137340, 1215, 411, 1235, 435, 20) {and FindColorTolerance( X, Y,16120397, 763, 176, 787, 202,20)};
end;


procedure Logintogame;
begin


ClickMouse(671,1018,true); //clicks back into client
Wait(500);

repeat
Wait(500);
Writeln('Waiting for others to be ready'); //(waits until other cows are ready)
until(FindReadys);


SendKeys('hello');
ClickMouse(1203,675,true); //clicks start twice
Writeln('Clicked');
end;



{procedure WalkOver;
begin

end;}





begin
Logintogame;
//WalkOver;
end.

Home
05-22-2012, 07:45 PM
Heya, What game is this?


~Home

Paradoxium
05-22-2012, 07:56 PM
Heya, What game is this?


~Home

crossfire z8games, would there be a way to confuse the computer into thinking it were real clicks?

NCDS
05-22-2012, 08:48 PM
crossfire z8games, would there be a way to confuse the computer into thinking it were real clicks?

Try calling 'ActivateClient;' after the game window has opened.

Paradoxium
05-22-2012, 09:01 PM
Try calling 'ActivateClient;' after the game window has opened.

you might be a genius..... :D :D i spent the last hour looking for virtual keyboard drivers lol thanks you so much!!