SRL Archive - RS3 Outdated / Broken Scripts

Benny's Teak Pro [Working]


Benny

2012-08-13 17:20:27



Benny’s Teak Pro



~Powercut and drop for up to 80k per hour, with very few people passing by and no randoms!! Fast and efficient to get your woodcutting to what you want!~
BANKING RELEASED TODAY!

*Does not support nest pickup – this is purely an experience gaining script. So please don't request it!*

Requirements and Set Up:
- Level 35 Woodcutting

- Monkey Madness started up to the point where you get to Ape Atoll and have a monkey greegree. Any type is fine, although has not been tested with Gorilla GreeGree.

- Rune or Dragon Hatchet unequipped in the first inventory slot (for best xp) – beneficial for pures that do not have the required level to equip the axe.

- Inferno Adze (92 FM) is supported so if you wish to gain firemaking experience at a quick rate then you’re in luck! (*minor note when using this axe, please take into account that the total number of logs chopped will be off as they won’t have been counted. Although total woodcutting xp will be accurate, if you wish to track FM xp turn on an additional xp bar –> see below*)

- Set up an xp bar to woodcutting to allow perfect tracking of experience gained, additionally if using Inferno Adze set up one to track your firemaking gains (although this will have to be reset every time you start the script if you want to see how much FM xp you get per botting session.)

- To use banking you need to have done Deadliest Catch which allows you access to the bank, unfortunately I'm not sure how perfectly it works so bare with me.

Start next to teak trees:



Ideally this should be your set up and location:


——

