SRL Archive - RS3 Outdated / Broken Scripts

Simple Yew Cutter & Banker (EdgeVille)


PriSoner

2008-01-31 13:40:38

Thank you all for your comments and support.

Good to see that this has worked so well for some of you and for those that have struggled with it hopefully the new version will solve all your problems..

Simple Yew Cutter & Banker has outgrown the Simple in it's title and will soon support numerous other location and other tree types including Magic Trees. As a result I have decided to rename it and start a new thread.

Ultra Cut n Bank is Now Out!! and has now moved to another thread: Click Here to continue supporting it.

Please download it, try it out and Keep them progress reports coming..

***********************************************************************
************** I am leaving the current thread as is, but it is now obsolete *************
******************************* CLICK HERE *******************************
**************************** For The New Version ***************************


Features:
Chops and Banks Yews in EdgeVille.
Uses S.M.A.R.T. Click Here for more info.
Solves Most Randoms.
Finds and Avoids Ents.
Comprehensive AntiBan.
Uses all Axes including Dragon.
Comprehensive & Accurate Progress Reports.
Finish by: Load, Running Time, Yews Cut, Level or XP earned.
The only Working Bird Nest Finder & Picker Upper!!
The only Working Strange Plant Finder & Picker!

Drops Low Value Items from Random Events
Uses Genie Lamps on any Skill of your Choosing


This has been tested and works using SCAR 3.12c and 3.14
This has been tested and works using SRL 13

Only uses one player at the moment.

Hopefully the script should be fairly easy for most to read and understand. I have tried where possible to use existing SRL functions.

Any Comments, Advise or Problems Please Let me know..

<<–PriSoner–>>

Usage:
Add Your details to the script in the places clearly marked with "ChangeMe".
Stand Anywhere in Edgeville Bank.
Make sure you have any axe in backpack or hand.
Start Script.


// Version History:
// V1.00 beta First public beta release
// V1.01 beta Minor Tweaks to a few Coordinates & small counting fix.
// V1.02 beta Fixed a few bugs introduced when I cleaned up the script for release.
// Improved Item Count Function & Fixed intermitent problems with it.
// Created Custom Runaway From Fight Routine just for Edgeville Yew Area. (beta)
// V1.03 beta Fixed the intermittent FindTalk Random bug.
// Improved CustomRunAway procedure.
// Integrated SRL Stats.
// Minor bug fixes and optimisations.
// V1.04 beta Updated to work with SRL 11
// increased speed of cutting.
// V1.05 beta Fixed Minor Reorting issue for RandomItemsBanked
// Lots of small improvements.
// Last Version Posted in First Scripts, If you want further versions become a Junior Member.
// V1.06 beta Added Custom Procedure to Find Birds Nests when dropped from tree. (beta)
// Record failed attempts to find Birds Nest.
// added procedure to drop low value items from Random events
// improved random detection.
// V1.07 beta Added a procedure to wait and try again when a "not LoggedIn" event is detected
// Now saves and Displays a Screenshot for when "Not LoggedIn" event is detected to help debug
// Added Woodcutting Level, XP & Script Version to reporting
// V1.08 beta Added a Strange Plant Finder (Very Beta but works, needs refining in a major way)
// Tweaked AntiBan to start less often to improve speed of cutting
// Improved Reporting system and now Digit Groups all number to make them easy to read.
// V1.09 Fixed a conflict in StrangePlantFinder that caused an access violation (Cleared DTM and then Counted DTM)
// V1.10 beta Added support for SMART
// added more unwanted items to DropUnwanted array
// Changed CustomRunAway to shorter WaitTime & to just run to bank as RandomDetection is now better.
// Replaced custom CountItemDtm with offical SRL function: CountItemsDtm
// Tweaked my Bird Nest Finder to improve the guarantee that last text is changed to avoid a loop.
// Temp Fix to correct FindFight problem created by the SRL 12 & 13 update
// Dramatically reduced CPU overheads by removing all redundant Randoms checks.
// V1.11 beta Fixed my previous FindFight Fix. Fighting Randoms should be detected for everyone now.
// Major overhall of my FindTheAxe function turning it into a completely self contain function.
// Added Woodcutting/Attack Level checking & handling to FindTheAxe function.
// Added option to FindTheAxe to set axe position.
// Added a variable to FindTheAxe to determine axe location.
// Updated MyFindBirdsNest to return the GameTab position to where it was at before it was called.
// V1.12 beta Added Variable TypeOfAxe to the FindTheAxe. Returns the Type of Axe that is being used.
// Made some small changes in readiness for the switchover to a Multi-Player Script.
// Implemented new quick check function as a failsafe to check axe is present while chopping.
// Added a check to make sure a valid world is selected for S.M.A.R.T.
// Improved Strange Plant Finder and now also detects if plant is after other player.
// Reduced amount of times DropUnwanted is called. Now only calls it when needed.
// Improved CustomRunAway procedure. Now even more robust.
// Improved GoToBank procedure. Now even more robust.

[ATTACH]10237[/ATTACH] non S.M.A.R.T. version.
[ATTACH]10238[/ATTACH] S.M.A.R.T. version.

If You Use and Like This Script Please Rate This Thread.
If You have Used This Script Please Leave Comments.


Thanks everyone for your support.. I've now made into members.. :D

##################################################################
Simple Yew Cutter & Banker (Edgeville) V1.11s beta
Ran for: 4 Hours, 07 Minutes and 9 Seconds
Loads Banked: 27
Yew Logs Banked: 751
Birds Nests (Seeds) Banked: 3
Random Event Items Banked: 2
You Started at Level 93 you are still at Level 93
You earned 131,425xp This session with 70,258xp to the next Level
Script Ended: Not Logged in During Procedure: FindBothYews.
##################################################################

