L2Program
2010-02-23 09:51:01
Dont plan to use this on runescape as its still really simple but it would be nice to run it through a couple of times just to show it works. 1 error currently in it can someone help me?
The error is:
Hopefully my script is right! it's supposed to pickpocket a guard every 3 seconds on a continous loop!
program Pickpocketing;
{.include SRL/SRL.scar}
var
x,y: Integer;
const
GuardColor= 689068;//colour of the guard
begin
SetupSRL;
repeat
FindColorTolerance(x,y,GuardColor,0,0,600,600)) then
ClickMouse(x,y,true);
ChooseOption('pickpocket');
Wait(3000+random(100));
end;
until(false);
end.
The error is:
New client targeted
Failed when compiling
Line 51: [Error] (330:11): Unknown identifier 'CreateTPAFromBMP' in script C:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\Math.scar
Hopefully my script is right! it's supposed to pickpocket a guard every 3 seconds on a continous loop!