SRL Archive - Help

Game blocking scar clicks?


Paradoxium

2012-05-22 15:35:20

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

2012-05-22 15:45:31

Heya, What game is this?


~Home

Paradoxium

2012-05-22 15:56:13

From: Home
Heya, What game is this?


~Home


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

NCDS

2012-05-22 16:48:35

From: Paradoxium
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

2012-05-22 17:01:49

From: NCDS
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!!