SRL Archive - OSR Help

When Bitmap is Detected Hold Backspace for 3 seconds


Cody44

2014-08-26 02:36:57

For the pincracker, if an incorrect password is typed and the bitmap for invalid password etc is detected, I want the script to hold backspace for 3 seconds then re-type the password. What is the code for hold backspace 3 seconds?

Brandon

2014-08-26 03:03:04

From: Cody44
What is the code for hold backspace 3 seconds?




begin
KeyDown(VK_BACK);
Sleep(3000);
KeyUp(VK_BACK);
end.


Not sure what pin-cracker you're talking about but if it's against the rules (Malicious intent), you won't get many replies..

Cody44

2014-08-26 03:05:08

From: Brandon

begin
KeyDown(VK_BACK);
Sleep(3000);
KeyUp(VK_BACK);
end.


Not sure what pin-cracker you're talking about but if it's against the rules, you won't get much help on it..


Yeah I understand, thanks though.

Cody44

2014-08-26 03:17:46

From: Brandon

begin
KeyDown(VK_BACK);
Sleep(3000);
KeyUp(VK_BACK);
end.


Not sure what pin-cracker you're talking about but if it's against the rules (Malicious intent), you won't get many replies..


EDIT: I got it working, but it deletes only one character every 5-7 seconds which is far too slow, any reason for this?

Cody44

2014-08-26 04:01:04

Could anyone help?

Wetish

2014-08-26 06:27:38

Spam press the button?

slacky

2014-08-26 06:30:30

From: Cody44
Could anyone help?

There is nobody he who is psychic. You need to show your code if you want any proper help.

Tho, assuming it requires separate inputs to delete each character you have to do something like:

var
clicktime, t:Integer;
begin
clicktime := 3000; //click backspace for 3000ms aka 3sec
t := GetTimeRunning();

while (GetTimeRunning() - t) < clicktime do
begin
KeyDown(VK_BACK);
Sleep(10);
KeyUp(VK_BACK);
end;
end.

Or you could do something like this to specify how many character you wish to delete..

var chars:Integer;
begin
chars := 10; //delete 10 chars

for i:=1 to Chars do
begin
KeyDown(VK_BACK);
Sleep(20);
KeyUp(VK_BACK);
end;
end.