PDA

View Full Version : Pro Chopper



Cazax
01-05-2009, 03:11 PM
Pro Chopper
Script Status: WORKING
Current Version: 1.3

This is my latest creation, it uses reflection and SMART. It can chop different trees, in different locations(coming soon). A short summary of its features:

Does not click the same tree again and again, it knows if you are chopping or not.
Nice ent detection
A lot of failsafes
Can Bank or Drop the logs


It can only chop in the following locations, I'll add more locations soon:

Draynor Village(Trees, Oaks, Willows and Port Sarim Willows)
Varrock East(Trees, Oaks and Yews with tree changer)


All the instructions are in the script. Even if you are powercutting or banking, start in the bank. Remember to have the latest SCAR, SRL & Refletion. Enjoy :)

Remember to post bugs, proggies and suggestions :)

XxsomethingxX
01-05-2009, 06:10 PM
Testing.

Will post proggy when/if it fails.

NCDS
01-05-2009, 06:15 PM
================PRO CHOPPER================
|Ran for: 6 Minutes and 3 Seconds |

###########################################
|Player: 0 - lood |
|Logs Chopped: 28 |
|Loads: 0 |
|Current WC Lvl: 51 |
|WC Levels: 1 |
|Active: True |
|Chopping at: p willow |
###########################################

===============HAPPY AUTOING================
Failed while walking to: p willow bank
NextPlayer(Active: False);

never made it to bank. It stopped by the "Toy Stall"

tls
01-05-2009, 07:23 PM
downloaded and testing... will post proggy.

XxsomethingxX
01-05-2009, 07:46 PM
================PRO CHOPPER================
|Ran for: 1 Hours, 34 Minutes and 48 Seconds |

###########################################
|Player: 0 - orra |
|Logs Chopped: 224 |
|Loads: 7 |
|Current WC Lvl: 72 |
|WC Levels: 0 |
|Active: True |
|Chopping at: willow |
###########################################

===============HAPPY AUTOING================

Sleeping mode activated
Sleeping For: 6 minutes


Decided to grab it while it was sleeping. Good script so far. :)

Edit: After it solved a Genie SCAR crashed. I don't know what happened I didn't get a chance to see what caused it.

tls
01-05-2009, 08:06 PM
ok... found a problem... when it goes to switch players, it logs the next one in... sits for a while then logs out and logs the next one in... and it loops... you need to fixed your sleep stuff..

here is the proggy


================PRO CHOPPER================
|Ran for: 17 Minutes and 1 Seconds |

###########################################
|Player: 0 - ingd |
|Logs Chopped: 112 |
|Loads: 3 |
|Current WC Lvl: 46 |
|WC Levels: 1 |
|Active: True |
|Chopping at: p willow |
###########################################

###########################################
|Player: 1 - edaw |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: 0 |
|Active: True |
|Chopping at: |
###########################################

###########################################
|Player: 2 - ear |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: 0 |
|Active: True |
|Chopping at: |
###########################################

###########################################
|Player: 3 - orma |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: 0 |
|Active: True |
|Chopping at: |
###########################################

###########################################
|Player: 4 - iest |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: 0 |
|Active: True |
|Chopping at: |
###########################################

###########################################
|Player: 5 - icks |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: 0 |
|Active: True |
|Chopping at: |
###########################################

===============HAPPY AUTOING================


here is what is after the proggy(with names starred out)


Changing players
NextPlayer(Active: True);
***
Creating the NickTPA.
Changing players
NextPlayer(Active: True);
***
Creating the NickTPA.
Changing players
NextPlayer(Active: True);
***
Creating the NickTPA.
Changing players
NextPlayer(Active: True);
******
Creating the NickTPA.
Changing players
NextPlayer(Active: True);
***
Creating the NickTPA.
Changing players
NextPlayer(Active: True);
***
Successfully executed


its just kept looping until i stopped it.

XxsomethingxX
01-05-2009, 10:14 PM
It didn't solve the plant for me, it got poisoned and ran away(thankfully) but then couldn't find the trees after that.

Cazax
01-05-2009, 11:30 PM
Wow, a lot of proggies guys. Keep on mind that i'll fix all the bugs you mentioned, now i will respond to each one:

@NCDS: Were you powerchopping?
@xxsomethingxx: Nice proggy :) about the genie thing, I don't know what could do that. maybe SRL was the problem?
@mormonman: I'll look into that, thanks.

Thanks to everyone :)

