SRL Archive - RS3 Outdated / Broken Scripts

Varrock Normal Log Chopper and Banker


crapkiller

2007-04-06 21:54:30

This is my Second SRL script ever.

Instructions
1)Start a character with an axe wielded in one of the middle bank slots at Varrock East Bank
2)Setup line 5
3)Drag the crosshair to the RS screen
4)Hit run and maybe watch the first load

Tell me what you think.

program New;
{.include SRL\SRL.scar}
{.include SRL\SRL\Skill\Woodcutting.scar}

Const
Loads = 100; //How many loads to do?

Var CurrentLogs, Logz, Loadz, Bankx, Banky, Exp :integer;

Procedure Proggyreport;
begin
Logz := Loadz * 28
Exp := Logz * 25
Writeln('|---------------------------------------------|');
Writeln('|Worked For : ' + TimeRunning)
Writeln('|Chopped and Banked '+IntToStr(Loadz) + ' Loads');
Writeln('|Chopped and Banked '+ IntToStr(Logz) + ' Logs');
Writeln('|Gained Approx. ' + IntToStr(Exp) + ' XP');
Writeln('|---------------------------------------------|');
end;

Procedure Bank;
begin
Bankx := 249
Banky := 175
repeat
MMouse(Bankx, Banky, 1, 1);
Banky := Banky + 10;
Wait(100);
Until(IsUpText('Bank booth') = True);
Mouse(Bankx, Banky, 1, 1, False);
PopUp('Use-quickly');
Wait(3000+random(500));
FindColorTolerance(x, y, 3232619, 566, 219, 732, 460, 5);
Mouse(x, y, 1, 1, False);
PopUp('Store All');
Wait(200+random(500));
CloseBank;
end;

Procedure FindRandomz;
begin
FindEnt(793624);
FindHead;
FindNormalRandoms;
FindLamp('Woodcutting');
if (FindFight) then
begin
RunAwayDirection('N');
Wait(10000+random(2000));
RunBack;
end;
end;

Procedure NextTreeYet;
begin
CurrentLogs := CountItemColor(65536)
while (CountItemColor(65536) = CurrentLogs)do
begin
wait(500);
end;
FindRandomz;
end;

Procedure Walk2Bank;
begin
RadialRoadWalk(FindRoadColor, 200, 90, 70, 2, 2);
Wait(3000);
Flag;
RadialRoadWalk(FindRoadColor, 270, 180, 60, 2, 2);
RadialRoadWalk(FindRoadColor, 276, 266, 60, 2, 2);
FindColor(x, y, 5362410, 539, 7, 750, 163);
Mouse(x, y, 2, 2, true);
Flag;
end;


Procedure Walk2Trees;
begin
SetRun(true);
RadialRoadWalk(FindRoadColor, 0, 90, 70, 2, 2);
RadialRoadWalk(FindRoadColor, 0, 90, 70, 2, 2);
RadialRoadWalk(FindRoadColor, 0, 90, 50, 2, 2);
//FindColor(x, y, 1265191, 590, 53, 630, 102);
Mouse(617, 71, 2, 2, true);
Flag;
end;

Procedure Chop;
begin
repeat
FindColor(x, y, 793624, 0, 0, 515, 335);
MMouse(x, y, 2, 2);
Until(IsUpText('Tree') = True);
Mouse(x, y, 2, 2, True);
end;

begin
SetUpSRL;
ActivateClient;
Wait(5000);
PerfectNorth;
FindAxeHeadColor;
repeat
x := x + 1
Walk2Trees;
While(InvFull = False) do
begin
Chop;
NextTreeYet;
end;
Walk2Bank;
Bank;
Loadz := x;
ProggyReport;
until(x = Loads);
FindAxeHeadColor
end.

EDIT: Updated, now it has Ent detection and Axe head anti-randoms and a MUCH better banking procedure that I made =D

Lorax

2007-04-07 04:15:03

