when i run it on smart, it works well but when i run it on rs client (the one you download from runescape.com then use the 'green aim' to 'select a client') it does nothing... it just does nothing...... here's the script, is there something wrong?
Simba Code:program OgyAFK;
{$I SRL/SRL.Simba}
procedure DeclarePlayers;
begin
HowManyPlayers := 1; // Number of Players to use
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0; // Player to start with, first one is 0
Players[0].Name := ''; // Username
Players[0].Pass := ''; // Password
Players[0].Active := True; // just leave it as is.
Players[0].Pin := ''; // Bank Pin. Leave it if you don't have one.
Players[0].Integers[1] := 10000; // Number of loads
Players[0].Integers[2] := 375; // Xp For 1 Pouch Made <----------------------------------------
end;
var
SoundPath:string;
function PrayPts:integer;
var
Colourstring:string;
begin
result:= GetMMlevels('prayer',colourstring);
end;
Procedure Alert;
begin
SoundPath:=ScriptPath+'bang.wav';
PlaySound(SoundPath);
wait(1000);
end;
procedure findsound;
begin
if FileExists(ScriptPath + 'bang.wav') then
WriteLn('The file is there.')
else
WriteLn('The file isn''t there.');
end;
Procedure CheckAntiFire;
begin
if FindChatBoxText('dragon',8,127) then
alert
end;
Procedure HealthCheck;
begin
mmouse(500,500,5,5);
if (HPpercent < 98) then
alert;
end;
Procedure CheckPray;
begin
if (PrayPts < 400) then
alert;
end;
begin
SetupSRL;
DeclarePlayers;
LogInPlayer;
repeat
CheckAntiFire;
HealthCheck;
CheckPray;
until (false)
end.