Scaper
01-05-2009, 11:51 PM
woo hoo cazax back on the scene realsing scri[ts again welcome back bro

Cazax
01-06-2009, 12:14 AM
Updated to version 1.2

Fixed the looping while chaning players!
Removed some useless code in the main loop



woo hoo cazax back on the scene realsing scri[ts again welcome back bro
Hey thanks :)

tls
01-06-2009, 12:16 AM
woot, thanks for quick update. testing!

edit: jw but how did you get the script id 1134... its hell backwords!

XxsomethingxX
01-06-2009, 12:31 AM
GTL: Drill Demon
Star
1: Jog mat
2: Sit-up mat
3: Push-up mat
4: Star Jump mat
Jog
Sit
Push
Jog
We've been in the demon random for 2 minutes. It failed.
NextPlayer(Active: False);

Says it failed but I logged in and got 500gp for the reward. I don't know what happened but it said it failed when it actually didn't.

Cazax
01-06-2009, 12:33 AM
GTL: Drill Demon
Star
1: Jog mat
2: Sit-up mat
3: Push-up mat
4: Star Jump mat
Jog
Sit
Push
Jog
We've been in the demon random for 2 minutes. It failed.
NextPlayer(Active: False);

Says it failed but I logged in and got 500gp for the reward. I don't know what happened but it said it failed when it actually didn't.
it's SRL fault, not the script.

tls
01-06-2009, 01:15 AM
i don't think you completely fixed the multiplayer loop... now it just logs in each one and walks to the trees, then logs out and nextplayer does the same thing.



================PRO CHOPPER================
|Ran for: 27 Minutes and 18 Seconds |

###########################################
|Player: 0 - ingd |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -46 |
|Active: False |
|Chopping at: p willow |
###########################################

###########################################
|Player: 1 - edaw |
|Logs Chopped: 28 |
|Loads: 1 |
|Current WC Lvl: 40 |
|WC Levels: 0 |
|Active: False |
|Chopping at: willow |
###########################################

###########################################
|Player: 2 - ear |
|Logs Chopped: 28 |
|Loads: 0 |
|Current WC Lvl: 40 |
|WC Levels: -3 |
|Active: True |
|Chopping at: willow |
###########################################

###########################################
|Player: 3 - orma |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -64 |
|Active: False |
|Chopping at: p willow |
###########################################

###########################################
|Player: 4 - iest |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -63 |
|Active: True |
|Chopping at: willow |
###########################################

###########################################
|Player: 5 - icks |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -64 |
|Active: True |
|Chopping at: willow |
###########################################

===============HAPPY AUTOING================

Cazax
01-06-2009, 01:24 AM
Oh, thanks I found the problem. It was supposed to sleep every X minutes, but I was making it to sleep if the TimeRunning was higher than the sleep time. Updated to V1.2.1

tls
01-06-2009, 01:30 AM
just a suggestion but you should add a location finder, and use it in the setupplayer procedure... just in case the character is already at the trees.


edit:
ran it again... one character idle logged and then was set false because it was logged out and couldn't find any trees...

Edit2: same thing for second character...

edit3:


================PRO CHOPPER================
|Ran for: 48 Minutes and 17 Seconds |

###########################################
|Player: 0 - ingd |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -46 |
|Active: False |
|Chopping at: p willow |
###########################################

###########################################
|Player: 1 - edaw |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -40 |
|Active: False |
|Chopping at: willow |
###########################################

###########################################
|Player: 2 - ear |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -43 |
|Active: False |
|Chopping at: willow |
###########################################

###########################################
|Player: 3 - orma |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -64 |
|Active: False |
|Chopping at: p willow |
###########################################

###########################################
|Player: 4 - iest |
|Logs Chopped: 140 |
|Loads: 4 |
|Current WC Lvl: 63 |
|WC Levels: 0 |
|Active: True |
|Chopping at: willow |
###########################################

###########################################
|Player: 5 - icks |
|Logs Chopped: 28 |
|Loads: 1 |
|Current WC Lvl: 64 |
|WC Levels: 0 |
|Active: False |
|Chopping at: willow |
###########################################

===============HAPPY AUTOING================

this is the end of that run... they all eventually logged because of idle and became false because it couldn't find the tree.

Cazax
01-06-2009, 04:33 PM
Updated to V1.3

Fixed the 'could not find tree' when idle
Added New Location: Varrock East(Trees, Oaks and Yews). Now it can chop yews with tree changing.
Fixed powerchopping bug

Remember to have the latest SCAR, SRL & Reflection.

tls
01-06-2009, 07:07 PM
it still idle logged out and then did the 'could not find tree'...
it did it after one load had banked and had a full inv again...



###########################################
|Player: 0 - ingd |
|Logs Chopped: 28 |
|Loads: 1 |
|Current WC Lvl: 46 |
|WC Levels: 0 |
|Active: False |
|Chopping at: willow |
###########################################



here is the full report after the same thing happened to the second character...


================PRO CHOPPER================
|Ran for: 21 Minutes and 45 Seconds |

###########################################
|Player: 0 - ingd |
|Logs Chopped: 28 |
|Loads: 1 |
|Current WC Lvl: 46 |
|WC Levels: 0 |
|Active: False |
|Chopping at: willow |
###########################################

###########################################
|Player: 1 - edaw |
|Logs Chopped: 28 |
|Loads: 0 |
|Current WC Lvl: 41 |
|WC Levels: 0 |
|Active: True |
|Chopping at: willow |
###########################################

###########################################
|Player: 2 - ear |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -43 |
|Active: False |
|Chopping at: willow |
###########################################

###########################################
|Player: 3 - orma |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -64 |
|Active: True |
|Chopping at: willow |
###########################################

###########################################
|Player: 4 - iest |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: 0 |
|Active: True |
|Chopping at: |
###########################################

###########################################
|Player: 5 - icks |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: 0 |
|Active: True |
|Chopping at: |
###########################################

===============HAPPY AUTOING================

Could not find tree, try number 1
Could not find tree, try number 2
Could not find tree, try number 3
Could not find tree, try number 4
Could not find tree, try number 5
Could not find tree, try number 6
Could not find tree, try number 7
Could not find any tree...
NextPlayer(Active: False);

Cazax
01-07-2009, 12:19 AM
it still idle logged out and then did the 'could not find tree'...
it did it after one load had banked and had a full inv again...



###########################################
|Player: 0 - ingd |
|Logs Chopped: 28 |
|Loads: 1 |
|Current WC Lvl: 46 |
|WC Levels: 0 |
|Active: False |
|Chopping at: willow |
###########################################



here is the full report after the same thing happened to the second character...


================PRO CHOPPER================
|Ran for: 21 Minutes and 45 Seconds |

###########################################
|Player: 0 - ingd |
|Logs Chopped: 28 |
|Loads: 1 |
|Current WC Lvl: 46 |
|WC Levels: 0 |
|Active: False |
|Chopping at: willow |
###########################################

###########################################
|Player: 1 - edaw |
|Logs Chopped: 28 |
|Loads: 0 |
|Current WC Lvl: 41 |
|WC Levels: 0 |
|Active: True |
|Chopping at: willow |
###########################################

###########################################
|Player: 2 - ear |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -43 |
|Active: False |
|Chopping at: willow |
###########################################

###########################################
|Player: 3 - orma |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: -64 |
|Active: True |
|Chopping at: willow |
###########################################

###########################################
|Player: 4 - iest |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: 0 |
|Active: True |
|Chopping at: |
###########################################

###########################################
|Player: 5 - icks |
|Logs Chopped: 0 |
|Loads: 0 |
|Current WC Lvl: 0 |
|WC Levels: 0 |
|Active: True |
|Chopping at: |
###########################################

===============HAPPY AUTOING================

Could not find tree, try number 1
Could not find tree, try number 2
Could not find tree, try number 3
Could not find tree, try number 4
Could not find tree, try number 5
Could not find tree, try number 6
Could not find tree, try number 7
Could not find any tree...
NextPlayer(Active: False);


Was it lagging and the it logged out due to idle?

tls
01-07-2009, 03:37 AM
no, there was no lag, it just didn't do anything and nothing was going in the debug box either. then as soon as it logged out it tried to find the trees, so maybe its in the tree finding. like it might find them but not do anything, so when it logs out it is still trying to find trees and doesn't, then the next player is false... also you need to have it restart the sleep timer when a player logs out or goes false, because one of the guys logged in then it said "Changing Players".. im just trying to help :P

trentuno30
01-20-2009, 11:38 AM
hmmmm ill try this hopefully it cuts and banks yews well :)

