wister1
2012-02-18 12:28:14
The Mod Log out feature is implemented by the scripter in an anti-ban or is it automatic implemented in any script?
2012-02-18 12:28:14
2012-02-18 12:33:08
From: wister1
The Mod Log out feature is implemented by the scripter in an anti-ban or is it automatic implemented in any script?
2012-02-18 12:34:08
2012-02-18 12:39:31
From: Runescape Pro
I believe it is called in antirandoms.
2012-02-18 12:41:33
2012-02-18 12:42:34
2012-02-18 12:46:25
{*******************************************************************************
function FindMod: Boolean;
by: Stupid3ooo
Description: Results True if a mod is found, then it waits 10-20 mins and logs back in
*******************************************************************************}
function FindMod: Boolean;
var
tX, tY: Integer;
begin
if (not UseFindMod) or (not LoggedIn) then exit;
if not SRLBitmapsLoaded then
LoadSRLBitMaps;
if (FindColorTolerance(tX, tY, 14737632, MCX1, MCY1, MCX1 + 40, MCY2, 15)) or
(FindColorTolerance(tX, tY, 589815, MCX1, MCY1, MCX1 + 40, MCY2, 15)) then
if (FindBitmapToleranceIn(bmpMod, tX, tY, MCX1, MCY1, MCX1 + 40, MCY2, 15)) or
(FindBitmapToleranceIn(bmpAdmin, tx, ty, MCX1, MCY1, MCX1 + 40, MCY2, 15)) then
begin
Result := True;
AddToSRLLog('******** FOUND MOD ********');
WriteLn('******** FOUND MOD ********');
TakeScreen('Found mod');
Inc(tmp_RandSolved[rand_Mod]);
SaveToChatLog;
if (SRL_Procs[srl_OnFindMod] <> nil) then
SRL_Procs[srl_OnFindMod]();
if (LogoutOnMod) then
begin
Players[CurrentPlayer].Rand := 'Found Mod';
WaitFunc(@ExitToLobby, 500, 1500);
Wait(60000 + Random(60000));
LoginPlayer;
Players[CurrentPlayer].Rand := '';
end;
end;
end;UseFindMod := true;LogoutOnMod:= true;
procedure YourProcedure;
begin
writeln("Look, a mod!");
end;
SRL_Procs[srl_OnFindMod] := @YouProcedure;2012-02-18 12:59:35