Progress Reports:
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's Teak Powerchopper Progress Report
*Time: 2 Hours, 18 Minutes and 49 Seconds
*We have chopped 54 Loads! (23 per Hour)
*We have gained 121890 Woodcutting Experience! (52683 per Hour)
*We have chopped 1458 TeakLogs!(630 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's TeakPowerchopper Progress Report
*Time: 3 Hours, 53 Minutes and 24 Seconds
*We have chopped 91 Loads! (23 per Hour)
*We have gained 206380 Woodcutting Experience! (53053 per Hour)
*We have chopped 2457 TeakLogs!(631 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
With banking:
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's Teak Powerchopper Progress Report
*Time: 22 Minutes and 5 Seconds
*We have chopped 8 Loads! (21 per Hour)
*We have gained 18360 Woodcutting Experience! (49959 per Hour)
*We have chopped 216 TeakLogs!(587 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's Teak Powerchopper Progress Report
*Time: 1 Hours, 16 Minutes and 51 Seconds
*We have chopped 28 Loads! (21 per Hour)
*We have gained 64430 Woodcutting Experience! (50303 per Hour)
*We have chopped 756 TeakLogs!(590 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
With Inferno and new banking:
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's Teak Powerchopper Progress Report
*Time: 15 Minutes and 16 Seconds
*We have chopped 5 Loads! (19 per Hour)
*We have gained 15980 Woodcutting Experience! (62803 per Hour)
*We have chopped 135 TeakLogs!(530 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's Teak Powerchopper Progress Report
*Time: 1 Hours, 40 Minutes and 58 Seconds
*We have chopped 31 Loads! (18 per Hour)
*We have gained 99110 Woodcutting Experience! (58896 per Hour)
*We have chopped 837 TeakLogs!(497 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
——

Version Log:

- Teak Pro v0.1 initial script - uploaded 8/13/2012
- Teak Pro v0.11 housekeeping and Nebula edit - uploaded 8/13/2012
- Teak Pro v1 banking released - uploaded 8/15/2012
- Teak Pro v1.1 banking edited - uploaded 8/15/2012
- Teak Pro v1.2 banking fixed and script cleaned up to increase speed - uploaded 8/18/2012

——

Additionally as a footnote I would like to credit Sirenia for his outstanding help and patience in helping work out the bugs and tweak it to work properly! This wouldn't have happened without his help! Literally saved my life!

—–
Requests: Bonfire Support - if requested enough will look into it.

BGXD

2012-08-13 17:26:45

Nice script !

Congrats man!

Benny

2012-08-13 17:30:51

From: BGXD
Nice script !

Congrats man!


Thank you for your support :) Any proggies would be appreciated and bug too!

Thanks guys

Nebula

2012-08-13 17:32:34

Script will run forever, you repeat until AllPlayersInactive but never call NextPlayer(); and there are no TerminateScript's.

But other than that nice first script.

Benny

2012-08-13 17:35:15

From: Nebula
Script will run forever, you repeat until AllPlayersInactive but never call NextPlayer(); and there are no TerminateScript's.

But other than that nice first script.


Thanks for the feedback, I will try and fix it with my next release which will just see some housekeeping done to it.

blinkblink

2012-08-13 17:43:56

you should add to make it do bonfires :P
Of course optional - don't make it take the random spirits/spheres, that will just be an extra hassle for you.

eska

2012-08-13 17:59:55

I see a deposit chest just over there in that screenshot.

Inb4 tons of leacher ask deposit chest support.

Benny

2012-08-13 18:02:58

From: eska
I see a deposit chest just over there in that screenshot.

Inb4 tons of leacher ask deposit chest support.


Ah yes, they don't realize you need a quest with lots of requirements in it :P

1000th post! Wow!

Sirenia

2012-08-13 18:14:01

Glad to see your first release mate! ^.^

Benny

2012-08-13 18:24:48

From: Sirenia
Glad to see your first release mate! ^.^


Thanks bud :D You're the best :D

duplex

2012-08-13 18:27:50

Looks cool gonna try it out

Benny

2012-08-13 18:53:57

Bot's already seen in place :)

Recursive

2012-08-14 00:50:04

I see a deposit box just a few pixels away and within clicking distance.

if findBox, clickmouse, wait until (isBankScreen), invmouse(), click minimap, cut teak, repeat

Nebula

2012-08-14 01:09:32

From: [Re]cUrSivE
I see a deposit box just a few pixels away and within clicking distance.

if findBox, clickmouse, wait until (isBankScreen), invmouse(), click minimap, cut teak, repeat


Nah it would be more like


If not InvFull then
Exit;
SPS_BlindWalk(To Bank);
{Insert BankFinding Here}
if WaitFunc(@BankScreen, 0, 5000) then
DepositAll;
WaitFunc(InvEmpty, 0, 5000);
SPS_BlindWalk(To Trees)

E: I'd lend you my account if you want to add chest support in the future.

Benny

2012-08-14 02:10:31

From: Nebula
Nah it would be more like


If not InvFull then
Exit;
SPS_BlindWalk(To Bank);
{Insert BankFinding Here}
if WaitFunc(@BankScreen, 0, 5000) then
DepositAll;
WaitFunc(InvEmpty, 0, 5000);
SPS_BlindWalk(To Trees)


Banking might be introduced, there is a quest requirement for it…

wickedjesus

2012-08-14 07:58:43

will give this a try once i start ape atroll

blinkblink

2012-08-14 08:20:03

From: -Benny
Banking might be introduced, there is a quest requirement for it…


here you go required stuff to make it…

to bank
SPS_Setup(RUNESCAPE_SURFACE, ['7_14']);
MyPath2 := [Point(2933, 5902), Point(2911, 5907), Point(2876, 5913)];
if SPS_WalkPath(MyPath2) then

to teaks
SPS_Setup(RUNESCAPE_SURFACE, ['7_14']);
MyPath2 := [Point(2885, 5910), Point(2918, 5910), Point(2937, 5895)];
if SPS_WalkPath(MyPath2) then

if FindObjCustom(x, y, ['eposit', 'sit'], [2970769, 3493239], 15) then
begin
HumanMMouse(x, y, 8, 8);
Wait(101 + Random(275))
ClickMouse2(True);

Sirenia

2012-08-14 08:21:44

From: blinkblink
here you go required stuff to make it…

to bank
SPS_Setup(RUNESCAPE_SURFACE, ['7_14']);
MyPath2 := [Point(2933, 5902), Point(2911, 5907), Point(2876, 5913)];
if SPS_WalkPath(MyPath2) then

to teaks
SPS_Setup(RUNESCAPE_SURFACE, ['7_14']);
MyPath2 := [Point(2885, 5910), Point(2918, 5910), Point(2937, 5895)];
if SPS_WalkPath(MyPath2) then

if FindObjCustom(x, y, ['eposit', 'sit'], [2970769, 3493239], 15) then
begin
HumanMMouse(x, y, 8, 8);
Wait(101 + Random(275))
ClickMouse2(True);
Why would you call SPS_setup 2 times in the same procedure when ur still in the same area?

blinkblink

2012-08-14 08:24:54

From: Sirenia
Why would you call SPS_setup 2 times in the same procedure when ur still in the same area?


its separated coding{each inside different procedures) and it isn't mines, its from the old teak script

largovich

2012-08-14 09:05:46

About your progress report:
How can you get 68840 exp/h when you cut 704 logs/h?

704*85= 59840..

Benny

2012-08-14 10:39:44

From: largovich
About your progress report:
How can you get 68840 exp/h when you cut 704 logs/h?

704*85= 59840..


minor thing was bugged. has been fixed :)

largovich

2012-08-14 10:44:37

How can I get 80k/h? This is at a 99 wc account:

*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's TeakPowerchopper Progress Report
*Time: 2 Hours, 15 Seconds
*We have chopped 56 Loads! (27 per Hour)
*We have gained 122145 Woodcutting Experience! (60945 per Hour)
*We have chopped 1512 TeakLogs!(754 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

eska

2012-08-14 10:52:29

From: largovich
How can I get 80k/h? This is at a 99 wc account:

*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's TeakPowerchopper Progress Report
*Time: 2 Hours, 15 Seconds
*We have chopped 56 Loads! (27 per Hour)
*We have gained 122145 Woodcutting Experience! (60945 per Hour)
*We have chopped 1512 TeakLogs!(754 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Must be with inferno adze. It burns 33% of the logs you chop, and so you spend 33% less time droping logs, and in that 33%, you keep chopping.

Also, if you want to push this further, you could low alch the logs. That way, you almost never have to drop any logs.

Benny

2012-08-14 11:10:05

From: largovich
How can I get 80k/h? This is at a 99 wc account:

*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's TeakPowerchopper Progress Report
*Time: 2 Hours, 15 Seconds
*We have chopped 56 Loads! (27 per Hour)
*We have gained 122145 Woodcutting Experience! (60945 per Hour)
*We have chopped 1512 TeakLogs!(754 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[YOUTUBE]EGTFd-q9x2U[/YOUTUBE]

Just wait until I get the banking supported and you will see massive gains
this might also be an option:
[YOUTUBE]VkOKRNFO6YM[/YOUTUBE]
From: eska
Must be with inferno adze. It burns 33% of the logs you chop, and so you spend 33% less time droping logs, and in that 33%, you keep chopping.

Also, if you want to push this further, you could low alch the logs. That way, you almost never have to drop any logs.


yeah I know, I just wanted to push a random free working wc script though

Sin

2012-08-14 14:11:50

One of my favorite members on SRL is a scripter now!?

Solar

2012-08-14 14:25:58

I didn't know about this as a way of training woodcutting. Looks like you put a lot into it.
How long did you take to write this please?

Benny

2012-08-14 15:26:18

From: Shay
One of my favorite members on SRL is a scripter now!?

Awh too kind :P yeah I wanted to compete with you … haha fail:duh:
From: Fruit
I didn't know about this as a way of training woodcutting. Looks like you put a lot into it.
How long did you take to write this please?


Thanks, (no randoms!)!

about 13 hours. :/ It was very time consuming because I got stuff wrong(alot!) and needed help(Sirenia).

Jos3ph

2012-08-14 16:24:07

Hey I love training with out randoms!! thats what I am talking about!

What do you think the xp will be per hour after you tweak everything?

Benny

2012-08-14 16:27:02

From: Jos3ph
Hey I love training with out randoms!! thats what I am talking about!

What do you think the xp will be per hour after you tweak everything?


What can I say, can only get better my friend ha.

If you looked at the videos on page one it is possible to get up to 100kxp/hr.
When I trained woodcutting legit here I was able to get about 70-85k an hour in the mid 90s.

Jos3ph

2012-08-14 17:38:17

From: -Benny
What can I say, can only get better my friend ha.

If you looked at the videos on page one it is possible to get up to 100kxp/hr.
When I trained woodcutting legit here I was able to get about 70-85k an hour in the mid 90s.


When do you think your script wil be fully finnished? Whats the best set up do you think? Drag axe? any ora?

Benny

2012-08-14 18:03:32

I haven't implemented any Aura support - not sure if that will bugger it up yet.

Fully finished –> no ETA at the moment, I'm sorry.
I'm just glad this is getting some attention :D

illester

2012-08-15 05:13:18

Lookin good. :surprised:

Benny

2012-08-15 05:52:43

Released Banking :D

largovich

2012-08-15 13:08:28

It failed while banking:


*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's Teak Powerchopper Progress Report
*Time: 37 Minutes and 2 Seconds
*We have chopped 14 Loads! (22 per Hour)
*We have gained 34425 Woodcutting Experience! (55748 per Hour)
*We have chopped 378 TeakLogs!(612 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Successfully executed.
The following DTMs were not freed: [2, 3]

Benny

2012-08-15 14:35:51

From: largovich
It failed while banking:


*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's Teak Powerchopper Progress Report
*Time: 37 Minutes and 2 Seconds
*We have chopped 14 Loads! (22 per Hour)
*We have gained 34425 Woodcutting Experience! (55748 per Hour)
*We have chopped 378 TeakLogs!(612 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Successfully executed.
The following DTMs were not freed: [2, 3]


Thank you for this :)
What happened did it just time out or were you able to resume again after banking manually?

largovich

2012-08-16 04:56:18

From: -Benny
Thank you for this :)
What happened did it just time out or were you able to resume again after banking manually?
It stood in front of the bank, the script was executed..

Sirenia

2012-08-16 12:46:26

Scroll up on the last proggy and it should State a reason for exiting

largovich

2012-08-16 13:16:23

From: Sirenia
Scroll up on the last proggy and it should State a reason for exiting
Ye can't do that anymore..

Benny

2012-08-17 19:29:09

From: largovich
Ye can't do that anymore..


Don't worry, I've now fixed all problems and sped up the script :D

If you can try and use Inferno Adze it really helps :)

Update: New banking mechanism ;)

stuartroad

2012-08-17 22:41:10

Hey buddy, nice work on this, i think your xp counter thingy is a bit off? Ran it last night, but the power went out so i dont have a proggy, i will post one after soccer, I did notice that the script doesn't terminate or logout if it fails something? or perhaps i lagged and it didnt log me back in, it was at the lobby area when i came back to check on it.

thanks again.

Sirenia

2012-08-18 05:12:31

The script will die if it cannot find the bank while trying to bank or after failing to find the trees 10 times in a row, wich you cannot do if youre not logged in etc but ur right a line like
"if not LoggedIn then TerminateScript;" could be added as a extra saftey ;)

bweibking

2012-08-24 17:49:05

it fails after second time banking

Jos3ph

2012-08-24 18:34:27

Hows the mahg script coming along?

Benny

2012-08-25 16:55:47

From: bweibking
it fails after second time banking


Will have a play with it later.

From: Jos3ph
Hows the mahg script coming along?


In process don't worry, gathering data as we speak

Im New Sry

2012-08-27 13:27:15

Hey, I have a goal of 99 woodcutting from 80 and I checked your script. It ran for 3 inventories, then came up with an error

AutoColor = 1247564
learn to script noob!

I'm not sure about the color but I remember it was something like that, and my player kept running back and forth between trees and bank. You should check out the deposit box detection :P.

Oh and by the way, why don't you want to add nest support? :P

Benny

2012-08-28 02:17:07

From: Im New Sry
Hey, I have a goal of 99 woodcutting from 80 and I checked your script. It ran for 3 inventories, then came up with an error

AutoColor = 1247564
learn to script noob!

I'm not sure about the color but I remember it was something like that, and my player kept running back and forth between trees and bank. You should check out the deposit box detection :P.

Oh and by the way, why don't you want to add nest support? :P


Thank you for such a useful report. I will try and fix it up I'm sorry it's bugged out

Im New Sry

2012-08-28 06:04:21

From: -Benny
Thank you for such a useful report. I will try and fix it up I'm sorry it's bugged out


Don't be sorry mate :P at least you make scripts, I'm thankful that you created this one and will be fixing it :D

Valeyard

2012-08-29 14:10:41

This looks fantastic, I was planning on doing Ivy but this is much better. Still have a couple more skills to do right now but will be using this soon. Thanks!

Benny

2012-08-29 15:32:40

From: Im New Sry
Don't be sorry mate :P at least you make scripts, I'm thankful that you created this one and will be fixing it :D

Thanks for understanding :D
From: Valeyard
This looks fantastic, I was planning on doing Ivy but this is much better. Still have a couple more skills to do right now but will be using this soon. Thanks!


Good luck and thanks for your support :D

lolskilla

2012-08-30 13:46:12

looks great benny can't wait to test out this weekend. just a suggestion, but could this be combined with an fm script so you can power wc, burn logs in bonfire, repeat?

Valeyard

2012-08-31 16:56:44

From: lolskilla
looks great benny can't wait to test out this weekend. just a suggestion, but could this be combined with an fm script so you can power wc, burn logs in bonfire, repeat?


I think he said he would add that if there was enough support for it. I would be happy with just the banking being flawless. I should start using it in a couple of weeks when school starts I think.

bweibking

2012-09-05 04:37:26

love the script needs a little more work to b flawless still gets stuck some times

Benny

2012-09-05 16:28:51

okies will have a look asap but busy at school!

bweibking

2012-09-06 21:03:36

right on thanks =)

Andres

2012-09-07 13:57:44

Good script Benny. I didn't run it for long, but I noticed a couple things. It got stuck a couple of times after chopping the tree that is furthest east. Also, the detection for when it's done chopping can be pretty slow at times. I noticed it taking 30+ seconds occasionally to start chopping another tree.

Overall, a very fine script.

Valeyard

2012-09-08 17:46:39

Finally got round to trying the script. It sometimes runs to the bank with a full inventory, stands there, runs back to the tree and then finally back to the bank chest and uses it properly.

Sometimes it also fails to make its way back to the trees and just clicks North of the dungeon, I think this might be to do with the camera angle though and might be my own fault so I will keep looking

It also seems to sometimes actually OPEN up the Woodcutting skillguide and then it gets stuck

print

2012-09-08 18:11:47

tooo bad i have 99 wc albrady or i would of used this script

Roflme

2012-09-15 22:00:50

Love this script :p

*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's Teak Powerchopper Progress Report
*Time: 37 Minutes and 52 Seconds
*We have chopped 16 Loads! (25 per Hour)
*We have gained 34085 Woodcutting Experience! (54007 per Hour)
*We have chopped 432 TeakLogs!(684 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A little under what I would get at Ivys, but I'm not having luck with ivy scripts here + this doesn't have randoms :D


EDIT: Now it's constantly clicking on the teaks :(

Benny

2012-09-16 20:46:10

From: Roflme
Love this script :p

*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*Benny's Teak Powerchopper Progress Report
*Time: 37 Minutes and 52 Seconds
*We have chopped 16 Loads! (25 per Hour)
*We have gained 34085 Woodcutting Experience! (54007 per Hour)
*We have chopped 432 TeakLogs!(684 per Hour)
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

A little under what I would get at Ivys, but I'm not having luck with ivy scripts here + this doesn't have randoms :D


EDIT: Now it's constantly clicking on the teaks :(

Ok so far it was working well thanks for the prog, ill have a look at it when I get back from America. It could just be a wait time error.

Jake

2012-09-16 21:29:32

Boss script :)
Late gratz on the release :P

Benny

2012-09-17 07:26:59

From: Jakee
Boss script :)
Late gratz on the release :P


Thanks dude :D

Im New Sry

2012-09-20 06:34:51

From: -Benny
Ok so far it was working well thanks for the prog, ill have a look at it when I get back from America. It could just be a wait time error.


You're in America… Oh you… :/

Tube Disaster

2012-11-10 22:42:47

This is pretty neat. Occasionally misclicks the chest, otherwise works great.

Benny

2012-11-11 17:51:04

From: Tube Disaster
This is pretty neat. Occasionally misclicks the chest, otherwise works great.


Thanks man!

I'm glad to see its working well!

digitalninja

2013-02-03 14:42:18

Hey Benny … I was wondering if you could help me understand what this does? I dont really understand what it all means and anytime I play around with it it ends up chopping jungle trees no matter what I color I add to the 'FindColorsSpiralTolerance(MSCX, MSCY, arP, 7712978, MSX1, MSY1, MSX2, MSY2, 25);' line??


function MahoganyColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.36, 0.12);

FindColorsSpiralTolerance(MSCX, MSCY, arP, 7712978, MSX1, MSY1, MSX2, MSY2, 25);
if (Length(arP) = 0) then
begin
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 8.53) and (X <= 27.47) and (Y >= 8.83) and (Y <= 28.26) and (Z >= 8.26) and (Z <= 26.57) then
begin
Result := arC[i];
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
end;

