[SRL 4] #5 - Draynor Willow Banker
Paul23
2007-10-22 14:35:30
The is my first SRL script (although I have been programming for some years)
Usual instruction for a Willow Banker
1. Start players in Draynor Bank
2. Axe in inventory or equipped.
3. Spare axes in bank.
Notes -
– Ent finding works some/most of the time. Improvements being considered.
– Player reporting needs looking at.
Credits
– Wizzup?, Tails, Charms
Well all - give it a look and tell me what you think. :)
tigerskall
2007-10-22 16:19:39
what is the srl pass and srl username
srry I'm VERY new at this :o
Paul23
2007-10-22 16:39:33
I'm a little new to this as well. I believe that it is to do with SRL stats which you can register for. If you do then it will log how long the script ran for and will update some stats that will give some measure of how reliable the script is.
You can run without it for now.
However, you need to fill in the values starting at
Players[0].Name
with your character names and passwords and such.
You should run with more than one player. I think that about six or seven is best and that is what I do.
You can run with one player but don't do it for too long. Bout half an hour is probably enough.
Hope that helps,
Paul
tigerskall
2007-10-22 17:15:32
i get a problem with all of these so i know its either me or my computer the problem says.
Include file C:\Program Files\SCAR 3.12\includes\SRL\SRL.Scar does not exist.
Include file C:\Program Files\SCAR 3.12\includes\SRL\SRL\Skill\Woodcutting.Scar does not exist.
Failed when compiling
what can i do? :confused:
Method
2007-10-22 17:17:36
You haven't installed SRL correctly. Read some topics in
this forum to figure out how to install it.
mirus14
2007-10-22 19:46:40
how do u make it so that only one character can cut, it keeps trying to log out and change????????????
Del Piero1994
2007-10-22 19:49:48
tytytyty
Addicted2life
2007-10-22 20:43:06
good program u just need to improve the number of players system, even tho u set it to only 1 player it logs out and tries to switch to the next one lol
Paul23
2007-10-23 01:39:17
the script is set up to be multi-player. That is what it is supposed to do. That is not a fault it is a feature.
If you want one player to cut a lot of logs which is not something I would advise then simply change the Loads variable to be a lot more than 2.
phinoxrobo
2007-10-23 04:26:50
works great, and i switched the loads to 999 and it works great for me thanks
MasterKill
2007-10-23 04:30:07
looks nice for a first script :)
why didn't you posted it in woodcutting? looks like a good working script, isen't it?
Paul23
2007-10-23 04:44:35
Hi, Masterkill,
I remember asking you for advice on scripting a few weeks ago. Do you remember? I was real busy and was just wanting some pointers for when I had a little more time. I now have a little more time and so have written this script.
I have had it running myself for a decent length of time and yes it pretty much works (althougth there is an error in Ent Checking which I hope to fix later tonight).
I basically put it in here because I wanted some people to check the standards and check that it didn't have the potential to ban ppl (any more than any other script).
I will leave it here for a few days and then yes, into the WoodCutting section.
Thx Masterkill (and others for feedback).
Paul
MasterKill
2007-10-23 04:58:00
From: Paul23
Hi, Masterkill,
I remember asking you for advice on scripting a few weeks ago. Do you remember? I was real busy and was just wanting some pointers for when I had a little more time. I now have a little more time and so have written this script.
I have had it running myself for a decent length of time and yes it pretty much works (althougth there is an error in Ent Checking which I hope to fix later tonight).
I basically put it in here because I wanted some people to check the standards and check that it didn't have the potential to ban ppl (any more than any other script).
I will leave it here for a few days and then yes, into the WoodCutting section.
Thx Masterkill (and others for feedback).
Paul
oki, good luck updating then ( i should make some woodcutters :p )
cocodog13
2007-10-25 07:12:04
this wrks realy well, i learned alot from looking at your script, ty! only bug i could see was that it found ents a few times when there wernt any ents(i ran it with debug on).
Paul23
2007-10-25 11:01:39
thx Cocodog,
regarding finding ents when there aren't any. I feel that this is not too much of a problem (as long as it is not happening too often).
Since I posted this up I have discovered a situation where it doesn't find the ent and breaks the axe. This is more of a problem and has been fixed. A new version will be posted in a couple of days time, probably Saturday 9am GMT (around then) - this will be in Woodcutting section.
I'm glad you were able to switch Debug on - this is a useful little feature I think and one that I have used many times before in other languages. I have to review which messages are present though as at the moment it produces a little too much.
I'm assumming that it chopped and banked ok - Please say if it didn't.
Paul
mental osx
2007-10-25 15:10:10
very nice first script, even if it wasn't ur first it would still be a solid script.
it ran for over 2 hours with 1 char. but then it got a random, the classroom one… it banked 15 times so thats not to bad
Soulcream
2007-10-25 16:22:44
Err, im really a noob to SCAR and i filled out all the info that you said to but then it gave me this error message: Access Denied to file by user
SRL Compiled in 2468 msec
Out of Range in Line 64 of script:
Help plz?:(
Jaghaxor
2007-10-25 20:32:48
i have gotten the same problem…..
could it be that we missed some?
Paul23
2007-10-26 04:07:59
Soulcream and Jaghaxor,
I think I know what you have done - I will explain.
You have changed the following line
NumOfPlayers = 7;
to read
NumOfPlayers = 1;
because you only want to run with one player.
But note - when the following code runs
HowManyPlayers := NumOfPlayers;
NumberOfPlayers( HowManyPlayers );
this will allocate an array with room for only one player.
Then the code will fall-over on this line (when it tries to instantiate the values for the second player - note the first player takes slot 0).
Players[1].Name :='';
To fix this you need to return NumOfPlayers to be the original value which is 7. Then you should be fine.
Note - the line(s)
Players[?].Active:=True;
will determine is the slot in the array contains an active player.
So if you have numOfPlayers=7 and only one player in the array with Active = true, then you will have only one player playing.
In summary - return numOfPlayers to equal 7 and you should be fine.
Any further questions, just ask
Paul
n3ss3s
2007-10-26 05:00:51
Wow, you know, that is very good especially for a first script!
If not with current, with little improvements you are pretty much ready to apply for members.
Paul23
2007-10-26 05:52:40
n3ss3s,
thx for the feedback - I have a list of tidyup things that I need to sort out this weekend - so that the script runs as smoothly as possible.
I have run this script with six players and it ran for 8hrs so it is fairly solid I think.
When I have done this I will put it in WoodCutting section and get some feedback there and unless there are any glaring errors that come to light I will use it to apply for members. I think I could contribute some reasonable stuff.
Paul
Scorpioni
2007-10-26 07:02:49
Ran well when i tested it.
Kurbsta
2007-10-26 20:19:15
great script =] ran for an hour until he tried to cut an ent n broke axe =p but other than that. everything else ran good. btw u have to put ur comp resolution to 32.
Paul23
2007-10-27 09:21:58
kurbsta,
thx for the reply.
Have discovered a fault with Ent Checking which i have fixed. New version to be posted in Junior Members - WoodCutting either today or tomorow.
btw - the script should have gone back to the bank and got you another axe (if you have one that is)
Paul
boinko
2007-10-27 10:54:57
the part where the char finds the willow its gonna cut and hovers the mouse over it…then goes and clicks on the Worn Equipment menu then clicks on the willow. I find that rlly time consuming and by the time he comes back to click on the willow again the willows gone…
VonKnorring
2007-10-27 11:20:17
A little trouble with randoms but banked 10 times without a single issue, so good work!
darkror
2007-10-27 12:19:53
ill rty it out and see if it works
Vanessa
2007-10-27 12:49:30
The multi player doesn't work for me. It does the right amount of loads on the first one, but only 1 load on any other. :x
Paul23
2007-10-27 13:31:38
All,
thx for feedback
Vanessa,
I have run with multiple players and had no problems - there must have been some other reason why the second player only did 1 load.
About to give my new version an extended test - i will keep an eye on it and see if I have any other issues.
Paul
Paul23
2007-10-27 13:33:35
From: boinko
the part where the char finds the willow its gonna cut and hovers the mouse over it…then goes and clicks on the Worn Equipment menu then clicks on the willow. I find that rlly time consuming and by the time he comes back to click on the willow again the willows gone…
Yes, I been wondering about that a little. If you want to get round it start with the axe in your inventory and not equipped. The script will realise this and will not keep checking the equipped page as it can see your axe in your inventory. You chop one less log per trip but it may be quicker all round.
Paul
noahthepoo
2007-10-28 06:53:08
nice i like it … but i works sometimes othre times it just says runtime error
superelg
2007-10-28 09:00:41
it worked perfeckt:)
Paul23
2007-10-28 14:48:33
new version 00.02 posting in Junior Members - Woodcutting
prblmkid
2007-10-28 16:24:25
cool let me try this out
adam191
2007-10-28 17:47:29
tryed ealryer today pretty sure it worked ok.
adam191
2007-10-28 17:48:36
.
tigerskall
2007-10-28 20:51:43
omg im such a noob.
this page grew from when i did this first lol :p
i finaliy found out how to download scar lol :p so i will try this out
P1nky
2007-10-28 22:13:21
dude nice but, its complicated to read lol =) or is it just me!
Paul23
2007-10-29 06:27:04
p1nky,
What's complicated to read?
Paul
BobboHobbo
2007-10-29 07:21:03
Looks verrry good for a first script, my first script was a bundle of shit compared to this.ou should really of posted this in the woodcuttings section, its getting leeched.
Paul23
2007-10-29 10:03:31
BobboHobbo,
thx for comments - new and slightly improved version is in WoodCutting section. I didn't really know that it was that good or I would have put it in Woodcutting straight away.
Paul
chedda1101
2007-10-29 10:32:51
put a anti random on this thing…and not somthing that tries to fight that random too
Paul23
2007-10-29 10:40:00
chedda,
When you post a comment - can you please do so in such a way that the author of the script has some idea as to what you are talking about?
Now, what seems to be the problem - I've really no idea what you are talking about.
Paul
boommaster
2007-10-29 16:20:39
works nerly perfecktly:D, but the run away from fight thing works badly :(
Paul23
2007-10-29 17:52:50
boommaster,
if your char is combat < 15 the dark wizards will attack it and you will spend a lot of time running. If your combat is high enough it will run fine.
Paul
2black2hack
2007-10-29 18:08:29
does any one have an idea how to set it up for just one player i can get it to.
geforce
2007-10-30 04:19:40
:D I tested this script on my main acc start was pretty fast and it copped ~0/5 bag then sandwitch lady was there and she wasnot talking to my user it clicked on her and after that it logged my user out then I logged i with my acc and restarted script..-not from bank all was working and it banked my willows only thing it attacked somehow wizard but that wasn`t problem
Nice Script i will use it if i do my homeworks…
Paul23
2007-10-30 08:49:19
From: 2black2hack
does any one have an idea how to set it up for just one player i can get it to.
If you really want to set it up for one player you have three choices
1. Set only for player in the Players array to True.
2. Set numPlayers to 1 and remove all other assignments in the DeclarePlayer routine except for the initialisation of the first element.
3. Set the loads to a very high number so that it never changes to the next player.
Paul
God-Zool
2007-11-02 20:59:38
B.l.o.o.d.y A.w.e.s.o.m.e!!!!
awesom
2007-11-02 21:32:28
Nice, I will test and tell you how it goes. :)
mental osx
2007-11-03 06:27:36
Worked for 43 Minutes and 28 Seconds
Banked 12 times.
little progress report
i had some problems with axe detection it kept getting axe's from bank…
btw this was with 1 player offcourse
awesom
2007-11-03 07:18:54
I lost an axe to ent but it still runs well, needs anti random though. Solved a box but I got screwed by like 3 other randoms.
Paul23
2007-11-03 16:16:29
thx guys,
btw - Awesome, a updated version that does better with axes and randoms is in Junior Members - Woodcutting.
These teething problems have been largely solved.
Paul
niqje
2007-11-03 16:51:04
From: tigerskall
what is the srl pass and srl username
srry I'm VERY new at this :o
you need to register on
www.stats.srl-forums.com than you get a srl ID en srl pass ;)
Desolater
2007-11-03 20:09:50
Very nice Thank you very much!!!
jojolalo
2007-11-03 20:43:08
good first script
Mr_Bum
2007-11-04 02:30:44
really nice for a first script.. Im still learning how to script so i might use this as insparation
red eyes 20
2007-11-04 14:34:38
nice script but it started to just go to the bank, grab a back up axe, go get another, try and chop wood, deposite the axes and get a axe again and continues this forever….
heres the prog
—————————-
Draynor Normal Trees.
Worked for 17 Minutes and 36 Seconds
Banked 6 times.
—————————-
0 : olz = T; Loc: Bank; B: 0 F lvl: 0; T: 0
1 : = F; Loc: Bank; B: 6 F lvl: 0; T: 0
2 : = F; Loc: Bank; B: 0 F lvl: 0; T: 0
3 : = F; Loc: Bank; B: 0 F lvl: 0; T: 0
4 : = F; Loc: Bank; B: 0 F lvl: 0; T: 0
5 : = F; Loc: Bank; B: 0 F lvl: 0; T: 0
6 : = F; Loc: Bank; B: 0 F lvl: 0; T: 0
—————————-
Paul23
2007-11-05 09:59:25
red eyes,
This is a fault with this version. The version with this fixed is in Junior Members - WoodCutting.
Paul
retrovega
2007-11-07 19:10:19
works extremely well
no complains, i banked about 5 times in 25mins
chip111
2007-11-07 20:19:37
its pretty good but one thing….doesnt detect ents and doesnt solve a few randoms..consider revising and fixing….other than that its great!!!!
Paul23
2007-11-08 04:33:15
retrovega - thx,
chip111, - As had been said before, new and improved versions in Junior Members - Woodcutting (which you will be able to see in around 3 posts time) , I'm ironing out glitches all the times and it is slowly improving. With respect to ents, the big problem was solved for v00.02 and is much better now.
Paul
Paul
Raskolnikov
2007-11-11 15:47:25
I keep dying because there is always a dark wizard there. Can you make this statement embedded in the script?
if(FindFight) then
begin
RunAwayDirection('N'); //Whichever direction
Wait({However long random whatever});
RunBack;
end
Thanks, (it's a very good script btw, no problems in the banking)
Cut em2 it
EvilChicken!
2007-11-11 15:49:42
From: cut em2 it
I keep dying because there is always a dark wizard there. Can you make this statement embedded in the script?
if(FindFight) then
begin
RunAwayDirection('N'); //Whichever direction
Wait({However long random whatever});
RunBack;
end
Thanks, (it's a very good script btw, no problems in the banking)
Cut em2 it
You keep dying because you use a nooby charachter, wich is agains the rules of SRL. Please, dude. Getting lvl 15 cb isn't that hard.
Paul23
2007-11-12 07:33:15
thank you EvilChicken,
Couldn't have put it better myself.
Paul
wesleyxD
2007-11-12 10:54:47
verry good
alessio12345
2007-11-13 16:49:59
very nice for 1st script
Wipe Ur Ass
2007-11-14 10:01:35
jea
Paul23
2007-11-16 06:10:58
thx all
ashmaker0
2007-11-16 17:34:41
Nice script! It was a bit laggy and on a crowded world it couldn't cut any trees but I switched worlds and it worked great! It successfully handled a Sandwich Lady.
Kevin212
2007-11-16 18:50:54
Line 269: [Error] (15389:1): Unknown identifier 'OpenBankFast' in script
x-x-umbra-x-x
2007-11-16 19:54:46
wat i do if im only usin 1 player is i set all the player as 1
so say they all might be my auto acount catmandoo256 so it runs 4 heaps long
Darthjinn
2007-11-16 22:59:43
you guys do a great job at making these scripts
I Nissan I
2007-11-17 06:50:12
verynice script
Paul23
2007-11-17 18:40:41
thx all,
a better version of this script is available in Junior Members - Woodcutting.
IF you wish to run with one player probably the best way is to up the Loads variable to a high number. 999 has been tried and worked fine.
Paul
tap154
2007-11-17 19:41:16
vary good vary recomended
Dilligaf
2007-11-17 21:37:41
nice, i needed a new willower. last one stopped working
Dilligaf
2007-11-17 21:39:02
haha i was setting it up and i see like 900 default chars come through the door and was like… wowwwwwwwww
License
2007-11-17 22:36:42
Sweet Works Great Bro!!! Thx!!!
sureshot12345
2007-11-18 00:49:45
man this is a nice script o.O
ecclesiastes
2007-11-18 04:48:30
Very good script… However, there are some unnecessary clicks (not on the trees). You can fix it quite easily (maybe reduce the number of clicks on the ground)…
Apart from that, its good.
License
2007-11-18 20:58:57
great work this script only needs a fix with some randoms like ents thats my only problem
when i wake up the next morning i always find myself with allmost all or all my axes broken
thats the only bug i've found so far
great work otherwise
-License
grekory5
2007-11-18 23:45:17
Yes, very nice script, found only a couple of little errors, but very good for a first script. Hope you make more scripts like this
Scaper
2007-11-19 06:54:33
ok works ok jus it gets half a load and banks but nice script tho
Paul23
2007-11-19 07:42:21
All, Improved version of this script in Junior Members - Woodcutting
Paul
I Nissan I
2007-11-19 08:29:11
nice script , but the end finder isint working on me
richard1992
2007-11-19 11:40:31
[admin]Dear User,
Your post count has been reset on account of your mass of spam posts. Please take the time to read this thread before posting again.

Sticky:
Attention Spammers and Leechers... 
RAM
Cheers,
Hobbit.[/admin]
Works great got to add randoms to it now then it will be mega good
not bad gotta add more stuff to it
great
you sud make a auto fisher or fletcher
forgot loads things but works as i had to recode part of it
this works great now i don't need to keep clicking
why don't u just use the one which u get from sql
grart i gain loads exp
gotta sort out the codes
out of date coding it fo sql 2 i think
nice script works perfect u sud make it work in smart
great script u sud make it work in smart and do like a coal miner and banker
gd script didn't work at first but after a min it works perfect
kool script
kool script cooked my 10k monks fast without getting me ban
good scipt sud add antiban
you can't really merchant anymore so what use i sthis script but nice anyway
nice for fast exp
nice for first script u sud work on an cutter and banker
this script will get u ban
gd script
little p3
2007-11-23 02:44:24
This script worked like a charm for me, it got 4 of my characters up to lvl 50 in just a few days. So thank you very much.
I_Pwn_U
2007-11-23 07:21:49
very good for a first script
Wipe Ur Ass
2007-11-23 16:06:03
very good script ;) i got wc to 60 in 1 day
BeViS
2007-11-23 16:14:04
i liked the script alot!
simdan
2007-11-29 04:01:47
nice script worked realy well untill a the box, dragon and old man random came along and made me logg out.
washimingo
2007-12-03 12:31:51
yay nice script i got 50 wc in less than a day
ice, had to change to 999 loads after that very impressed :)
hellboiy
2007-12-11 06:51:31
hmm didnt work for me, was just clickin around randomly and i had 2 stop it :S
natea
2007-12-11 10:01:44
say i run into a random you cant solve and logout..will it log back in at a certain amount of time? like in 20? or should I use multiple chars to stop this?
mhembroff
2007-12-19 19:45:35
i have a problem i start the script it loggs me in but it doesent do anything when im in the bank
ssomone plz tell me what to do
:fiery:
comtech
2007-12-19 23:03:48
Beautiful, as I usually just create a random account to use for testing scripts great few randoms 2 broke axes very well done, P rops to u on a 1st scrpt.
Tech
Teamtippmann
2008-01-02 15:27:46
wow this is an amazing script….it took forever for me to find a working one and this one was the very best. Great Job.
albinoblack
2008-01-06 15:00:54
for some reason when i run your script it walks me to the willows and starts cutting one then all of a sudden moves to another and keeps switching back and forth and gets nothing done.
EDIT: nvm it works great now but the wizards keep killing me so i got to lvl some more
oognastasheo
2008-01-07 02:10:21
omg hope this works… ive tried so many auto wcers…
fierydeath
2008-01-07 02:37:51
[admin]Dear User,
Your post count has been reset on account of your mass of spam posts. Please take the time to read this thread before posting again.

Sticky:
Attention Spammers and Leechers... 
RAM
Cheers,
Nielsie95[/admin]
ooo nice script worked pretty good :)
hmm imma try this out mite be handy for 99 fm
nice and banker :) this cud go well wit some fm scripts
ty for this help me for lata
lol ye sometimes:f:
ye ge good for selling yews so good on ge
hmm i wonder how many members jagex will lose…
wcer lol i wc a lot…2nd most wud be mining… mining is painfully boring…
rofl funny stuff :P hope u update it
in f2p train at ice giants/ice warriors really good tonnes of em as well
lol b4 i picked up sara pl8 this was when full sara was worth 5m some guy died from a swarm
wateva world…doesnt really matta…
hmm cud try reformating ur comp??
clookid
2008-01-07 21:26:05
SRL Compiled in 12485 msec
1 Player
[Runtime Error] : Out Of Range in line 342 in script C:\Program Files\SCAR 3.12\includes\SRL/SRL/Core/Login.scar
I get the above runtime error. :(
whiebris
2008-01-07 23:33:17
good script man had it running for a while until Dr. jekyll came up and attcked me lucky i came whem i had 10 hp. but the ran it again for another hour with no inneruptions.
woodjedi
2008-01-13 14:29:41
Yeah this is the best script i ever read.. ! works very good.. only problem for me is that it just ends walking sometime and logs out.. :/
iSkank[X]
2008-01-13 19:33:13
I'll be sure to try this out some time in the near future. :]
GhostBomber
2008-01-13 21:29:15
Great script
Its great and it bank perfectly
hope u come out with more =)
importuner890
2008-01-17 16:05:09
very good
dstopgunner1
2008-01-18 21:44:43
Is this script similar to the Dragor willow whacker?
Loves Katelyn
2008-03-05 19:08:22
it always has an error somewhere for me..
Loves Katelyn
2008-03-05 19:18:07
it keeps saying error line 131 findmime unidentifier
Smokefree
2008-03-05 20:08:14
Great 1st Script… Continue working on it, and you'll get there! BTW, player system needs fixing as said above.
GJ + REP.
P.S. You should make it cut all different trees and bank to the closest bank. :cool:
Bakken
2008-04-06 10:05:53
nice script, works good, nice job man :)
graffy
2008-04-08 08:23:50
Got this when trying to run it.
Failed when compiling
Line 131: [Error] (12952:8): Unknown identifier 'FindMime' in script
Mclarenvj
2008-04-09 09:26:11
Is The one of the many outdated scripts I can use. because looking at the people who are getting the line errors, it looks like its outdated… but i could be wrong
scissormetimbers
2008-04-09 14:10:33
From: graffy
Got this when trying to run it.
Failed when compiling
Line 131: [Error] (12952:8): Unknown identifier 'FindMime' in script
i got the same thing
scissormetimbers
2008-04-09 16:06:47
omg help it keeps coming up like:
Failed when compiling
Line 131: [Error] (12960:8): Unknown identifier 'FindMime' in script C:\Documents and Settings\Owner\My Documents\SCAR stuff\Draynor Willow Trees SRL 4 #4v00.01(Rel).scar
SOMEBODY HELP ME PLZ IVE TRIED SOOO MANY WILLOW BANKERS IM LOSING MY MIND!!!!!!
Richard
2008-04-09 16:46:09
Look at the date on the first page, its outdated. Please be clever and read the date of posts. If people are getting the same error then its either outdated, or the maker has posted an unfinished script.
I'll pm someone to close this.
EDIT: Message to Hobbit if you do come: Theres another thread thats next to this, also been gravedug, just thought your ought to know to save me posting on them both.
Thanks
Hobbit
2008-04-10 11:01:31
Closed till further updates