1: you don't have axe anti-randoms, or ent detection.. this is essential
2: when a function returns a boolean it's a good idea to use it..
if FindColorTolerance(ax, ay, TreeColor, x1, y1, x2, y2, 5) then
MouseFlag(ax, ay, 2, 2);

instead of

FindColorTolerance(ax, ay, TreeColor, x1, y1, x2, y2, 5);
MouseFlag(ax, ay, 2, 2);
I hope it makes sence..

crapkiller

2007-04-07 10:11:33

From: Lorax
1: you don't have axe anti-randoms, or ent detection.. this is essential
2: when a function returns a boolean it's a good idea to use it..
if FindColorTolerance(ax, ay, TreeColor, x1, y1, x2, y2, 5) then
MouseFlag(ax, ay, 2, 2);

instead of

FindColorTolerance(ax, ay, TreeColor, x1, y1, x2, y2, 5);
MouseFlag(ax, ay, 2, 2);
I hope it makes sence..


I tried to do that but what if it didnt find it? it just seems pointless to me. Maybe add some type of failsafe if it doesnt find the tree?

BTW: whats MouseFlag do? Is it the same as
Mouse(x, y, 2, 2, True);
Flag;


EDIT: i updated the script now it has Ent detection(not sure if it works), Axehead Anti-Randoms(Not sure if it works), and a Much faster banking procedure(DOES work lol)

Blackhawk

2007-04-18 12:29:36

doesnt work what do i wrong im new witht these things i click scar 2.03
then il copy all these things into it then drag the cross to rs and start but its says Line 871: [Error] (6737:11): Unknown identifier 'FindColorCircleD' in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Color.scar

SpAnKyX34

2007-05-01 20:12:53

do you have scar and all of the includes?

anomynous0

2007-05-18 17:49:38

hi, im rlly new to all this and ive put it into SCAR Divi CDE, fill in line 5, clikc run and it says:
"Failed when compiling
Line 26: [Error] (35:1): Duplicate identifier 'UpChars' in script C:\Program Files\SCAR 3.06\includes\srl\srl\core\Globals.scar

i have no idea wots wrong

shmokeh

2007-05-18 22:08:28

From: anomynous0
hi, im rlly new to all this and ive put it into SCAR Divi CDE, fill in line 5, clikc run and it says:
"Failed when compiling
Line 26: [Error] (35:1): Duplicate identifier 'UpChars' in script C:\Program Files\SCAR 3.06\includes\srl\srl\core\Globals.scar

i have no idea wots wrong


SRL isn't ment to run with SCAR Divi, Try opening Scar divi and click 'Download SRL' to download a modified version that should work, or just download Scar 2.03 :)

anomynous0

2007-05-19 03:56:16

kk tyvm

anomynous0

2007-05-19 04:17:04

dam it, i need help again =(
i downloaded SCAR CDE (2.03), then went file: download includes, then pulled the crsshair thing to RS, then clicked rune, an it says
"Include file C:\Program Files\SCAR 2.03\includes\SRL\SRL.scar does not exist.
Include file C:\Program Files\SCAR 2.03\includes\SRL\SRL\Skill\Woodcutting.scar does not exist.
Failed when compiling"

Pwnt by Pwnt

2007-05-19 14:44:10

anomynous0, try this, open up SCAR all by itself, then go up to file, and do download includes, i used to get that error, and its because u didnt download it right, but u can fix it ( i think lol ) by doing this. :) hope that helps :D

volcom24734

2007-05-31 18:54:14

this script looks very nice but it could use some anti randoms =/ i'm new to scripting in scar but i know how to run pre made scripts :D

cacoadragon

2007-05-31 22:28:36

I have installed everything required and when i got to rune the script I receive this message.

Line 57: [Error] (15177:16): Unknown identifier 'CountItemColor' in script
Failed when compiling

Newautoer

2007-06-01 21:10:27

ok, i am new to autoing and downloaded scar 2.03, and need to learn how to use it can anyone help plz

owned_Pl0x

2007-06-02 17:59:03

where do i get the files to run
cuz im getting this error