[ATTACH]10237[/ATTACH] non S.M.A.R.T. version.
[ATTACH]10238[/ATTACH] S.M.A.R.T. version.

Negaal

2008-01-31 17:35:52

It is nice, uses TPA's and Arrays, but im not sure if it is yours…

In yewfining you could do SplitTPAEx, then SortATPA from, and then middleTPA, instead moving mouse on every pixel;)

osmm

2008-01-31 17:46:19

Very nice like Negal said. But I got some proof to prove its not yours.


// Version History:
// V1.0 beta First public beta release
// V1.01 beta Minor Tweaks to a few Coordinates & small counting fix.
// V1.02 beta Fixed a few bugs introduced when I cleaned up the script for release.
// Improved Item Count Function & Fixed intermitent problems with it.
// Created Custom Runaway From Fight Routine just for Edgeville Yew Area. (beta)
// V1.03 beta Fixed the intermittent FindTalk Random bug.
// Improved CustomRunAway procedure.
// Integrated SRL Stats.
// Minor bug fixes and optimisations.
// V1.04 beta Updated to work with SRL 11
// increased speed of cutting.
// V1.05 beta Fixed Minor Reorting issue for RandomItemsBanked
// Lots of small improvements.
// Last Version Posted in First Scripts, If you want further versions become a Junior Member.
// V1.06 beta Added Custom Procedure to Find Birds Nests when dropped from tree. (beta)
// Record failed attempts to find Birds Nest.
// added procedure to drop low value items from Random events
// improved random detection.


All of those are public releases. So if its your's were are the old versions? Obviously its someone elses and old versions are posted on the rightful owners thread.

btw; the proove are on lines 846-864.

PriSoner

2008-01-31 21:37:46

Sorry? I don't quite know what you&#8217;re trying to imply?

I have written this script from the ground up. It was originally posted in First Scripts!! follow the link osmm… Hey just look at the description of V1.05 it says it all! Did you even look at the code osmm or are you basing it all on the version history??

I was told to post it here to stop leachers from grabbing it. This I have done. Do I regret it? YES!

Wherever possible I have used existing SRL functions and procedures and I have been plain and open about that. Where those procedures have not existed I have created my own.

It may suprise you to know that not all SRL Functions and procedures work and some functions could never have worked! Checkout FindBirdsNests.. it would be impossible for that to have ever worked in it's current form! That is why I have written my own procedure and my procedure is the only working FindBirdsNests routine at the moment. As soon as it has been fully tested & peer reviewed it, I will release it as a procedure for possible inclusion in SLR.

I also have many an Idea for other unique functions and procedures which I did intend on releasing.

To cite my own rev history as proof of non-authorship is bordering on the ridiculous! Be constructive, be helpful or shut up!


I also have a number of other unique functions I plan to release..

Negal I thank you for actually taking the time to look at my code and I take on board the constructive elements of your message. I will look into and try and implement your suggestions as I am eager to make my script better. I freely admit I have a long way to go & The script is far from perfect, however it works well for me for my needs at the moment.

Sometimes you just wish you had never bothered sharing!

osmm

2008-01-31 22:14:20

I looked at the code. Thats how I saw the version history. I'm not a dumbass.

From: Pyro
You coded this by yourself? All yours? If so you should be applying for members. Because to be fair. Not many people pay attention to non members scripts etc. Which is a shame cause there is some nice pieces of code in there. And it is a tidy script.

Good work.


I'm just as suprized as he was. Like I always say, great if it is yours. Your a fagit if it is not.

Dangerous Garden Tools

2008-01-31 22:20:30

From: osmm
I looked at the code. Thats how I saw the version history. I'm not a dumbass.



I'm just as suprized as he was. Like I always say, great if it is yours. Your a fagit if it is not.


i just loled, well said.

PriSoner

2008-01-31 22:26:01

No apology and still implying that it's not mine…. real big of you.. is this the kind of support I can expect from this site?

Does anyone actually want me to continue with this script?

chrisn2323

2008-01-31 22:38:37

ya!

fom

2008-01-31 23:17:31

From: chrisn2323
ya!


Dude, stop spamming….

Prisoner, continue with your script, apply for members and see what they have to say about it.

Osmm don't be so quick to assume things, before you base something like that on version history, use something that noobs don't use.

The Search Button!!

osmm

2008-01-31 23:47:43

I'm serious in what I said "great if it is yours. Your a fagit if it is not." Anyways, sorry for not believing you.

fom

2008-01-31 23:53:21

From: osmm
I'm serious in what I said "great if it is yours. Your a fagit if it is not." Anyways, sorry for not believing you.


You said that after, a few posts after your assumption.

From: osmm
Obviously its someone elses and old versions are posted on the rightful owners thread.


Your first post.

I'm not gonna fight with you, just please don't make harsh assumptions in the future.

PriSoner

2008-02-01 12:40:01

Thanks for the calming mediation Fom.. much appreciated..

Version 1.07 beta Out.. download it now..

V1.07 beta Added a procedure to wait and try again when a "not LoggedIn" event is detected
………Now saves and Displays a Screenshot for when "Not LoggedIn" event is detected to help debug
………Added Woodcutting Level, XP & Script Version to reporting


If You Use and Like This Script Please Rate This Thread.
If You have Used This Script Please Leave Comments.

osmm

2008-02-01 16:48:31

Yea, this is the second bad guess i'v made. I'm done commenting on who I think might be braking the rules. If someone finds a rule braker they can take care of it.

Timothegreat

2008-02-01 16:49:29

stop spamming osmm, there are 3 posts that are bumped up by you within the last minute :mad:

chrisn2323

2008-02-01 17:19:57

From: fom
Dude, stop spamming….

Prisoner, continue with your script, apply for members and see what they have to say about it.

Osmm don't be so quick to assume things, before you base something like that on version history, use something that noobs don't use.

The Search Button!!


lol I answered his question.

He asked if he should continue developing it and I responded "ya!"

Giving a response a couple of lines is unnecessary when you can respond in one word.


Anyway I tried this script but it didn't work. It switched between the inventory and equipment tabs about 5 times then logged out saying no axe.

PriSoner

2008-02-02 06:54:24

What kind of axe did you have in your hand or inventory? It should detect all the differend kinds of axes..

The reason it switches between inv an equiptment tabs is that it is looking for each axe..

Naum

2008-02-02 11:05:17

Brilliant work my son :)

PriSoner

2008-02-02 11:51:55

Thank you… working on a Strange Plant Finder now.. Keep your eyes peeled..

Sods Law dictates that now i'm working on it i'll not get any Strange Plants!

fom

2008-02-02 17:27:35

From: chrisn2323
lol I answered his question.

He asked if he should continue developing it and I responded "ya!"

Giving a response a couple of lines is unnecessary when you can respond in one word.


I don't care, you could have given him a reason why to continue. Saying "ya!" alone is spam.

PriSoner

2008-02-02 22:41:48

Thanks everyone for your support.. I've now made into members.. :D

##################################################################
Simple Yew Cutter & Banker (Edgeville) V1.08 beta
Ran for: 1 Hours, 14 Minutes and 14 Seconds
Loads Banked: 10
Yew Logs Banked: 279
Birds Nests (Seeds) Banked: 2
Birds Nests (Eggs) Banked: 1
Random Event Items Banked: 1
You Started at Level 92 you are now at Level 93
You earned 45,850xp This session with 675,108xp to the next Level
Script Ended: Maximum Loads Banked Limit Reached.
##################################################################

New Version Now out V1.08 beta

Includes a Strange Plant Finder & Picker which is very beta but does work.. I need to refine detected colours and I also need the exact text from the chatbox when you try and pick a Strange Plant which is targeting another user.. If anyone has Screenshots of the Strange Plant at other locations or the text I'm after please let me know…

V1.08 beta Added a Strange Plant Finder (Very Beta but works, needs refining in a major way)
………Tweaked AntiBan to start less often to improve speed of cutting
………Improved Reporting system and now Digit Groups all number to make them easy to read.

HayHay89

2008-02-02 23:18:49

From: PriSoner
Thanks everyone for your support.. I've now made into members.. :D


congratz mate u deserved this script looks real good
gonna try out and get a long proggie wats longest proggie so far?????

maybe add multiple player soon??

BobboHobbo

2008-02-03 04:03:39

I was wondering why it doesnt have multiplayer in it in the first place? Its like the easiest thing to add, but you seem to go to the hard to the easy.

GJ btw, gratz on members.

Main

2008-02-03 07:35:45

this script is amazing but with 76 wc, i'd get bored of cutting yews before i even get 1 load,

PriSoner

2008-02-03 10:31:04

From: hayhay89
congratz mate u deserved this script looks real good
gonna try out and get a long proggie wats longest proggie so far?????

maybe add multiple player soon??

Longest I've had is 6 hours without hitting an unsolvable random.. also had a few 5 hour sessions but normally 2 to 3 hours.. Unless I go to bed.. For some reason 5 mins after I go to bed I always seem to get hit by an unsolvable.. :(

From: BobboHobbo
I was wondering why it doesnt have multiplayer in it in the first place? Its like the easiest thing to add, but you seem to go to the hard to the easy.

GJ btw, gratz on members.

When I started the script I didn't realise how tightly integrated the player array was into SRL. I'd made the decision that with the new changes multi player was unnecessary so i went for one player only.. I also thought it would make it easier for the beginner user. I admit I was wrong and at some point I will turn it into multiplayer..

From: M_A_I_N_FTW
this script is amazing but with 76 wc, i'd get bored of cutting yews before i even get 1 load

Thank You.. I have to disagree about Level 76 though.. I started this script at Level 75 and am now Level 93.. at Level 75 it should take about 15 mins a load.. and I would say it should be stable enough now to leave unattended for a while, so no boredom.

PriSoner

2008-02-03 10:49:21

New Version Now out V1.09 beta

V1.09 Fixed a conflict in StrangePlantFinder that caused an access violation (Cleared DTM and then Counted DTM)

If You Use and Like This Script Please Rate This Thread.
If You have Used This Script Please Leave Comments.

osmm

2008-02-03 12:08:45

Congradulations PriSoner.

bomh

2008-02-03 12:58:15

i alright and all but i lag and logout when it reach the treee

MasterOfStuff

2008-02-04 08:32:06

Used this a while over the weekend. Forgot to get the proggie sorry. Worked for about 350 yews though, then my axe broke and it didn't get a new one. I wasn't using the updated ones though, so that's probably why. Great script, looking forward to new ones, and gratz on members.

lil rahmer662

2008-02-04 09:55:50

A few bugs i found. When it finds a fighting random it leads me out to the edge of the wilderness. Sometimes clicks too far to the left of the tree icon and ends up outside of the fence and logs out. Over all a very good script.

Wade007

2008-02-05 21:44:41

   Simple Yew Cutter & Banker (Edgeville) V1.09 beta
Ran for: 19 Minutes and 41 Seconds
Loads Banked: 1
Yew Logs Banked: 26
Random Event Items Banked: 2
You Started at Level 65 you are still at Level 65
You earned 4,550xp This session with 32,757xp to the next Level
That is my proggy….sad but it works! And maybe a s.m.a.r.t. update?

