SRL Archive - RS3 Outdated / Broken Scripts

Burt's Tree Muncher (First Script)


Burt

2007-07-28 10:35:16

Hello, This is my first script, Im learning. Its a power chopper for Trees Oaks Willows and Yews. It has anti ban and anti randoms. Please post proggys and bugs.


~Burt

Proggies :)

^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>
^ Burts Tree Muncher
^ Version: 1.7
^ Log Type Oak.
^ Logs cut 700.
^ Loads done 25.
^ Worked For 2 Hours, 4 Minutes and 59 Seconds
^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>

^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
^ Burts Tree Muncher
^ Version: 1.2
^ Logs cut 162.
^ Loads done 6.
^ Worked For 21 Minutes and 29 Seconds
^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
^ Burts Tree Muncher
^ Version: 1.2
^ Logs cut 162.
^ Loads done 6.
^ Worked For 21 Minutes and 29 Seconds
^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Buckleyindahouse

2007-07-28 10:46:43

I don't see anything.

Burt

2007-07-28 12:05:26

I changed a tiny thing its up again

Nitro

2007-07-28 13:07:01

Hey Burt :)

This script looks good, it has AntiBan and has AntiRandom support. Here is a progress report I just got from your script =]

^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
^ Burts Tree Muncher
^ Version: 1.0
^ Logs cut 27.
^ Loads done 1.
^ Worked For 1 Minutes and 3 Seconds
^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Burt

2007-07-28 13:20:51

Yea i fixed all the others errors and going to use the mouse function you specified. Thanks a bunch for your feed back! Also can you take off you attachment i got it coverd :P

Nitro

2007-07-28 13:33:31

I just found a bug =] I got a dwarf and it did not solve it. It might be cause you are missing FindRandoms; in a place where it is needed. I am not sure.

-Nitro

Burt

2007-07-28 13:43:40

Hmmm illl look into that it seems it doesnt to randoms when it requires you to talk to some one. can you help me?


EDIT fixed the drop problem

Nitro

2007-07-28 13:49:13

I sure can :)

I think you have to add to your randoms something like

if FindTalk then
DoBlah;
//Whatever comes next

-Nitro

Burt

2007-07-28 13:54:29

oooooh I found out why it doesnt talk to the randoms editing as Version 1.2


Edit: I dont thinks it that Nitro its this

  NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars)

I forgot the ; on it so it should be this

  NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);

It should work now

Nitro

2007-07-28 14:06:37

Yeah that is it, good job on finding it :) I wouldn't of been able to spot that hehe.

-Nitro

Burt

2007-07-28 14:12:46

Make sure you get 1.2 i just added it

Can you remove your post with all the things I should fix, I fixed em. I dont like scrolling down a lot :P

n3ss3s

2007-07-28 14:26:57

3 posters in a one page long thread? lol :D
Thats scary nitro!
Jk, good job with helping, would deserve rep++ if rep wouldnt be disabled.

Your talking in a bit weird way :D Not weird, different :)

EDIT: Oh and about your main loop, to save space use cases instead of huge list of if()then
. like

case TreeType of
'Oak': begin
//////////////////////// code here///////////////
end;
'Willow':....
end; // the case needs an end too.

Nitro

2007-07-28 14:31:23

Another progress report =]

^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
^ Burts Tree Muncher
^ Version: 1.0
^ Logs cut 84.
^ Loads done 3.
^ Worked For 7 Minutes and 12 Seconds
^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I think your next goal should be standardising your script,

How you standardise:

* 2 spaces to the code after a begin
* 2 spaces to the code after a repeat
* 2 spaces back for an end
* 2 spaces back for an until
* 2 spaces after a case
* 2 spaces after a then without a begin after it standardisation here,

Taken from JAD's Learning the things it takes to become an SRL member! tutorial


Also another way of making it look neat:

Not Neat:

wclvl;

Neat:

WcLvl;

Basically you put a capital on every first letter of anything not in bold.

-Nitro

EDIT:
About my talking in weird ways… I know :p when I'm helping I like having a formal way of speaking and whenever I'm commenting I like to have an informal way, however sometimes they mix and it looks a bit different, but hey, I do try =]

Also, it makes me feel happy to help people, that's why I will spend ages with someone helping them until they are comfortable with what everything means.

P.S Sorry for the long post again lol.

Burt

2007-07-28 14:56:24

Lol… Yea I read that from JAD I will do that soon

Burt

2007-07-28 17:53:25

Nirtro Im not sure on how to do this but how can I termeniate the script if the axe head is broken?

Nitro

2007-07-28 18:07:24

From: Burt
Nirtro Im not sure on how to do this but how can I termeniate the script if the axe head is broken?


