Le Jingle
2012-04-12 21:16:41
Well, made a function that I thought would be useful. Basically I notice that when I'm killing monsters or doing boring bank skills, I tend to have a hand on the keyboard, specifically rotating the camera via the arrow keys.. Which leads me to this suggestion:
Feel free to take a look / test it out and let me know what you think.
Advice / criticism / comments welcome :>
//Personally synthesized from work/advice via MasterBB, R1ch, Nebula and Wizzup?
Procedure AntiBanRandomAngleToggle;
var
StartAngle, ttlkeys, clicks, i: integer;
begin
FindNormalRandoms;
StartAngle := round(rs_GetCompassAngleDegrees());
ttlkeys:= RandomRange(15, 50);
begin
repeat
begin
i:= random(4);
case (i) of
1: begin
KeyDown(VK_Left);
Wait(200+random(50));
KeyUp(VK_Left);
IncEx(clicks, 1);
end;
2: begin
KeyDown(VK_Right);
Wait(200+random(50));
KeyUp(VK_Right);
IncEx(clicks, 1);
end;
3: begin
KeyDown(40);
Wait(200+random(50));
KeyUp(40);
IncEx(clicks, 1);
end;
4: begin
KeyDown(38);
Wait(200+random(50));
KeyUp(38);
IncEx(clicks, 1);
end;
end;
end;
until (clicks = ttlkeys)
if (clicks = ttlkeys) then
begin
Wait(100+Random(50));
MakeCompass(StartAngle);
end;
end;
end;
Feel free to take a look / test it out and let me know what you think.
Advice / criticism / comments welcome :>