slushpuppy
2013-03-29 08:03:04
This script pickpockets guns at tower of life, south of ardougne. Due to the nature of him giving you sammiches, you can literally run this for hours without having to bank. This script should detect all random events except combat ones.
Instructions:
Instructions:
- Copy and paste script below
- Download Charge.zip
- Extract Charge.zip
- Move Charge.wav into the same folder as Simba.exe
- Turn sound up. If script detects you are dying it will play Charge.wav
{$DEFINE SMART}
{$DEFINE SMART8}
{$I SRL-OSR/SRL.Simba}
Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := '';
Pass := '';
Pin := '';
WorldInfo := [27, 42, 45, 46, 48, 52, 59, 70, 72, 78, 79, 87, 104, 115, 117];
BoxRewards := ['XP','xp','lamp'];
LampSkill := Skill_Slayer;
Active := True;
Nick := '';
end;
end;
function getApproxHP() : Integer;
begin
with MFBox do
begin
Result := 100 - CountColorTolerance(HP_BAR_COLOR2, X1, Y1, X2, Y2, 2);
end;
end;
var tmpx,tmpy : Integer;
blackList : array of Integer;
begin
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
Smart_Server := 72;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
{$ELSE}
// SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}
{$ENDIF}
DeclarePlayers;
SetupSRL;
SRL_COMBATRANDOMS := false;
SetAngle(SRL_ANGLE_HIGH);
repeat
begin
if not LoggedIn then LogInPlayer;
if LoggedIn then
begin
FindNormalRandoms;
if srl_InFight AND (getApproxHP < 60) then
PlaySound('./Charge.wav');
if (Pos('stun',GetBlackChatMessage) > 0) OR InvFull then
begin
for tmpx := 1 to 28 do
begin
if ExistsItem(tmpx) AND (not InIntArray(blackList,tmpx)) then
begin
MMouseItem(tmpx);
sleep(200);
if IsUpTextMultiCustom(['eat','triangle','riangle','andwic']) then
begin
ClickMouse2(mouse_Left);
sleep(400);
break;
end else
CombineIntArrayWrap(blacklist,[tmpx],blacklist);
end;
end;
end;
tmpy := MSCX;
tmpx := MSCY;
if FindObjTPA(tmpx,tmpy,5863837,39,1,10,10,15,['talk-to','alk-to','k-t']) then
begin
Mouse(tmpx,tmpy,3,3,mouse_Right);
sleep(400);
if ChooseOptionMulti(['pickpocket','ickpocke','ckpock']) then
sleep(1500 + Random(1000));
end;
end;
end
until(false);
end.