dewrange
2013-04-04 10:27:43
How Long have You Played Runescape?
9 Year(s)
Are you affilated in anyway with Jagex LTD?
no
Were you Referred to SRL?
What is your general programming knowledge?
I generally only know pascal, everything I know, I learned from these forums
Are you a member of any other communities?
no
Tell us about yourself…
Please show us one (or multiple) of your scripts.
9 Year(s)
Are you affilated in anyway with Jagex LTD?
no
Were you Referred to SRL?
What is your general programming knowledge?
I generally only know pascal, everything I know, I learned from these forums
Are you a member of any other communities?
no
Tell us about yourself…
From: dewrange
I wrestled my entire life, and have played runescape for more than half of my life. I cam to this community years ago and never took part in it. Quite frankly i was intimidated by it. One day I sat down and decided i was going to learn how to code because quite frankly everyone in this community makes it quite obvious that it is about learning not botting. I have learned much and still have much to learn. I have created a few scripts for my personal use but have only released one public. I enjoy the game of runescape and I enjoy coding. The challenge that comes from coding is actually just as exciting as it is frustrating to me. I am interested in sticking with this community for years to come as i plan on expanding my coding/scripting abilities much farther than i have already expanded.
Please show us one (or multiple) of your scripts.
program DaoudFlaxSpinner;
{$DEFINE SMART8}
{$i srl-osr/srl.simba}
var
x: integer;
y: integer;
bowstring: integer;
flaxspun: integer;
const
flaxtospin = 101;
procedure DeclarePlayers();
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Nick := '';
Name := '';
Pass := '';
Active := true;
Integers[0] := 0;
end;
end;
procedure ifbanknotopen;
begin
if invempty
then begin
if findobjcustom(x, y, ['Bank', 'booth', 'ooth'], [9672856, 586609], 5)
then begin
mmouse(x, y, 2, 2);
sleep(300);
if waituptextmulti(['Bank', 'booth', 'ooth'], 300)
then begin
clickmouse2(mouse_left);
repeat
wait(3000);
if findobjcustom(x, y, ['Bank', 'booth', 'ooth'], [9672856, 586609], 5)
then begin
mmouse(x, y, 2, 2);
if waituptextmulti(['Bank', 'booth', 'ooth'], 300)
then begin
clickmouse2(mouse_left);
end;
end;
until bankscreen
end else
sleep(1);
end;
end;
end;
procedure withdrawflax;
begin
if bankscreen then
begin
if findcolorspiraltolerance (x, y, 12236376, 400, 57, 441, 85, 10)
then
MMouse(433, 78, 5, 5);
wait(300);
if IsUpTextMultiCustom(['lax', 'Flax', 'Fl', 'ax']) then
begin
clickmouse2(mouse_right);
wait(500);
ChooseOption('All');
sleep(1000);
if InvFull then
begin
SetAngle(SRL_ANGLE_HIGH);
makecompass('n');
mmouse(627, 136, 3, 3);
wait(200);
clickmouse2(mouse_left);
sleep(randomrange(5500, 6300));
end;
end;
end;
end;
procedure climbdownstairs;
begin
if (not(findcolorspiraltolerance(x, y, 5929348, 558, 212, 725, 457, 1)))
then begin
if findobjcustom(x, y, ['Stair', 'case', 'ase'], [604499, 4145992], 5)
then begin
mmouse(x, y, 2, 2);
if WaitUpTextMulti(['Stair', 'case', 'ase'], 300) then
begin
clickmouse2(mouse_left);
makecompass('e');
sleep(3000);
end;
end;
end;
end;
procedure clickspinwheel;
begin
if findcolorspiraltolerance(x, y, 942345, 620, 216, 721, 457, 10)
then begin
if findobjcustom(x, y, ['wheel', 'whe', 'eel', 'Spin', 'ning'], [13553364, 938614], 2)
then begin
repeat
if findobjcustom(x, y, ['wheel', 'whe', 'eel', 'Spin', 'ning'], [13553364, 938614], 2)
then
mmouse(x, y, 2, 2);
wait(100);
clickmouse2(mouse_left);
sleep(randomrange(4000, 5000));
until (findcolorspiraltolerance(x, y, 65024, 223, 120, 286, 160, 5))
repeat
sleep(1);
until (findcolorspiraltolerance(x, y, 65024, 223, 120, 286, 160, 5))
if findcolorspiraltolerance(x, y, 65024, 223, 120, 286, 160, 5)
then begin
mmouse(261, 110, 2, 2);
clickmouse2(mouse_right);
sleep(600);
chooseoption('Make X');
wait(500);
typesend('28');
repeat
sleep(1);
if findcolorspiraltolerance(x, y, 5526618, 69, 370, 95, 393, 5)
then begin
mmouse(271, 448, 2, 2);
wait(200);
clickmouse2(mouse_left);
sleep(500);
clickmouse2(mouse_left);
if findcolorspiraltolerance(x, y, 939130, 290, 176, 322, 194, 5)
then begin
mmouse(x, y, 2, 2);
wait(300);
if waituptextmulti(['Spin', 'eel', 'wheel'], 300)
then
wait(500);
clickmouse2(mouse_left);
sleep(500);
end;
if findcolorspiraltolerance(x, y, 65024, 223, 120, 286, 160, 5)
then
mmouse(261, 110, 1, 1);
clickmouse2(mouse_right);
sleep(300);
chooseoption('Make X');
wait(500);
typesend('28');
end else
sleep(1);
until (not(findcolorspiraltolerance(x, y, 942345, 620, 449, 721, 457, 10)));
if (not(findcolorspiraltolerance(x, y, 942345, 620, 449, 721, 457, 10)))
then begin
setangle(SRL_ANGLE_LOW);
makecompass('e');
wait(300);
mmouse(681, 118, 2, 2);
wait(300);
clickmouse2(mouse_left);
makecompass('n');
sleep(randomrange(4500, 5000));
end;
end;
end;
end;
end;
procedure climbupstairs;
begin
if findcolorspiraltolerance(x, y, 5929348, 682, 430, 725, 457, 1)
then begin
makecompass('n');
if findobjcustom(x, y, ['Stair', 'case', 'ase', 'tair'], [606817,5988193], 5)
then begin
mmouse(x, y, 2, 2);
wait(500);
if waituptextmulti(['Stair', 'case'], 300)
then begin
clickmouse2(mouse_left);
sleep(1000);
mmouse(248, 406, 1, 1);
wait(500);
clickmouse2(mouse_left);
wait(1500);
end;
end;
end;
end;
procedure walktobank;
begin
if findcolorspiraltolerance(x, y, 5929348, 682, 453, 723, 458, 1)
then begin
if findobjcustom(x, y, ['Bank', 'ank', 'ooth'], [973893, 5273484], 5)
then begin
mmouse(x, y, 2, 2);
wait(500);
if waituptextmulti(['Bank', 'ank', 'ooth'], 300)
then
clickmouse2(mouse_left);
sleep(6000);
end;
end;
end;
procedure depositbowstring;
begin
if bankscreen
then begin
deposit(1, 28, true);
end;
end;
begin
setupsrl;
Declareplayers;
repeat
//ifbanknotopen;
withdrawflax;
climbdownstairs;
clickspinwheel;
climbupstairs;
walktobank;
depositbowstring;
inc(flaxspun)
until((flaxspun * 28) >= (flaxtospin));
end.
//////////////////////////////////////////////////////////////////////////
program daoudscurser;
{$DEFINE SMART8}
{.include SRL/SRL.simba}
var
count: integer;
x: integer;
y: integer;
spell: integer;
confuse: integer;
curse: integer;
confusedtm: integer;
confusenothighlighted: integer;
cursedtm: integer;
cursenothighlighted: integer;
howmanycaststodo: integer;
procedure declarevariables;
begin
spell := curse;
howmanycaststodo := 3000;
end;
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
End;
procedure doconfuse;
begin
confusenothighlighted := DTMFromString('mlwAAAHicY2dgYMhiYmDIA+ISIM4B4iQgToHid0D5Z0D8Hoh/QOkXQPwNiFeyvQWSjBgYJM6KVYYBpzgMQwEATHQM0w==');
if spell = confuse
then begin
if finddtm(confusenothighlighted, x, y, 0, 0, 736, 456)
then begin
mouse(x, y, 10, 10, mouse_left);
wait(randomrange(400, 1000));
freedtm(confusenothighlighted);
end;
end;
end;
procedure docurse;
begin
cursenothighlighted := DTMFromString('mlwAAAHicY2dgYJjLhMALgHgWEs3KyMDABMQcQMzGiMoXFedkCA9fj4IZGBjBGESyomFGIjAUAAAtMQpV');
if spell = curse
then begin
if finddtm(cursenothighlighted, x, y, 0,0, 736, 456)
then begin
mouse(x, y, 10, 10, mouse_left)
wait(randomrange(400, 550));
freedtm(cursenothighlighted);
end;
end;
end;
procedure clickguardconfuse;
begin
if spell = confuse
then begin
confusedtm := DTMFromString('mlwAAAHicdck7CoAwEEXRp2DcpmhpsHFV2ZeQyk+rzXgTJKRx4HBnmF7S3EoLVngMGDHh5L/hwoMDETeC22VmpVKTm3T5Ummiav/zzQvkbBjA');
if finddtm(confusedtm, x, y, 0, 0, 736, 456)
then begin
findcolorspiraltolerance(x, y, 857975, 14, 41, 408, 308, 5);
wait(500);
mouse(x, y, 2, 2, mouse_left);
wait(randomrange(600, 1000));
freedtm(confusedtm);
end;
end;
end;
procedure clickguardcurse;
begin
if spell = curse
then begin
cursedtm := DTMFromString('m1gAAAHic42JgYFjAxMAwG4jnAfFcIJ4IxFOZIOJLoeLTgJiNkYGBFYiZgJgDiHmA+C9Q/z8g5gKyBaA4PHw9g6g4J5gG4f///2PFzEB9QOVgGsamBCMAAEfzHtY=');
if finddtm(cursedtm, x, y, 0, 0, 736, 456)
then begin
findcolorspiraltolerance(x, y, 857975, 14, 41, 408, 308, 5);
wait(randomrange(400, 600));
mouse(x, y, 2, 2, mouse_left);
wait(randomrange(400, 550));
freedtm(cursedtm);
end;
end;
end;
procedure mainloop;
begin
declarevariables;
DeclarePlayers;
//doconfuse;
//clickguardconfuse;
docurse;
clickguardcurse;
wait(randomrange(75, 100));
inc(count);
end;
begin
setupsrl;
repeat(mainloop)
until (count = howmanycaststodo);
end.