PriSoner

2008-02-05 22:12:22

I'm pleased it works for you.. I would suggest possibly powerchopping willows till you get to Level 75 and then starting on yews as things start get much faster then. I got from 75 to my current level with this script.. :p

The Next Version will be coming out soon and supports SMART.. I'm Just Testing it now..

SMART is proving to be not 100% reliable for me at the moment. There are some stat reporting problems, ScreenDump debugging issues and the keyboard just doesn't work when at all within the SMART window when the script is paused. It has to be stopped for the keboard to work. I will be including an option to allow you enable/disable SMART.

Lots of other updates and efficiency improvements in the next version as well.. be patient and keep your eyes open.

##################################################################
Simple Yew Cutter & Banker (Edgeville) V1.10 beta
Ran for: 3 Hours, 04 Minutes and 1 Seconds
Loads Banked: 21
Yew Logs Banked: 579
Birds Nests (Seeds) Banked: 3
Random Event Items Banked: 6
You Started at Level 93 you are still at Level 93
You earned 101,325xp This session with 434,448xp to the next Level
Script Ended: Your Requested XP earned has been reached
##################################################################

FagetHax0r

2008-02-06 07:02:03

Ok Congrats you member


And i cant wait till 1.10

PriSoner

2008-02-06 12:24:24

New Version Now out V1.10 beta

Lots of updates in this version.. For those of you who experience some of the bugs within S.M.A.R.T. there is a non S.M.A.R.T. version.

V1.10 non S.M.A.R.T. version
V1.10s S.M.A.R.T. version

V1.10 beta Added support for SMART
………added more unwanted items to DropUnwanted array
………Changed CustomRunAway to shorter WaitTime & to just run to bank as RandomDetection is now better.
………Replaced custom CountItemDtm with offical SRL function: CountItemsDtm
………Tweaked my Bird Nest Finder to improve the guarantee that last text is changed to avoid a loop.
………Temp Fix to correct FindFight problem created by the SRL 12 & 13 update
………Dramatically reduced CPU overheads by removing all redundant Randoms checks.

[ATTACH]10198[/ATTACH] Non S.M.A.R.T. version
[ATTACH]10199[/ATTACH] S.M.A.R.T. version

If You Use and Like This Script Please Rate This Thread.
If You have Used This Script Please Leave Comments.

FagetHax0r

2008-02-06 12:28:21

Prisoner Did It Again The Best Scripts Got Released With The Great Progam S.m.a.r.t


I post progy soon to show you much ownage this scripts got


I Cant wait for further releases dont stop updating this scripts till you dead


And ooh i got killed by spirit tree he didnt detect it you should fix that that he runs away for it and comes back after

sk80rdie76

2008-02-06 18:29:55

can you add an option to ask if the ax is wielded or not because it banks my axe.

PriSoner

2008-02-06 19:07:08

what kind of axe are you using? It should automatically wield the axe for you..

sk80rdie76

2008-02-06 19:22:33

im using a rune ax, but i dont have the attack lvl to wield it.

so im saying make an option for True/False if you're wielding axe.

PriSoner

2008-02-07 05:59:28

It never even occured to me that axes may not be wieldable..:duh:

I will create a function to accomodate you this weekend..

FagetHax0r

2008-02-07 06:30:16

If you update that Please make a Spirit tree runner too

PriSoner

2008-02-07 11:53:53

What is a spirit tree runner and how would it relate to this script?

FagetHax0r

2008-02-07 14:03:08

You know a spirit tree

Who comes up somethimes and kill you ?


You should make Something that runs from fights just that run from fights Cause i get killed everytime by spirit tree


But just focus on Something that runs away from fights and comes back later

Like he runs to bank when he gets attacked

And goes bank again when he is at bank

Then spirit tree is gone and u can Script again without you end up at Lumbrigde

PriSoner

2008-02-07 14:18:01

Ahhhh a Tree Spirit… A Spirit Tree is something very different.. ;)

This already exists in the program and was broken with the release of SRL 12 & 13.. This was an error within SRL and not my error, it will be fixed in SRL14.

I implimented a temporary fix in V1.10 to overcome the SRL bug, however due to a small mistake on my part the fix only works if you have a pin number set!:duh: v1.11 which will be released shortly will address this..

As a quick an simple fix until V1.11 is out and if you don't use a bank pin just set the bank pin in the script to: 0070 and find fight will work.

FagetHax0r

2008-02-07 14:27:59

Ok Ok I will do that buy you should still fix it

In next version


And good luck with new Version couse u scripts rocks :)


If i whas a scripter i would help you with the scripts Cause im like you biggest fan

Heavenzeyez1

2008-02-07 14:54:18

From: FagetHax0r
Ok Ok I will do that buy you should still fix it

In next version


And good luck with new Version couse u scripts rocks :)


If i whas a scripter i would help you with the scripts Cause im like you biggest fan


It's never too late to start Scripting, i used to use scripts for like 2 months then i decided to learn something, too. :)
Eerik.

osmm

2008-02-07 18:30:52

Hey why do you use "OpenBankFast('eb')"?

PriSoner

2008-02-07 18:39:31

Because it's a simple quick and easy way of opening the bank interface. Should I be using something else? :confused:

eb stands for edgeville bank.. if you want to use it in your script use db for Draynor bank..

all the codes are: 'akb' for 'al kharid', 'lb' for 'lumbridge', 'veb' for 'varrock east', 'vwb' for 'varrock west', 'feb' for 'falador east', 'fwb' for 'falador west', 'db' for 'draynor', 'eb' for 'edgeville bank'

osmm