Include file C:\Program Files\SCAR 3.06\includes\SRL\SRL.scar does not exist.
Include file C:\Program Files\SCAR 3.06\includes\SRL\SRL\Skill\Woodcutting.scar does not exist.
Failed when compiling

Ardashir

2007-06-03 09:19:32

I got that error when I used it in the scar 3.06 patch, but when I try it in SRL it doesn't respond when I try to run it. Anyone know how to fix this?

Edit: Nevermind, I got it to work. Progress report coming soon!

KKK666

2007-06-12 01:44:15

"Failed when compiling
Line 58: [Error] (14829:16): Unknown identifier 'CountItemColor' in script"

wtf wot does this mean???

kenny n java

2007-06-12 14:37:18

From: KKK666
"Failed when compiling
Line 58: [Error] (14829:16): Unknown identifier 'CountItemColor' in script"

wtf wot does this mean???

I got this same error.

jgcw

2007-06-12 23:27:27

hi i love the script but can you put in multplayers?TY

KKK666

2007-06-13 03:22:03

so can anyone fix the "Failed when compiling
Line 58: [Error] (14829:16): Unknown identifier 'CountItemColor' in script" error????

arttu95

2007-06-13 18:01:34

I cant try it lags so much :( and where i set the log color?

Dino90

2007-06-20 07:56:52

Can someone help?

Failed when compiling
Line 58: [Error] (14836:16): Unknown identifier 'CountItemColor' in script

mamoth95

2007-06-27 15:21:52

wow most of the peopple with errors dont even have srl installed wtf is up with that just install srl…solves it all

mamoth95

2007-06-27 15:24:30

oh and if u get this error Line 58: [Error] (14829:16): Unknown identifier 'CountItemColor' in script im almost positive its because your using the new srl and a couple of procedures were left out in it u gota use srl 3.06 lol i dont have it installed either

mewtowca

2007-07-02 16:36:01

Line 57: [Error] (15177:16): Unknown identifier 'CountItemColor' in script
i got that error.. how i fix it..

Pwn3dY0U

2007-07-02 17:05:50

omg i got the line 58 CountItemColor error. and i dont understand what i have to do to get the thing to work. do i need an older verison of scar? because i just downloaded that 3.06 version…

i dont get it… =[[[

xaviarrob

2007-07-04 11:50:18

i got the line 58 error too does any1 have a clue what is rong

71runemaker

2007-07-04 11:56:46

like Lorax said u need some ent protection and axe head finding but also u need some failsafes for example

Procedure Chop;
Begin
Repeat
FindColor(x, y, 793624, 0, 0, 515, 335);
MMouse(x, y, 2, 2);
Until(IsUpText('Tree') = True);
Mouse(x, y, 2, 2, True);
End;

u could make a failsafe by doing this

Procedure Chop;
Begin
Repeat
If(FindColor(x, y, 793624, 0, 0, 515, 335)); and
(IsUpText('Tree') then
MMouse(x, y, 0, 0);
If(not(IsUpText('Tree') then
Writeln('Could not find text Tree, terminating script') then Exit;
end;

ya get it?

EDIT: sorry didnt see u updated it :D

71runemaker

2007-07-04 12:00:52

Here's SRL 3.05

(sorry for double posting)

link0demon

2007-07-09 01:27:57

umm i cant get that script to work… it has too many errors… can you help me out? i did SRL and everything…

hobosmurf

2007-07-10 20:31:47

hi im really new can someone plz explain how this works?

mr n0obie2

2007-07-13 18:35:23

I got Line 57: [Error] (14871:16): Unknown identifier 'CountItemColor' in script
Anyone know how to fix? i got Srl and all downloads…

chilisgood

2007-07-13 22:15:12

uhh it starts to work and then it says can find road color ….. help plz

blacksail

2007-07-14 10:09:13

i have copied all this in scar program
i have also installed SRL v.3.00

but i am having an error:

Failed when compiling
Line 49: [Error] (14362:1): Unknown identifier 'RunAwayDirection' in script F:\RS\SCAR 2.03\includes\SRL\SRL\skill\WoodCutting.scar


dont know what to do …
plz help!
its my first time using scripts

avengerofsok

2007-07-16 23:51:14

can you guys help!? im getting the same countitemcolor problem! i cant run this script!

billybob

2007-07-19 12:46:31

i keep getting htis error…


Line 78: [Error] (15198:7): Unknown identifier 'CountItemColor' in script D:\Program Files\SCAR 2.03\Scripts\wood1.scar


anyone know how to fix it? cz i've been up all night trying to figure this shhhh out….

billybob

2007-07-19 15:15:44

Line 57: [Error] (15177:16): Unknown identifier 'CountItemColor' in script D:\Program Files\SCAR 2.03\Scripts\wood2.scar

wdf i can't sovle this… what m i doing wrong? if anyone noe plz pm me

oliver1205

2007-07-19 17:43:02

ill test. for your next verison tho, add fail safes to your walking

SweatshopE

2007-07-19 19:04:11

how do i get this to work? what version of scar do i need? i tried it with 3.11 and it says "error something gay about 'countitemcolor'" plz help.

billybob

2007-07-20 22:42:37

i need help this script just gives me a error after an error
plz help

chibichipy

2007-07-24 18:02:33

Line 58: [Error] (14872:16): Unknown identifier 'CountItemColor' in script C:\Program Files\SCAR 3.06\Scripts\VNlchopprbankker.scar

this is the error i'm gettting plz help.
how do i install this plugin/function/operation thingy?


I'm searching 4 help with Google but nothing.

Chipy

Redempting

2007-07-31 15:14:46

How Do I Set Up Line 5?

peterspliid

2007-08-10 15:44:33

From: Redempting
How Do I Set Up Line 5?


lol
It asks you how many loads you want
look in the script
Find line 5
And edit the 100 to how many loads you want

born to macro

2007-08-10 19:18:40

From: crapkiller
I tried to do that but what if it didnt find it? it just seems pointless to me. Maybe add some type of failsafe if it doesnt find the tree?

BTW: whats MouseFlag do? Is it the same as
Mouse(x, y, 2, 2, True);
Flag;

ok iv seen this befor and no credits and please the proff u stole this script is in bold letters BTW: whats MouseFlag do? ok you dont know what ur own script dose calling moderater
QUOTE]

jjoesimpson

2007-08-12 15:54:17

Line 81: [Error] (540:1): Unknown identifier 'BoolToStr' in script srl\srl\core\Users.scar thats my error help

born to macro

2007-08-12 16:58:54

gaive him a break 2ed scrpt

born to macro

2007-08-12 16:59:58

ill update for u

born to macro

2007-08-12 17:19:16

iv seen the walk to bank before i got my eye on you

kelly slater pro surfer

2007-08-12 18:22:19

im gona make a script just like this

dvdcrayola

2007-08-12 18:47:58

whats with all the people with under 10 posts? jeez… but, when the new srl comes out ill try and test it for you.

good luck though

Vince`

2007-08-20 15:30:24

I got this error:

Failed when compiling
Line 57: [Error] (14871:16): Unknown identifier 'CountItemColor' in script

dundern

2007-08-21 02:19:39

to me it tells that it can't find path colour = (road colour) what is up with this i tried to fix the scriptbut nothing i think it is best i start learning srl to make a working scripts once i have been 1337 on scar scripts have made over 20 WORKING scripts… but atm no scriptsleft and all old ones somewhere in web and most of those stolen to make leet scripts

ffs script noob

2007-08-23 21:51:10

wtf i keep getting this!
Line 57: [Error] (15177:16): Unknown identifier 'CountItemColor' in script

please help me =(.

RAUL MARTINEZ

2007-08-26 22:43:46

i dont get wat setup line 5 means im a total noob i just got this so my guy would get his lvs up while i go out of town so can u guys answer me back as soon as possible? i think i fixed it but it dont do nothing wat do i do?

Czaroos

2007-08-28 11:58:23

Failed when compiling
Line 309: [Error] (5526:11): Unknown identifier 'FindColorCircleD' in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Color.scar

omg same errors…