TheGuyWhoGotOn
2007-09-05 16:56:27
TheGuyWhoGotOn - SRL Member Application Form
TheGuyWhoGotOn
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
Delphi, Java, VB Script, Visual Basic .NET, Javascript, PHP, Python.
Other Communitys
Global Mod and Community Member on Freddy1990.com
How Long have You Played Runescape
6 Years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I've had to do this 3 times now…I've been scripting in SCAR for about 1 year and 1 month…I have an include…Umm, as stated above I'm a Global Mod and Community Member on Freddy1990.com…I have yet to have a challenge I couldn't overcome, I can do anything I want to do on SCAR, well at least so far and all I really do is script in my spare time.
I just did everything you guys told me to do last time…
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
program PowerLogCutter;
{.include srl/srl.scar}
{.include srl/srl/core/users.scar}
{.include SRL/SRL/Skill/Woodcutting.scar}
{--------------------TheGuyWhoGotOn's Multi Chopper-------------------]
[=============================Version V1.32===========================]
[_____________________________________________________________________]
[-----------------------------Instructions----------------------------]
[---------------------------------------------------------------------]
[^^^^^^^^^^^^^^^^^^^^^^^^^Setup Lines 31 - 45^^^^^^^^^^^^^^^^^^^^^^^^^]
[---------------------------------------------------------------------]
[For power chopping, after you have setup the lines just run the ]
[script ]
[---------------------------------------------------------------------]
[For burning the logs, have a tinderbox in your first inventory slot ]
[and run the script ]
[---------------------------------------------------------------------]
[For banking the logs, go near the willow trees in Draynor. The script]
[will drop your logs if it doesn't see the bank so don't be alarmed ]
[the script is doing the work for you anyways =P ]
[---------------------------------------------------------------------}
var yougetsome, xx, yy, yourinv, users, h, m, s, nogametab1, darkness, cut, deads, lvltouse, lost, burned, banked, cantburn, beginburn, before, after, logs: integer;
tc: array[1..10] of integer;
regular, oak, willow, yew, burnlogs1, droplogs1, banklogs1: boolean;
pin: string;
procedure setup;
begin
SRLID:= ''; //Your SRL Stats ID
SRLPASSWORD:= ''; //your SRL Stats Password
NumberOfPlayers(2); //The number of players you will be using
Players[0].Name:= 'User'
Players[0].Pass:= 'Pass'
Players[0].Nick:= 'Nick' //3-4 characters, no capitals
Players[0].Skill:= 'Skill' //woodcutting or firemaking
Players[0].Active:= True
Players[1].Name:= 'Username'
Players[1].Pass:= 'Password'
Players[1].Nick:= 'Nick' //3-4 characters, no capitals
Players[1].Skill:= 'Skill' //woodcutting or firemaking
Players[1].Active:= True
//DO NOT edit below this line
Setupplayers;
Users:= HowManyPlayers;
end;
procedure regular1(sender: TObject);
begin
if regular = false then
begin
regular:= true
exit;
end;
if regular = true then
begin
regular:= false
exit;
end;
end;
procedure oak1(sender: TObject);
begin
if oak = false then
begin
oak:= true
exit;
end;
if oak = true then
begin
oak:= false
exit;
end;
end;
procedure willow1(sender: TObject);
begin
if willow = false then
begin
willow:= true
exit;
end;
if willow = true then
begin
willow:= false
exit;
end;
end;
procedure yew1(sender: TObject);
begin
if yew = false then
begin
yew:= true
exit;
end;
if yew = true then
begin
yew:= false
exit;
end;
end;
var
frmDesign : TForm;
Label1 : TLabel;
CheckBox2 : TCheckBox;
CheckBox3 : TCheckBox;
CheckBox4 : TCheckBox;
CheckBox5 : TCheckBox;
Button1 : TButton;
RadioButton1 : TRadioButton;
RadioButton2 : TRadioButton;
RadioButton3 : TRadioButton;
Edit1 : TEdit;
procedure close(sender: TObject);
begin
frmDesign.ModalResult:= mrOk;
end;
procedure radio1(sender: TObject);
begin
droplogs1:= true
burnlogs1:= false
banklogs1:= false
end;
procedure radio2(sender: TObject);
begin
droplogs1:= false
burnlogs1:= true
banklogs1:= false
end;
procedure radio3(sender: TObject);
begin
droplogs1:= false
burnlogs1:= false
banklogs1:= true
end;
procedure InitForm;
begin
frmDesign := CreateForm;
frmDesign.Left := 250;
frmDesign.Top := 114;
frmDesign.BorderIcons := [biSystemMenu];
frmDesign.BorderStyle := bsSingle;
frmDesign.Caption := 'TGWGO'#39's Power Chopper';
frmDesign.ClientHeight := 179;
frmDesign.ClientWidth := 285;
frmDesign.Color := clTeal;
frmDesign.Font.Color := clBlack;
frmDesign.Font.Height := -13;
frmDesign.Font.Name := 'Palatino Linotype';
frmDesign.Font.Style := [fsBold, fsItalic];
frmDesign.Visible := False;
frmDesign.PixelsPerInch := 96;
Label1 := TLabel.Create(frmDesign);
Label1.Parent := frmDesign;
Label1.Left := 53;
Label1.Top := 28;
Label1.Width := 155;
Label1.Height := 35;
Label1.Caption := 'Trees To Cut';
Label1.Font.Color := clBlack;
Label1.Font.Height := -27;
Label1.Font.Name := 'Palatino Linotype';
Label1.Font.Style := [fsBold, fsItalic];
Label1.ParentFont := False;
CheckBox2 := TCheckBox.Create(frmDesign);
CheckBox2.OnClick:= @regular1;
CheckBox2.Parent := frmDesign;
CheckBox2.Left := 85;
CheckBox2.Top := 68;
CheckBox2.Width := 97;
CheckBox2.Height := 17;
CheckBox2.Caption := 'Regular';
CheckBox2.TabOrder := 9;
CheckBox3 := TCheckBox.Create(frmDesign);
CheckBox3.OnClick:= @oak1;
CheckBox3.Parent := frmDesign;
CheckBox3.Left := 86;
CheckBox3.Top := 88;
CheckBox3.Width := 97;
CheckBox3.Height := 17;
CheckBox3.Caption := 'Oak';
CheckBox3.TabOrder := 10;
CheckBox4 := TCheckBox.Create(frmDesign);
CheckBox4.OnClick:= @willow1;
CheckBox4.Parent := frmDesign;
CheckBox4.Left := 85;
CheckBox4.Top := 108;
CheckBox4.Width := 97;
CheckBox4.Height := 17;
CheckBox4.Caption := 'Willow';
CheckBox4.TabOrder := 11;
CheckBox5 := TCheckBox.Create(frmDesign);
CheckBox5.OnClick:= @yew1;
CheckBox5.Parent := frmDesign;
CheckBox5.Left := 86;
CheckBox5.Top := 128;
CheckBox5.Width := 97;
CheckBox5.Height := 17;
CheckBox5.Caption := 'Yew';
CheckBox5.TabOrder := 12;
Button1 := TButton.Create(frmDesign);
Button1.Parent := frmDesign;
Button1.OnClick:= @close;
Button1.Left := 209;
Button1.Top := 154;
Button1.Width := 75;
Button1.Height := 25;
Button1.Caption := 'Ok';
Button1.TabOrder := 13;
RadioButton1 := TRadioButton.Create(frmDesign);
RadioButton1.Parent := frmDesign;
RadioButton1.OnClick := @radio1;
RadioButton1.Left := 14;
RadioButton1.Top := 6;
RadioButton1.Width := 80;
RadioButton1.Height := 17;
RadioButton1.Caption := 'Drop Logs';
RadioButton1.Checked := True;
RadioButton1.TabOrder := 14;
RadioButton1.TabStop := True;
RadioButton2 := TRadioButton.Create(frmDesign);
RadioButton2.Parent := frmDesign;
RadioButton2.OnClick := @radio2;
RadioButton2.Left := 92;
RadioButton2.Top := 6;
RadioButton2.Width := 77;
RadioButton2.Height := 17;
RadioButton2.Caption := 'Burn Logs';
RadioButton2.TabOrder := 15;
RadioButton3 := TRadioButton.Create(frmDesign);
RadioButton3.Parent := frmDesign;
RadioButton3.OnClick := @radio3;
RadioButton3.Left := 172;
RadioButton3.Top := 6;
RadioButton3.Width := 113;
RadioButton3.Height := 17;
RadioButton3.Caption := 'Bank Logs';
RadioButton3.TabOrder := 16;
Edit1 := TEdit.Create(frmDesign);
Edit1.Parent := frmDesign;
Edit1.Left := 218;
Edit1.Top := 128;
Edit1.Width := 59;
Edit1.Height := 26;
Edit1.TabOrder := 17;
Edit1.Text := 'Bank Pin';
end;
procedure SafeInitForm;
var
v: TVariantArray;
begin
setarraylength(V, 0);
ThreadSafeCall('InitForm', v);
end;
procedure ShowFormModal;
begin
frmDesign.ShowModal;
end;
procedure SafeShowFormModal;
var
v: TVariantArray;
begin
setarraylength(V, 0);
ThreadSafeCall('ShowFormModal', v);
end;
procedure reports;
begin
SendSRLReport;
srlrandomsreport;
addtoreport('------Multi Cutter By:-------');
addtoreport('-------TheGuyWhoGotOn--------');
addtoreport('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
ConvertTime(gettimerunning, H, M, S)
addtoreport('Time Run: ' + inttostr(H) + ':' + inttostr(M) + ':' + inttostr(S));
addtoreport('Logs Dropped: ' + inttostr(cut));
if burnlogs1 = true then addtoreport('Logs Burned: ' + inttostr(burned));
if banklogs1 = true then addtoreport('Logs Banked: ' + inttostr(banked));
addtoreport('Deaths: ' + inttostr(deads));
addtoreport('Axes Lost: ' + inttostr(lost));
addtoreport('Black Minimap: ' + inttostr(darkness));
addtoreport('-----------------------------');
end;
procedure setcb;
begin
status('Setting up colours and DTM`s');
YouGetSome := DTMFromString('78DA63146760606065C00A186134139060429' +
'55B33B711530D07013586408293805D8698766D5ADC82AA460253' +
'CDE6A59DA86AC409DB0500E960082E');
if regular = true then tc[10]:= 2378820 else tc[10]:= 1
if regular = true then tc[9]:= 3367257 else tc[9]:= 1
if oak = true then tc[8]:= 4095859 else tc[8]:= 1
if oak = true then tc[7]:= 5803138 else tc[7]:= 1
if willow = true then tc[6]:= 728603 else tc[6]:= 1
if willow = true then tc[5]:= 6137242 else tc[5]:= 1
if yew = true then tc[4]:= 1784368 else tc[4]:= 1
if yew = true then tc[3]:= 3823696 else tc[3]:= 1
tc[2]:= 1
tc[1]:= 1
yourinv := DTMFromString('78DA63146160606063400107D64D04D38C503' +
'E2313906062C00A50D4701050A38BA9E6D0C65E54353A9876ED5E' +
'DD8DAA468C0835829876A1AB0100539A0A9D');
lvltouse := DTMFromString('78DA63CC626060E0664001DB5674816946289' +
'FD1054830A3AA59BBB003530D1F01733A30D5EC5EDD8DAAA61D48' +
'7010509386A90606E06AF281042F013520BBB808A87105129CF8D' +
'500005A2A0D97');
cantburn := DTMFromString('78DA63146760606063C00A186134139060429' +
'5DBB4B805530D07AA9A35731B51D518030966027619639A83A146' +
'9C48354CF8D50000F65C0486');
beginburn := DTMFromString('78DA63546260606063400117F6CE06D38C503' +
'E231390604255736CC7544C359C0C58015C8D27A6396776CFC254' +
'43C81C909BB950E54E6E9B8CAA4619D32E7473008E4609A2');
logs := DTMFromString('78DA6314676060106640011E0E920CFF81342' +
'310FF0702461E20839B010D302291405A0148701050A30A24C409' +
'A89102123204D4F0030939026AD88184187E350084C606D6');
end;
function FindFastRandoms: Boolean; //By WT-Fakawi, modified by TheGuyWhoGotOn
var i: Integer;
begin
for i := 1 to 8 do
begin
case I of
1: if FindDead then
begin
status('You died, going to oak tree in Lumby');
Result := True;
wait(3000 + random(1500));
mouse(633, 139, 5, 5, true);
deads:= deads + 1
reportvars[4]:= 1
reports;
end;
2: if FindMod then
begin
Result := True;
status('Found MOD, waited');
end;
3: if FindMime then
begin
status('Stupid mime, logging out');
Result := True;
if users > 0 then users:= users - 1
wait(2000 + random(1000));
makecompass('N');
HighestAngle;
fixchat;
end;
4: if FindMaze then
begin
status('In maze, logging out');
Result := True;
if users > 0 then users:= users - 1
wait(2000 + random(1000));
makecompass('N');
HighestAngle;
fixchat;
end;
5: if FindQuiz then
begin
status('Being quized, logging out');
Result := True;
if users > 0 then users:= users - 1
wait(2000 + random(1000));
makecompass('N');
HighestAngle;
fixchat;
end;
6: if FindDemon then
Result := True;
7: begin
if {NoGameTab} 1 = 0 then
begin
Result := True;
status('A Game tab is missing, logging out');
writeln('A gametab is missing! Random? Logging out...');
nogametab1:= nogametab1 + 1
Logout;
Exit;
end;
end;
7: begin
if InBlack then
begin
Result := True;
status('In dark area, logigng out');
writeln('You are in a dark area, random? Logging out...');
darkness:= darkness + 1
reportvars[3]:= 1
reports;
Logout;
Exit;
end;
end;
8: RC;
end;
wait(1);
end;
end;
procedure fixrandoms;
begin
NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
findnormalrandoms;
findfastrandoms;
if findfight then
begin
writeln('You are under attack');
runto('n', true);
status('Under attack, running away');
end;
if finddtm(lvltouse, xx, yy, 9, 442, 495, 458) then
begin
writeln('You lost all your axes, logging out...');
lost:= lost + 1
reportvars[2]:= 1
reports;
logout;
end;
end;
procedure recievelogs;
var waited: integer;
begin
waited:= 0
repeat
status('Waiting for logs');
wait(500 + random(500));
waited:= waited + 1;
status('Checking/fixing randoms');
fixrandoms;
until((finddtm(yougetsome, xx, yy, 13, 440, 268, 458))or(finddtm(yourinv, xx, yy, 13, 440, 268, 458))or(waited = 20))
end;
function mscolour(colour: integer): boolean;
var xx, yy: integer;
begin
result:= findcolor(xx, yy, colour, 4, 4, 515, 337)
end;
procedure perfectmouse(x, y, xran, yran, xshake, yshake, delay, delran: integer; left: boolean);
var xx, yy, xx1, yy1, rand: integer;
begin
getmousepos(xx, yy);
getmousepos(xx1, yy1);
x:= x - xran + random(xran * 2)
y:= y - yran + random(yran * 2)
xx:= xx - x
yy:= yy - y
repeat
if (xx > 0)or(xx = 0) then
begin
rand:= 1 + random(xshake)
xx:= xx - (rand)
xx1:= xx1 - (rand)
end;
if xx < 0 then
begin
rand:= 1 + random(xshake)
xx:= xx + (rand)
xx1:= xx1 + (rand)
end;
if (yy > 0)or(yy = 0) then
begin
rand:= 1 + random(xshake)
yy:= yy - (rand)
yy1:= yy1 - (rand)
end;
if yy < 0 then
begin
rand:= 1 + random(xshake)
yy:= yy + (rand)
yy1:= yy1 + (rand)
end;
movemouse(xx1, yy1);
wait(delay + random(delran));
until((xx = 0)and(yy = 0))
wait(delay * 25 + random(delran * 7));
getmousepos(xx, yy);
holdmouse(xx, yy, left);
wait(31 + random(50));
releasemouse(xx, yy, left);
end;
procedure clickmscolour(colour: integer; left, ran: boolean);
var xx, yy: integer;
begin
if findcolor(xx, yy, colour, 4, 4, 515, 337) then
begin
wait(100 + random(200));
if ran = false then
begin
perfectmouse(xx, yy, 0, 0, 2, 2, 2, 2, true);
end;
if ran = true then
begin
perfectmouse(xx, yy, 3, 3, 2, 2, 2, 2, true);
end;
end;
end;
procedure clicktree;
var click: boolean;
number: integer;
begin
number:= 1
repeat
status('Clicking Tree');
click:= true
if click = true then
begin
if mscolour(tc[number]) then
begin
findcolor(xx, yy, tc[number], 4, 4, 515, 337);
if findent(xx, yy, false) then
begin
perfectmouse(254, 184, 5, 5, 2, 2, 2, 2, true);
findent(xx, yy, true);
end;
clickmscolour(tc[number], true, true);
wait(2000 + random(500));
if findent(xx, yy, false) then
begin
perfectmouse(254, 184, 5, 5, 2, 2, 2, 2, true);
findent(xx, yy, true);
end;
click:= false
end;
wait(10);
end;
number:= number + 1
until((click = false)or(number = 11))
end;
function findtree: boolean;
begin
if (mscolour(tc[1]))or(mscolour(tc[2]))or(mscolour(tc[3]))or(mscolour(tc[4]))or(mscolour(tc[5]))or(mscolour(tc[6]))or(mscolour(tc[7]))or(mscolour(tc[8]))or(mscolour(tc[9]))or(mscolour(tc[10])) then result:= true
end;
function lastlog: boolean;
begin
if finddtm(logs, xx, yy, 684, 429, 725, 462) then result:= true
end;
function invcolourtol(colour, tolerance: integer): boolean;
var xx, yy: integer;
begin
result:= findcolortolerance(xx, yy, colour, 567, 211, 729, 454, tolerance)
end;
function invcolourtolskip(colour, tolerance, x1, y1, x2, y2: integer): boolean;
var xx, yy: integer;
begin
result:= findcolorSkipBoxtolerance(xx, yy, colour, 567, 211, 729, 454, tolerance, IntToBox(x1, y1, x2, y2))
end;
procedure clickinvcolourtol(colour, tolerance: integer; left, ran: boolean);
var xx, yy: integer;
begin
if findcolortolerance(xx, yy, colour, 567, 211, 729, 454, tolerance) then
begin
wait(100 + random(200));
if ran = false then mouse(xx, yy, 0, 0, left);
if ran = true then mouse(xx, yy, 3, 3, left);
end;
end;
procedure clickinvcolourtolskip(colour, tolerance, x1, y1, x2, y2: integer; left, ran: boolean);
var xx, yy: integer;
begin
if findcolorskipboxtolerance(xx, yy, colour, 567, 211, 729, 454, tolerance, IntToBox(x1, y1, x2, y2)) then
begin
wait(100 + random(200));
if ran = false then mouse(xx, yy, 0, 0, left);
if ran = true then mouse(xx, yy, 3, 3, left);
end;
end;
procedure nextaccount;
begin
if Users > 0 then
begin
status('Switching accounts');
writeln('You were logged out, next user');
nextplayer(false);
loginplayer;
wait(2000 + random(1000));
makecompass('N');
HighestAngle;
fixchat;
end;
end;
procedure droplogs;
var attempts: integer;
begin
repeat
status('Dropping logs');
if finddtm(logs, xx, yy, 548, 205, 732, 467) then
begin
attempts:= attempts + 1
perfectmouse(xx, yy, 3, 3, 2, 2, 2, 2, false);
wait(350 + random(250));
if chooseoption('rop ') then
begin
cut:= cut + 1
reportvars[0]:= 1
reports;
end;
end;
wait(random(100));
if LoggedIn = false then
begin
if users > 0 then users:= users - 1
Nextaccount;
end;
if getcurrenttab = 4 = false then gametab(4)
if attempts = 40 then
begin
writeln('Cannot drop some kind of object, logging out');
logout;
end;
until((finddtm(logs, xx, yy, 548, 205, 732, 467) = false)or(loggedin = false)or(attempts = 40))
attempts:= random(10);
end;
function FindOption(txt: string): Boolean; //Stupid3ooo, modded by Sumilion, modified to not click by TheGuyWhoGotOn
var
x1, y1, x2, y2, LeftCorner, RightCorner, x, y: Integer;
begin
LeftCorner := BitmapFromString(4, 4, 'z78DA33753135313137C5' +
'411A600064715CEA914500CACE13F0');
RightCorner := BitmapFromString(4, 4, 'z78DA33753135313137' +
'C5200D30002E35F8C501C9C013F0');
if (FindBitmap(LeftCorner, x1, y1)) and (FindBitmap(RightCorner, x2, y2)) then
begin
if (FindText(x, y, txt, upchars, x1, y1, x2, 502)) then
begin
Result := True;
end
end;
FreeBitmap(LeftCorner);
FreeBitmap(RightCorner);
end;
function burn: boolean;
begin
result:= false
if (regular = true)and(findoption(' Lo')) then
begin
chooseoption(' Lo');
result:= true;
end;
if (oak = true)and(findoption(' Oa')) then
begin
chooseoption(' Oa');
result:= true;
end;
if (willow = true)and(findoption(' Wi')) then
begin
chooseoption(' Wi');
result:= true;
end;
if (yew = true)and(findoption(' Ye')) then
begin
chooseoption(' Ye');
result:= true;
end;
if result = false then
begin
getmousepos(xx, yy);
chooseoption(' rop');
wait(750 + random(500));
perfectmouse(xx, yy, 3, 3, 2, 2, 2, 2, false);
chooseoption(' rop');
cut:= cut + 1
reportvars[0]:= 1
reports;
end;
end;
procedure burnlogs;
var attempts, waittime, runwhat: integer;
begin
repeat
status('Burning logs');
if finddtm(logs, xx, yy, 548, 205, 732, 467) then
begin
attempts:= attempts + 1
perfectmouse(579, 229, 5, 5, 2, 2, 2, 2, true);
perfectmouse(xx, yy, 3, 3, 2, 2, 2, 2, false);
wait(350 + random(250));
if burn then
begin
burned:= burned + 1
reportvars[5]:= 1
reports;
waittime:= 0
repeat
wait(750 + random(500));
waittime:= waittime + 1
until((finddtm(cantburn, xx, yy, 13, 440, 268, 458))or(finddtm(beginburn, xx, yy, 13, 440, 268, 458))or(waittime = 10))
end;
end;
wait(50 + random(50));
if LoggedIn = false then
begin
if users > 0 then users:= users - 1
Nextaccount;
end;
if getcurrenttab = 4 = false then gametab(4)
if finddtm(cantburn, xx, yy, 13, 440, 268, 458) then
begin
runwhat:= random(4)
if runwhat = 0 then walkhalfway(606, 61);
if runwhat = 1 then walkhalfway(620, 112);
if runwhat = 2 then walkhalfway(668, 125);
if runwhat = 3 then walkhalfway(685, 37);
end;
if attempts = 45 then
begin
writeln('Cannot burn some kind of object, logging out');
logout;
end;
until((finddtm(logs, xx, yy, 548, 205, 732, 467) = false)or(loggedin = false)or(attempts = 40))
attempts:= random(10);
end;
procedure banklogs;
var attempts, total: integer;
begin
total:= 0
repeat
total:= total + 1
if FindBank('db') then
begin
if PinScreen then InPin(pin);
wait(1000 + random(500));
if BankScreen then
begin
before:= InvCount;
repeat
status('Banking logs');
if finddtm(logs, xx, yy, 548, 205, 732, 467) then
begin
attempts:= attempts + 1
perfectmouse(xx, yy, 3, 3, 2, 2, 2, 2, false);
chooseoption('All');
wait(50 + random(50));
end;
wait(100 + random(100));
if LoggedIn = false then
begin
if users > 0 then users:= users - 1
Nextaccount;
end;
if attempts = 42 then
begin
writeln('Cannot bank some kind of object, logging out');
closebank;
logout;
end;
until((finddtm(logs, xx, yy, 548, 205, 732, 467) = false)or(loggedin = false)or(attempts = 40))
after:= InvCount;
after:= before - after
banked:= banked + after
reportvars[6]:= after
reports;
closebank;
perfectmouse(630, 120, 5, 5, 2, 2, 2, 2, true)
attempts:= random(10);
total:= 2
end;
end else droplogs;
until(total = 2)
end;
function mmcolour(colour: integer): boolean;
var xx, yy: integer;
begin
result:= findcolor(xx, yy, colour, 572, 10, 722, 159)
end;
function events: boolean;
var xx, yy: integer;
begin
result:= false
status('Waiting for all fights and walking');
repeat
result:= false
wait(500 + random(500));
if mmcolour(255) then result:= true
if (findcolor(xx, yy, 255, 253, 150, 270, 163))or(findcolor(xx, yy, 65280, 253, 150, 270, 163)) then result:= true
until(result = false)
end;
procedure mcbox(xx, yy, xx2, yy2: integer; lefft: boolean);
begin
xx:= xx + random(xx2 - xx)
yy:= yy + random(yy2 - yy)
mouse(xx, yy, 0, 0, true);
end;
procedure AntiBan;
var perform: integer;
begin
perform:= random(500)
if perform = 1 then HoverSkill(players[currentplayer].skill, false);
if perform = 1 - 125 then PickUpMouse;
if perform = 3 then AlmostLogout;
if perform = 4 then
begin
Wait2(4000 + random(1000), true);
wait(1000 + random(500));
makecompass('N');
end;
if perform = 5 then BoredHuman;
end;
begin
SetupSRL;
ScriptID:= '243';
SafeInitForm;
SafeShowFormModal;
setup;
pin:= edit1.text
setcb;
movetotray;
FindWindowBySize(766, 504)
activateclient;
mcbox(521, 5, 551, 432, true);
status('Logging in and setting up');
LoginPlayer;
wait(1000 + random(1000));
makecompass('N');
HighestAngle;
fixchat;
repeat
if users = 0 = false then
begin
if getcurrenttab = 4 = false then gametab(4)
events;
if (lastlog)and(droplogs1 = true) then droplogs
if (lastlog)and(burnlogs1 = true) then burnlogs
if (lastlog)and(banklogs1 = true) then banklogs
if findtree then
begin
wait(500 + random(1000));
clicktree;
recievelogs;
end;
wait(500 + random(500));
status('Performing anti-ban');
AntiBan;
status('Checking/fixing randoms');
fixrandoms;
if LoggedIn = false then
begin
if users > 0 then users:= users - 1
Nextaccount;
end;
end;
wait(10 + random(10));
until(Users = 0)
status('Setting Up Reports');
reports;
end.——————————————————
<!– END TEMPLATE: formanswers –>
This is how the true masters do it