2008-02-07 19:43:11

Oh…duh I'm stupied. I thought yours was a Draynor Banker too (thats why I was asking why you were using 'eb'), for a sec. Yea I already know about all the banks and how to use. I use OpenBankQuiet, it is better, cause it won't move the mouse 100x while trying to find bank.

Your right, the Runinng part of FindFight is corrupted.

PriSoner

2008-02-07 23:04:28

From: osmm
Oh…duh I'm stupied. I thought yours was a Draynor Banker too (thats why I was asking why you were using 'eb'), for a sec. Yea I already know about all the banks and how to use. I use OpenBankQuiet, it is better, cause it won't move the mouse 100x while trying to find bank.

I'll look into OpenBankQuiet a bit more.. but as they say.. If it aint broke dont fix it!

From: osmm
Your right, the Runinng part of FindFight is corrupted.

As I said all you have to do is populate Players[CurrentPlayer].Level[8] with the CurrentPlayers max hitpoint value. I do it like this: Players[CurrentPlayer].Level[8] := GetSkillInfo('hitpoints', False); (I accidentally populated it with the bank pin in V1.10.. which meant player would always run even if another player was fighting.. better to be safe than sorry! (h) ).
If you want to find a bit more about the error you can read this: click here

PriSoner

2008-02-07 23:10:54

From: sk80rdie76
im using a rune ax, but i dont have the attack lvl to wield it.
so im saying make an option for True/False if you're wielding axe.
I have now fixed this problem. No options to set, it should cope with it all automatically. :) Simple!

From: FagetHax0r
And good luck with new Version couse u scripts rocks :)
If i whas a scripter i would help you with the scripts Cause im like you biggest fan

I second osmm's response.. It's never too late to learn.. By getting this far you have demonstrated you have the aptitude to do it.. As far as being my biggest fan… very flattering & also very frightening :eek: Save the Fan thing for someone truly worthy..

New Version Now out V1.11 beta

[ATTACH]10224[/ATTACH] non S.M.A.R.T. version.
[ATTACH]10225[/ATTACH] S.M.A.R.T. version.

V1.11 beta Fixed my previous FindFight Fix. Fighting Randoms should be detected for everyone now.
………Major overhall of my FindTheAxe function turning it into a completely self contain function.
………Added Woodcutting/Attack Level checking & handling to FindTheAxe function.
………Added option to FindTheAxe to set axe position.
………Added a variable to FindTheAxe to determine axe location.
………Updated MyFindBirdsNest to return the GameTab position to where it was at before it was called.

[ATTACH]10224[/ATTACH] non S.M.A.R.T. version.
[ATTACH]10225[/ATTACH] S.M.A.R.T. version.

osmm

2008-02-07 23:33:02

Don't got permission to go to thread. What exactly is Players[CurrentPlayer].Level[8]? Just the HP for the player. So I'm assuming that SRL looks at the wrong state or something like that. A simple typo perhaps? Anyways temporarily I have done like MK in his VEM and just coordclicked a run away / run back thing. Also I think in the EntFinder I just had to change "MouseFindNoFlag(MMCX, MMCY, -5, 5);" to "MouseFindNoFlag(MMCX, MMCY, 5, 5);". Thats what I did and everything runs smooth. I hope now my script is, as I say "an 8 hour script". As in I can run it while at school / asleep and it won't stop. If I can achieve that, I will probably add a player form then submit for members. Since I'v already gotten 13k willows from it…

EDIT: Atm actually it is doing very well, my beta version (I am personaly testing) has been going for around an hour, no fights yet to test it out, but says it found 2 Ents.

PriSoner

2008-02-08 06:04:08

From: osmm
What exactly is Players[CurrentPlayer].Level[8]? Just the HP for the player. So I'm assuming that SRL looks at the wrong state or something like that.

Players[CurrentPlayer].Level[x] is an array of all the players Levels. x indicates which level so 8 is hitpoints. It's up to you to populate this array and most scripts don't populate it as it is unecessary and time consuming when most of these values wouldn't be used.

FindFight looks for the hitpoint flashes to find if there is a fight in the area. If it finds a fight it then starts checking your hitpoints and if they go below 100% it returns true. The function was changed slightly because the players hitpoints are now always visible and so switching gametabs all the time was not necessary. In order to do this, maximum hitpoints always has to be known and this is where the error comes in.

The function checks to see if Players[CurrentPlayer].Level[8] is populated and if it isn't, it populates it. The bug is that the tiny routine uses min value instead of max value and therefore always populates Players[CurrentPlayer].Level[8] with 1 instead of the users real hitpoint value. This of course doesn't happen if it already has the correct value in it.

I hope my explanation makes some sense to you, it probably could have been less wordy. :redface:

Remember Findfight does not run away, all it does is return true or false. It's up to you to run if the value is true.

As I said this now works perfectly in my script as of V1.11..

##################################################################
Simple Yew Cutter & Banker (Edgeville) V1.11s beta
Ran for: 4 Hours, 07 Minutes and 9 Seconds
Loads Banked: 27
Yew Logs Banked: 751
Birds Nests (Seeds) Banked: 3
Random Event Items Banked: 2
You Started at Level 93 you are still at Level 93
You earned 131,425xp This session with 70,258xp to the next Level
Script Ended: Not Logged in During Procedure: FindBothYews.
##################################################################

FagetHax0r

2008-02-08 09:25:02

Prisoner did it again


Btw i post proggy soon :(h): :)




You scripts just owns i cant stop saying that

Best scripts there is

PriSoner

2008-02-08 12:27:46

Thank you.. I'm very pleased you like the script..

as you like it so much how about rating this thread?

FagetHax0r

