SRL Archive - General

Scar/SRL not working properly? [BUG?!]


Hugolord

2008-07-01 16:30:40

Well I've talked to Freddy already and reported it as a bug in his site.

I can't get scar to press any keys in this simple script:

Program New;
{.include srl/srl.scar}


procedure First;
begin
if IsKeyDown('1') then
begin
Writeln('Debug 2');
SendKeys('r');
Writeln('Debug 3');
Keydown(114);
Writeln('Debug 4');
KeyUp(114);
Writeln('Debug 5');
Wait(10);
Writeln('Debug 6');
Keydown(114);
Writeln('Debug 7');
KeyUp(114);
Writeln('Debug 8');
Wait(10);
Writeln('Debug 9');
end;
end;

begin
SetupSRL;
Repeat
First;
until(false);
end.

can you?

Try it out please, just hold down one and see if it types in "r".

–

Hugo

Cazax

2008-07-01 16:38:48

It typed 'r'. Why are you including SRL if you arent using it?

Hugolord

2008-07-01 17:47:08

From: Cazax
It typed 'r'. Why are you including SRL if you arent using it?


I was planning on using it later, but I can't do much else till I figure out why it never types "r" for me -,-.

Bonfield

2008-07-01 21:44:09

it also worked for me and i cant see why it will not work for you

Hugolord

2008-07-02 07:20:57

Well now it works, it's strange actually, sometimes it does completely nothing (like just writes in the debugs) and sometimes it works fine -,-..

oh well it works now so I guess it's alright although its's a bit strange how it doesn't work sometimes :S

thanks for the comments though guys.
someone close please?

Smartzkid

2008-07-04 08:31:52

Firewall?

I know Zonealarm and Threatfire sometimes mess with SCAR…

noidea

2008-07-04 08:46:31

Well, when I tried it, if I held down the '1' button for half a second it did not type more than one '1' while typing about four 'r' s .
look,

[BANANA]1rrrrrrrrr1r1r1r11r1r11r11r11r1rr1rrrr1rrrrrr1rrrrrrrrrrrr11r11r1r11r1r11111r11r1r11r1r11r1r11r1r1r1r1rr1rr1rrr1rr1rrr1rr1rrrrrr1rrrrrrr1rrrrrrrr1r1r11r1rrrrrrrrrrr11r1r11r1r11r1r1rrrrrrrrr11r1r1r1rrrrrrrrrrr1r1r1rrrrrrrr1rr1rrrrrrrrr1rrrrrrrrr1rrrrrrrrrr1rrrrrrrr1rr1rrrrrrrrrrr1r1rrrrrrrrrrr1r11r11r1rrrrrrrr[/BANANA]

Tats what I did in like 7 seconds.

noidea