In Wood Cutting now axe heads don't break :D

-Nitro

Macrosoft

2007-07-28 18:08:37

From: Burt
Nirtro Im not sure on how to do this but how can I termeniate the script if the axe head is broken?


Well Im not nitro, but I can help

try making a bitmap of a broken axe, then do something like this

If findbitmap(brokenaxe, x, y);
then
logout;
exit;
else
end;

I working on a wcer to, but its a draynor wcer and banker that cuts the best kind of logs you can and banks them

BTW I might plus rep you, good first script!

??axes still break…

Burt

2007-07-28 18:19:20

Doing what u said ATM

EDIT: but wouldn't i have to make bitmaps of all the axe heads because not every person uses a rune axe..

Macrosoft

2007-07-28 19:50:39

Nope, just set the tolerance higher

I dk how to do this with bitmaps, but its easy with a dmt

the tolerance will allow the colors to be a little different. Really high tolerance, and the color will barely matter, just the shape.

Burt

2007-07-28 21:51:17

Finished DTM n stuff testing now.

Burt

2007-07-28 22:41:38

Can some one help me with my DTMs i made one but iam not sure how to do it the right way because it didnt work. this is my only first day of learning scar…

Nitro

2007-07-29 02:08:21

RuneScape made an update so It will not fall off any more and any broken ones are now fixed, however mining picks still do :)

http://news.runescape.com/newsitem.ws?id=868

Go down to where it says 'New Random Event'

(Last paragraph)

This means, it will be easier for you in the long run.

@Macrosoft, Anyone can help ;) I just decided to help him because he had made an effort, but no one had posted anything, so I went to test it out, but there quite a few errors. I felt that just fixing and posting wouldn't let Burt know how I fixed them and be able to learn from it, So I wrote down every error and showed how to fix it so he could understand better.

-Nitro

Burt

2007-07-29 09:52:15

I know but iam talking about when the axe gets broken i want the script ot terminate not keep on going

Burt

2007-07-29 13:04:54

Version 1.3 ADDED :)

Burt

2007-07-29 13:47:42

1.4 released i think this script is better than ever!

Burt

2007-07-29 17:43:56

1.5 realesd with more failsafes and anti bans.

Burt

2007-07-30 11:20:05

Added version 1.7 Its perfect. I dont think i need to update any further without some one posting bugs :)

Burt

2007-07-30 11:38:22

One tiny fix i made added version 1.7.1

Rencuz

2007-07-30 12:55:16

6 posts straight? You can add procedure what checks axe's uptext if script finds uptext broken then your axe is broken

Burt

2007-07-30 13:17:20

lol sorry just had to inform of updates. But it still works right?

kissdemon

2007-07-30 13:25:44

I tried running the script. It log me in, finds the right tree, cuts one time, the stops running saying my axe is broken. My axe is not broken and according to earlier posts can't break anymore. Is there a way to disable the axe check?

Burt

2007-07-30 13:28:29

hmm download version 1.6 iam fixing it atm

kissdemon

2007-07-30 13:43:53

Removed all references to axe check and seems to be working fine. Got random event box and script stopped, so I think it needs randoms added in.

Burt

2007-07-30 13:54:34

randoms are added in you either have to get the new box.scar from winterdream or need to write in your nickname i added the neew version 1.7.1 and is now hopefully fixed :)

kissdemon

2007-07-30 15:01:01

I'm running DIVI and downloaded all the updates (through DIVI) this is my first time running on DIVI though so I might need something else. But it doesn't work for any randoms for me. It didn't do anything with the box, it didn't talk to Rick Turpintine, and it didn't do anything with the camo guy either.

Is there setting where maybe I turned randoms off? I left the auto-talker off which is how it was set when I downloaded it. Could this be effecting the randoms?

Been using the script for about 2 hours now though and it is working with a little babysitting.

Suggestion though. Instead of stopping the script if no tree is found you might want to make it wait for a few seconds and look again. I had to make a change because it kept stopping because I had chopped down all the nearby trees and they hadn't come back yet.

Please don't think me ungrateful though. I very much appreciate your script. I am still trying to find the time to write my own so anybody that posts a script on here has my gratitude. Thanks

Burt

2007-07-30 17:14:38

Thank you for your feedback. The reason why you arent catching the randoms is because you might of set your nick wrong. It most be 2-3 letters of your name that arent capital. also i fixed it and made it wait before it checks tree it will be V1.8. Also, please do post your proggys and bugs. (iam only 12)

~Burt

kissdemon

2007-07-30 17:59:44

Well the randoms don't have to do with the "nick" I do have that set. 3 letters not caps. It did the drunken dwarf random fine. But the others it hasn't worked on. Oh yeah it did do very good on ent detection too. So far with running 5 characters over the past several hours I've managed to complete about 12 loads each. Everything seems to be good except for the randoms.