2008-02-08 12:34:16

I Did 5 stars


And i know some things for next version add Dragon axe too Cause this scripts makes me alot of money so i gonna buy Dragon Axe too




And tip for players. If you dont use you computer dont use smart cause if you computers goes to screen saver smart stops and if you just use autoos if You gone or something just use normal scar

PriSoner

2008-02-08 12:40:21

From: FagetHax0r
I Did 5 stars
Thanks.. anyone else want to rate this thread? please go ahead! :)

From: FagetHax0r
And i know some things for next version add Dragon axe too Cause this scripts makes me alot of money so i gonna buy Dragon Axe too

The script supports using a Dragon Axe, it has done since release… have you ever read the feature list on page 1? :rolleyes: you keep asking for features that it already supports!

From: FagetHax0r
And tip for players. If you dont use you computer dont use smart cause if you computers goes to screen saver smart stops and if you just use autoos if You gone or something just use normal scar
As a tip.. turn off your screensaver and just switch your monitor off when not using it. That way you can still use smart and not be there..

FagetHax0r

2008-02-08 12:43:34

Lol Sorry but it say at first post doesnt support dragon axe

But i got laptop dont want to Turn screensaver off everytime

PriSoner

2008-02-08 12:52:13

Uses all Axes including Dragon


quite clearly says on the first page "Uses all Axes including Dragon"

yeah turning you screensave off on your laptop may not be such a good idea. :)

FagetHax0r

2008-02-08 12:55:57

Ooh i think i need glasses Lol


But i THANK YOU FOR THIS SCRIPTS

I know how everything works in this scripts now that i cant use smart when im leaving ETC. But when it stopped everytime cause i didnt know much about it i made only in a week 500k But now i know how i can really get the best of this scripts i gonna try this a week again and then i tell you how much money i maked

PriSoner

2008-02-08 15:20:38

New Version out Now V1.12 beta

[ATTACH]10239[/ATTACH] non S.M.A.R.T. version.
[ATTACH]10240[/ATTACH] S.M.A.R.T. version.
// V1.12 beta Added Variable TypeOfAxe to the FindTheAxe. Returns the Type of Axe that is being used.
// Made some small changes in readiness for the switchover to a Multi-Player Script.
// Implemented new quick check function as a failsafe to check axe is present while chopping.
// Added a check to make sure a valid world is selected for S.M.A.R.T.
// Improved Strange Plant Finder and now also detects if plant is after other player.
// Reduced amount of times DropUnwanted is called. Now only calls it when needed.
// Improved CustomRunAway procedure. Now even more robust.
// Improved GoToBank procedure. Now even more robust.

[ATTACH]10239[/ATTACH] non S.M.A.R.T. version.
[ATTACH]10240[/ATTACH] S.M.A.R.T. version.

If You Use and Like This Script Please Rate This Thread.
If You have Used This Script Please Leave Comments.


Thanks everyone for your support.. :D

FagetHax0r

2008-02-08 15:53:26

THIS GUY DID IT AGAIN DANG


How fast can you update a scripts PRISONER IS THE FASTES ON


I support you 100% Prisoner

[This is still with v1.10]



Simple Yew Cutter & Banker (Edgeville) V1.11s beta
Ran for: 40 Minutes and 17 Seconds
Loads Banked: 3
Yew Logs Banked: 84
You Started at Level 65 you are now at Level 66
You earned 14,700xp This session with 38,034xp to the next Leve


[Not that much Yews is not cause this scripts sucks but my woodcutting sucks this is the best script ]

piepolo

2008-02-08 15:54:29

i go to test v 1.12 beta i post a proggy later


EDIT: i vergot to post a proggy buy i have after running scar a broken axe

osmm

2008-02-08 16:42:57

No, I loved your explination. Thanks.

To the other guy; Please do not say PriSoner is the fastest updater…I know I'v update all my scripts to the latest rev the day they come out, but that is not my point. The point is that maybe PriSoner updates every time he thinks of something to add, where as I or anyother scripters combind all these into (for me a weekly update). Also I doubt he can update faster than Wizzup? or some other admin. Although PriSoner is a good scripter in general :D.

sk80rdie76

2008-02-08 18:11:22

awesome script, im almost 94 woodcutt :)

PvH

2008-02-09 03:08:01

I'm usting atm..
except a proggy from me later ;)

I used it for 2 hours..
worked perfect;)
i cant give a proggy, because my pc chrashed :(
oh yea..
i found a little bug..
i used 2 axes
(one in inv and one wielded)
and it banked the one in inventory and said it was a random item
thats all i found :P
great script man..
it worked awsome..
fixed 2 frogs, 2 boxes, 1 sandwich lady and 1 certer;)
and 1 ent
did about 160 yews

PriSoner

2008-02-09 09:03:14

I'm pleased you like it and that it ran well for you.. :D

As for the axe thing, it's by design.. you have no need to carry 2 axes.. the ent finder is superb and as long as you are running in low detail mode and 32 bit colour you should never break an axe.

sk80rdie76

2008-02-09 11:26:45

got a 2 hour+ proggy, did 10 loads and ill be 94 wc soon.

osmm

2008-02-09 13:09:02

PriSoner I think the findfight is lagging my script.
Idk why, all I got is this

12: begin
WriteLn('Searching for fight');
if FindFight then
begin
Case Random(2) of
0: Runaway('s', true, 1, 15000 + random(5000));
1: Runaway('w', false, 1, 15000 + random(5000));
end;
end;
end;