Thanks!!

Benny

2013-02-07 16:23:45

From: digitalninja
Hey Benny … I was wondering if you could help me understand what this does? I dont really understand what it all means and anytime I play around with it it ends up chopping jungle trees no matter what I color I add to the 'FindColorsSpiralTolerance(MSCX, MSCY, arP, 7712978, MSX1, MSY1, MSX2, MSY2, 25);' line??


function MahoganyColor: Integer;
var
arP: TPointArray;
arC: TIntegerArray;
tmpCTS, i, arL: Integer;
X, Y, Z: Extended;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.36, 0.12);

FindColorsSpiralTolerance(MSCX, MSCY, arP, 7712978, MSX1, MSY1, MSX2, MSY2, 25);
if (Length(arP) = 0) then
begin
ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
Exit;
end;

arC := GetColors(arP);
ClearSameIntegers(arC);
arL := High(arC);

for i := 0 to arL do
begin
ColorToXYZ(arC[i], X, Y, Z);

if (X >= 8.53) and (X <= 27.47) and (Y >= 8.83) and (Y <= 28.26) and (Z >= 8.26) and (Z <= 26.57) then
begin
Result := arC[i];
Break;
end;
end;

ColorToleranceSpeed(tmpCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
end;

Thanks!!

Hey mate sorry for the slow reply.

That's an Aca function made in the Aca program. I can't really explain that well as I am on my iPhone but basically it grabs the colors and gives you the best color to click on the tree.

Search the forum for auto color aid or Aca and it will explain!

digitalninja

2013-07-17 11:58:34

Hey Benny … for some reason I cant get this to complete a cycle … i start at teaks and it does a great job finding and cutting but when it tries to bank it just runs south and mis-clicks the water a bunch of times before terminating.

JDBORED

2013-07-21 17:49:32

From: digitalninja
Hey Benny … for some reason I cant get this to complete a cycle … i start at teaks and it does a great job finding and cutting but when it tries to bank it just runs south and mis-clicks the water a bunch of times before terminating.


I have the same problem as above - it's not managed to bank once so far, i'm using Adze and small ninja greegree if that could make a difference at all