Very good effort, see if you can get any feedback from anyone else on the randoms, I would love to know if it's just me.

Burt

2007-07-30 19:06:26

Ahem Proggy? thats your part :) also nicks do matter because it makes bitmapmask of hte letters you put in and if it sees it on screen then it reacts to the random thats saying your name.

kissdemon

2007-07-30 19:12:37

I wasn't trying to say that they don't matter I meant that they are set correctly. I tried switching from 3 letters down to 2 but it still doesn't catch the randoms. Can't give an official progress report because I am always forced to stop the script in order to deal with the randoms. The most I have ever got is 3 loads in 12 min as a succesful completion.

Burt

2007-07-30 19:36:21

wow i usally get 1k logs each time

phantomking8

2007-07-30 20:09:30

I tried this, it doesnt solve the box, and it didnt solve rick either so.. idk what to tell ya. Other then that excellent script :)

kissdemon

2007-07-30 20:16:46

Well according to Burt there is a new special srl for the box. I just did the standard DIVI update process so if it's not included there that might be the reason for the box. Rick though I don't know what the deal is. The other randoms I got were more obscure so I don't expect them to work. Like the Camo guy and the one where you have to run and hit the blinking lights.

Best run with out being stopped by a random did 3 characters and twelve loads. Had to stop the script during the 3rd character for a random.

Is there a hot key to pause the script instead of stop it?

Burt

2007-07-30 22:07:36

crtl+alt+S it sohuld solve andoms if you enter nick right and dstart logged out

hbryan1991

2007-07-30 22:40:28

burt that hot key is to stop the scrip to pause it press ctrl+alt+a

kissdemon

2007-07-31 11:54:52

I'll try the script again later today and see if I can give a full progress report with the script completing. If I do ctrl + alt + a to pause the script for randoms and then resume it it should work.

Either way in a matter of about 4 to 5 hours I got 5 characters up from level levels between 5 & 7 to level 30. So I still say they script is pretty good just need the randoms to work. I could edit in a different scripts randoms I guess but this script has pretty much served it's purpose for me now I'll be trying out a script with a banker feature. I will test this some more today though to let you know it's progress.

kissdemon

2007-07-31 18:25:37

OK here's my official progress report.

^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
^ Burts Tree Muncher
^ Version: 1.7
^ Log Type Oak.
^ Logs cut 700.
^ Loads done 25.
^ Worked For 2 Hours, 4 Minutes and 59 Seconds
^>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Randoms:

Security Guy - Talked to and passed
Drunken Dwarf - Talked to and passed
Wise Old Man - Did nothing, failed
Rick Turpintine - Did nothing, failed
Sandwich Lady - Did nothing, failed
Giles - Talked to and logged out (no trees near by) screen was covered with question
Camo Guy - Did nothing, failed

Ent Detection - 75% stopped for 3 out of 4

Summary not a bad script as long as you are babysitting it for randoms.

Thanks for your work Burt.

Zabron

2007-08-03 20:01:12

i think theres a bug.. hmm i hope u can help me with this or fix this.. hmm ok when i turn script on.. the mouse just moves around the tree.. it doesnt really click anything.. like the mouse just moves top of the tree it doesnt click.. i dont know it doesnt click

Zabron

2007-08-03 20:03:23

oh sorry nvm i didnt change the tree type!! Sorry for the last post just ignore it!

storgas11

2007-08-08 17:32:56

its not workin for me…

i press start(green arrow) an all it dose is look at my stats and turn my camera… then it gives me resaults…
0 logs
0 trips 0 nothing! why dont it work???

Binney911

2007-08-14 16:22:03

Nice looking script, but i have a problem when i start the script it says its working but my character just sits there and does nothing. Please help me because i havent had one script work for me yet and it really sucks.

rs2player

2007-08-22 09:58:04

burt can u update the script plz because it was a good script but now im getting this error and a need a working auto woodcutter they are all outdated i think

Failed when compiling
Line 28: [Error] (12480:12): Unknown identifier 'BOOLEAN1' in script C:\DOCUME~1\HOMEUS~1\LOCALS~1\Temp\Tree Muncher V1.8.scar

zion333333

2007-08-27 18:33:32

what does out of range mean?

funnystory

2007-08-29 14:05:17

this aint working for me the guy just stands there

musicguy

2007-08-29 15:31:45

erm [Runtime Error] : Out Of Range in line 30 in script C:\DOCUME~1\Josh\LOCALS~1\Temp\Tree Muncher V1.8.scar

well now i got it running, it logged me in then wouldnt cut trees