rep+++ if it rune 5 hours straight

hylander
01-20-2009, 08:06 PM
this works good but the only thing i had was when i lagged out it was still looking for trees i think you should make it were it could logg back in if lagged out

Cazax
01-20-2009, 08:14 PM
Updated, redownload.
- Checks if you are logged in before searching a tree
- removed the lag(i think).

fre
01-24-2009, 01:25 PM
Creating the NickTPA.
Failed while walking to: yew
NextPlayer(Active: False);

So when i start at bank it s okay the script can walk me to the yew.
But when i start somewhere on the path i log out....

How does this come?

Gold
01-25-2009, 01:42 AM
How does this come?

Haha, But I have the same error in Draynor

Creating the NickTPA.
Failed while walking to: willow
NextPlayer(Active: False);

What's wrong there?

gamer0n1
01-26-2009, 12:29 AM
it takes me to the trees just fine but it won't click on any of the trees. it just stands there

Cazax
01-26-2009, 12:31 AM
Both of you guys try updating your reflection(that might be the problem). If you still have issues tell me.

gamer0n1
01-26-2009, 12:32 AM
Both of you guys try updating your reflection(that might be the problem). If you still have issues tell me.

thanx =) it works now

fre
01-26-2009, 09:36 PM
i did upgrade reflection
still have problems finding path
e.g failed walking path: yew 3 yew 1