And the Players lvl [8] is in the setup. I'm trying to figure it out but idk.
Also I somehow forgot (I use it a lot in my script), but does "(Random(10) > 3)" mean something will happen 30% of the time or 70% of the time? Oh and I might revert back to my ent finder, just cause last night I saw it in action (someone else was using my script), it I really liked it. It uses the regular SRL entfinder to actually find the ent, but then it does what I tell it to after that.

FagetHax0r

2008-02-09 13:28:05

Yes this is a very good scripts and yes scripts lags a bit but still gets you much yews


Btw it got my wc to 60-66 [14k xp till 67]

PriSoner

2008-02-09 16:27:22

From: osmm
PriSoner I think the findfight is lagging my script.
Idk why, all I got is this

12: begin
WriteLn('Searching for fight');
if FindFight then
begin
Case Random(2) of
0: Runaway('s', true, 1, 15000 + random(5000));
1: Runaway('w', false, 1, 15000 + random(5000));
end;
end;
end;

And the Players lvl [8] is in the setup. I'm trying to figure it out but idk.


It shouldn't have any negative impact at all, it affects nothing other than giving findfight a value that it needs.. I have however noticed a significant increase in CPU usage with the last version of my script. I will look into it further.

From: osmm
Also I somehow forgot (I use it a lot in my script), but does "(Random(10) > 3)" mean something will happen 30% of the time or 70% of the time?

If the statement was if (Random(10) > 3) then it would mean that it would happen 70% of the time.


From: osmm
Oh and I might revert back to my ent finder, just cause last night I saw it in action (someone else was using my script), it I really liked it. It uses the regular SRL entfinder to actually find the ent, but then it does what I tell it to after that
What you do after the SRL Entfinder has detected the presence of an ent is up to you. The most important bit is that the ent is detected in the first place and that is entirely done with the SRL entfinder. So to call it your entfinder would be somewhat misleading. It's still the SRL entfider but you could say that it's your EntResponder.. ;)

sk80rdie76

2008-02-09 16:39:38



best proggy?

PriSoner

2008-02-09 18:12:44

It's certainly up there as a good one :) but i've had a 6+ hour one and a few 5 hour ones.. :D

I'm a bit concerned at the amount of loads you managed to bank at that level. I got 27 loads in less time at the same level.. Are you in a free world as i notice you didn't get any Birds Nests, I wonder if free/members world also affects the speed you can chop? Not to worry though I'm optimising the script all the time.. :cool:

As we speak I'm beavering away on the next version and it's a very big update with lots of optimisations, improvements and the inclusion of the much requested Multi-Player support. Watch This spot..

Thanks everyone for your support.. and keep posting those progress reports.

If You Use and Like This Script Please Rate This Thread.
If You have Used This Script Please Leave Comments.

sk80rdie76

2008-02-09 18:31:43

yea im f2p….and i was getting loads pretty fast, but then a lot of more people came and it started slowing down.


got 94 wc :)

osmm

2008-02-09 21:08:18

Yea I never called it mine. Actually I even have "SRL's EntFinder - 75% modifyed by me" or something like that. Also I found out that my ClicktoContinue thing was lagging it. (I added so when someone levels it will click to continue, instead of clicking on the tree to cut more).

ConneX

2008-02-10 06:12:47

When its click tree its laggy(tilting screen) and i stop script and its logged out!

piepolo

2008-02-10 06:58:18

##################################################################
Simple Yew Cutter & Banker (Edgeville) V1.12s beta
Ran for: 1 Hours, 50 Minutes and 14 Seconds
Loads Banked: 4
Yew Logs Banked: 108
Random Event Items Banked: 4
You Started at Level 66 you are now at Level 67
You earned 18,900xp This session with 52,915xp to the next Level
Script Ended: CutDownTree: 2 Not Logged In. Lost Connection or Unsolveable Random?
##################################################################


/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL 4 Randoms Report |
| www.srl-forums.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| SRL Logs : 1 |
| Fights : 1 |
| Talks : 2 |
| Dwarfs : 1 |
| Old Men : 1 |
| Boxes Solved : 2 |
| Ents Found : 3 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

##################################################################
Simple Yew Cutter & Banker (Edgeville) V1.12s beta
Ran for: 3 Hours, 2 Minutes and 1 Seconds
Loads Banked: 9
Yew Logs Banked: 250
Random Event Items Banked: 2
You Started at Level 67 you are still at Level 67
You earned 47,775xp This session with 940xp to the next Level
Script Ended: Could Not Find Both Yew Symbols (Function: FindBothYews)
##################################################################

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL 4 Randoms Report |
| www.srl-forums.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| SRL Logs : 1 |
| Fights : 5 |
| Talks : 5 |
| Old Men : 3 |
| Sandwiches : 1 |
| Lamps Solved : 2 |
| Boxes Solved : 1 |
| Ents Found : 4 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

realrocker00

2008-02-10 11:47:20

S.M.A.R.T is awesome!!:D

PriSoner

2008-02-10 14:12:49

Get stuffed realrocker00… Go away and stop Spaming the forums with your sig!! :f:

Thanks for the Progress Reports piepolo Awesome..

I'm Beavering away on the next Multi Player Version… Major Improvements all round..

mike3667

2008-02-10 18:07:04

This is epic. With S.M.A.R.T it's 3 times as good. 45 minutes so far 4 loads!
I only had 1 problem. With the random of the guy that turns into a werewolf. the bot wouldn't click "Click to continue."

Current log.
##################################################################
Simple Yew Cutter & Banker (Edgeville) V1.12s beta
Ran for: 44 Minutes and 12 Seconds
Loads Banked: 4
Yew Logs Banked: 107
Random Event Items Banked: 5
You Started at Level 72 you are still at Level 72
You earned 18,725xp This session with 74,468xp to the next Level
##################################################################

There are many randoms that this closes on I think I have had 4 so far.

