zeeky111
2009-04-27 19:23:28
How Long have You Played Runescape?
6 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
Wizzup?
What is your general programming knowledge?
All that I know is SRL, but I'm starting a class in Java and have access to learning HTML.
Are you a member of any other communities?
Other than SRL, I'm a member of the Freddy1990 forums, though I use the SRL forums a lot more.
Tell us about yourself…
Please show us one (or multiple) of your scripts.
6 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
Wizzup?
What is your general programming knowledge?
All that I know is SRL, but I'm starting a class in Java and have access to learning HTML.
Are you a member of any other communities?
Other than SRL, I'm a member of the Freddy1990 forums, though I use the SRL forums a lot more.
Tell us about yourself…
From: zeeky111
I have played RuneScape since I was in the third grade (currently a HS freshman), and I used SCAR back in 2004 up until '05, and just recently started again. I've used SCAR in many school projects, but that has been mainly just pointing and clicking. I started getting more into SRL, and I've gone through several tutorials. I want to be an SRL member so that I can help others with scripting and, at the same time, learn more myself.
Please show us one (or multiple) of your scripts.
{----------------------------------------------------------]
[-----------------Program FixCompass-----------------------]
[------------------------by Shawn Lutch--------------------]
[----------------------------------------------------------]
[----General Description:----------------------------------]
[--This will set the compass to either north, south, east,-]
[--or west, pending your decision.-------------------------]
[----------------------------------------------------------]
[----Instructions:-----------------------------------------]
[--1. Obviously, log into RS. This won't do it for you----]
[--2. Set the RS client using the crosshair----------------]
[--3. Save and "compile" the script (Ctrl-F9)--------------]
[--4. Run the script, then put the RS window on top--------]
[--5. Press F4, and the script will begin------------------]
[----------------------------------------------------------]
[--------------------------------------(c)2009:Shawn Lutch-]
[----------------------------------------------------------}
{.Script Info:
# ScriptName = FixCompass
# Author = Shawn Lutch / Zeeky111
# Description = Sets the compass and camera angle.
# Version = 1
# Date = 4/27/2009
# Comments = Enjoy!
/Script Info}
program FixCompass;
{.include SRL/SRL.scar}
const
WhatDirection = 'N'; //N = north; S = south; E = east; W = west.
WhatAngle = 'High'; //High or Low, exactly like that.
WantAngle = True; //True for yes, False for no.
procedure Idle;
begin
while not IsFKeyDown(4) do
Wait(10);
end;
procedure SetMainLoop;
begin
SetupSRL;
ClearDebug;
Wait(500+random(500));
end;
function DetermineAngleNS: Boolean;
begin
if (WhatDirection = 'N') then
Begin
Result := True;
end else
Begin
if (WhatDirection = 'S') then
Begin
Result := True;
end else
Begin
WriteLn('Not North or South.');
Result := False;
end;
end;
end;
function DetermineAngleEW: Boolean;
begin
if (WhatDirection = 'E') then
Begin
Result := True;
end else
Begin
if (WhatDirection = 'W') then
Begin
Result := True;
end else
Begin
WriteLn('Not East or West.');
Result := False;
end;
end;
end;
procedure WantWhichCompass;
begin
if (DetermineAngleNS = True) then
Begin
MakeCompass(WhatDirection);
end else
if (DetermineAngleEW = True) then
Begin
MakeCompass(WhatDirection);
end else
Begin
WriteLn('All directions are false.');
end;
end;
procedure FixAngleHigh;
begin
Wait(250+random(500));
SetAngle(True);
end;
procedure FixAngleLow;
begin
Wait(250+random(500));
SetAngle(False);
end;
procedure DetermineAngle;
begin
if (WantAngle = True) then
Begin
if (WhatAngle = 'High') then
Begin
FixAngleHigh;
end else
if (WhatAngle = 'Low') then
Begin
FixAngleLow;
end;
end;
end;
begin
SetMainLoop;
Idle;
WantWhichCompass;
DetermineAngle;
end.
{-----------------------]
[----Program Deposit----]
[--Deposits all items.--]
[------by Zeeky111------]
[-----------------------]
program Deposit;
{.include SRL/SRL.scar}
const
WhichBank = 'feb';
procedure SetDefs;
begin
MouseSpeed := 15;
MakeCompass('n');
Wait(1000+random(500));
SetAngle(true);
end;
procedure OpenBankPlox;
begin
OpenBankQuiet(WhichBank);
end;
procedure DepositPlox;
begin
if BankScreen then
Begin
WriteLn('Bank opened.');
DepositAll;
WriteLn('All deposited.');
CloseBank;
Wait(1000+random(400));
PickUpMouse;
end else
Begin
WriteLn('OpenBankQuiet failed.');
end;
end;
procedure Idle;
begin
while not IsFKeyDown(4) do
Wait(10);
end;
begin
SetupSRL;
ClearDebug;
Idle;
SetDefs;
OpenBankPlox;
DepositPlox;
end.