FreakyMonkey

2008-02-10 20:24:08

worked well but something is making the script lag VERY BADLY for me. idk someone above said it might possibly the "FindFight" portion of ur script. not too sure

ya every time it clicks on the yew it freezes then auto-logs off then gives me this error
[Runtime Error] : Exception: The handle is invalid.
in line 317

PriSoner

2008-02-10 21:25:01

mike3667: That is very fast especially at level 72. The best I can do at level 93 is 1 load every 8 mins and thats when every condition is perfect.

freakymonkey: the Lag is nothing to do with FindFight. I don;t experience it and most people don't but it does appear to affect a significant few? so can i ask:

What speed/cpu is your machine?
What OS is installed? (Vists, XP, 98 etc)
Is SCAR Installed in your "Program Files" directory?
What version were you running V1.12 or V1.12s?

kemico2

2008-02-11 14:34:35

##################################################################
Simple Yew Cutter & Banker (Edgeville) V1.12s beta
Ran for: 45 Minutes and 3 Seconds
Loads Banked: 2
Yew Logs Banked: 56
You Started at Level 70 you are still at Level 70
You earned 9,800xp This session with 18,215xp to the next Level
Script Ended: CutDownTree: 2 Not Logged In. Lost Connection or Unsolveable Random?
####################################################
its very nice, it could of ran longer but i lost my connection.

Crunk_Muffin

2008-02-11 14:49:39

Running very good atm, I'll edit this post im about 2 hours with a proggie, This is a good script. Fast

roger21

2008-02-11 18:09:25

Not working with smart just freezing when it clicks on the tree

my error is:
PROBLEM: inv interface not open


I think i might get banned from this script because i tried to work it like 8 times and every time it gets to the tree and freezes then logs me out olmost right away lol owell

im not going to complain though these scripts are GREAT

dragonlor650

2008-02-11 21:29:36

looks nice ill test out and psot proggy

PriSoner

2008-02-11 21:37:11

Thank you all for your comments and support.

Good to see that this has worked so well for some of you and for those that have struggled with it hopefully the new version will solve all your problems..

Simple Yew Cutter & Banker has outgrown the Simple in it's title and will soon support numerous other location and other tree types including Magic Trees. As a result I have decided to rename it and start a new thread.

Ultra Cut n Bank is Now Out!! Click Here

Please download and try it out and Keep them progress reports coming..

noodlesalan

2008-03-31 10:41:33

I know this is outdated, but the ULTRA cutter isn't working for me. It is giving me 2 errors.

I am using this script, and it logs in, checks my WC, then logs me out.

It says finished script: Could not find axe. I tried it in both my backpack and equipped.

PriSoner

2008-03-31 11:10:40

From: noodlesalan
I know this is outdated, but the ULTRA cutter isn't working for me. It is giving me 2 errors.

I am using this script, and it logs in, checks my WC, then logs me out.

It says finished script: Could not find axe. I tried it in both my backpack and equipped.


This is no longer updated, it is a dead script.

As for ultra cut n bank, what version are you using? also how did you get hold of it as it's only available to SRL Junior members?

The current version of Ultra Cut n Bank is V1.60

PvH

2008-03-31 12:11:02

he is junoir member;)
he has 11 posts and you need 10 to enter
i am a registered user too.. but i am in junior members too
srl bug:(

jackhand723

2008-05-22 08:09:47

wicked script once again….

this is a nice proggie i got

####################################################
Ultra Cut n Bank V1.62
Player Report for: jackhand723
Location: Edgeville
Ran for: 57 Minutes and 6 Seconds
Loads Banked: 5
Yew Logs Banked: 139
Random Event Items Banked: 1
Player jackhand723 Started at Level 76 and is still at Level 76
You earned 22,575 xp This session with 24,146 xp to the next Level
Overall Running Time: 57 Minutes and 2 Seconds
####################################################

i stopped it cause i had to go to bed….
this is the randoms report

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL 4 Randoms Report |
| www.srl-forums.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| SRL Logs : 1 |
| Talks : 2 |
| Ricks : 1 |
| Sandwiches : 1 |
| Ents Found : 2 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/

Sir R. M8gic1an

2008-05-23 01:55:03

please use his new thread from now on:

http://www.villavu.com/forum/showthread.php?t=25761

the last post one this thread was more than a month ago, and that we consider gravedigging. (which is bad :p )

~RM

PvH

2008-05-23 02:00:21

Rasta Magician is right.. don't post here anymore..
and for that person with the proggy:

################################################## ##
Ultra Cut n Bank V1.62
Player Report for: jackhand723
Location: Edgeville
Ran for: 57 Minutes and 6 Seconds
Loads Banked: 5
Yew Logs Banked: 139
Random Event Items Banked: 1
Player dreadys723 Started at Level 76 and is still at Level 76
You earned 22,575 xp This session with 24,146 xp to the next Level
Overall Running Time: 57 Minutes and 2 Seconds
################################################## ##
you better edit your username out:rolleyes:

jackhand723

2008-05-23 07:23:49

it aint my username….i edited my real one out and put my forums one in…

ooops just found it then…thanks for pointing it out

sorry

rs2 cheating roks!

2008-08-04 13:47:21

i get this error when compiling
Line 118: [Error] (15858:36): Type mismatch in script
Help?

klinnks

2008-08-05 15:43:17

From: rs2 cheating roks!
i get this error when compiling
Line 118: [Error] (15858:36): Type mismatch in script
Help?


Outdated.
:|

public3n3my

2008-08-06 00:39:52

This is a few months out of date.

naryasha

2008-12-21 10:03:20

I havn't used or even tried this script yet but I gotta say A for effort. :P