SRL Archive - RS3 Outdated / Broken Scripts

AIO PowerChopper


Wreck

2012-06-08 20:18:15

- AIO PowerChopper -


Last Updated: 29th June 2012
Currently Supports: PowerChopping Oaks, Willows, Maples, Ivy, Teak, Arctic Pine (because of how the script is set up adding support for other trees takes about 30seconds so i'll add things on request)

Instructions:
  • The PixelShift is quite sensitive so wear minimal armour. (NO CAPES!)
  • Move to any of the specified trees.
  • Have hatchet equipped or in inventory.
  • Enter username/password in settings.
  • Enter WHICHTREE in settings.
  • SMART is enabled by default.

Progress Report:

Current Version: 0.9 +DraynorBanking (ObjDTM include is needed for this get it HERE)
Recent Changes: After some banking requests I have added banking for Draynor ONLY, this is completely untested but should work so and is only a one off no future versions will contain banking.
Future Changes: Tweaks and Improvements

If you want to burn logs instead of drop them then refer to THIS post until I have added it to the script myself - thanks to EtherFreak!

Feedback and suggestions welcome!

xwhatthe

2012-06-09 09:06:27

could you add in a power chopper for magic logs at mage training arena. just dont have them drop it cause i will do the banking just dont want to have to watc the screen for a full inv

TheWord

2012-06-09 20:11:29

Can you add OAK please?

PootisMann

2012-06-09 22:11:44

Good Script, can't wait for the next version, also, the script just randomly stopped, the script didn't stop, bot the bot part stopped, so i had to click Disable SMART and then Re-Enable it, to get it back to detecting trees and whatnot, you should see if you can fix that, other then that, this script is amazing!

Wreck

2012-06-10 08:54:52

From: TheWord
Can you add OAK please?

Will do.

From: warstories
Good Script, can't wait for the next version, also, the script just randomly stopped, the script didn't stop, bot the bot part stopped, so i had to click Disable SMART and then Re-Enable it, to get it back to detecting trees and whatnot, you should see if you can fix that, other then that, this script is amazing!


I noticed this while testing the other day and think I know what the problem is ill upload a new version when i've fixed it. :p

EDIT: UPDATED!

PootisMann

2012-06-10 11:45:04

From: Wreck
Will do.



I noticed this while testing the other day and think I know what the problem is ill upload a new version when i've fixed it. :p

EDIT: UPDATED!


Awesome, i'll start using it right now! I found a couple problems with 0.1 that I don't know if you fixed in 0.2, such as, I looked after like 30 minutes and my character ended up on the enter bank PIN screen in Draynor where I'm Powerchopping Willows, also when inv is full and it wants to drop, it puts the mouse over every log like it's counting, and then it starts dropping after its counted the whole inv once, like randomly halfway through the 2nd row, or somewhere in the 3rd row, is that supposed to happen? Other then that, 0.2, here I come!

Wreck

2012-06-10 11:49:27

From: warstories
Awesome, i'll start using it right now! I found a couple problems with 0.1 that I don't know if you fixed in 0.2, such as, I looked after like 30 minutes and my character ended up on the enter bank PIN screen in Draynor where I'm Powerchopping Willows, also when inv is full and it wants to drop, it puts the mouse over every log like it's counting, and then it starts dropping after its counted the whole inv once, like randomly halfway through the 2nd row, or somewhere in the 3rd row, is that supposed to happen? Other then that, 0.2, here I come!


The banker thing I have no idea how that could happen ill look into it and the dropping thing is something ive been trying to fix im sure its an issue to do with the wait times on the uptext ill have to do some experimentation.

PootisMann

2012-06-10 11:56:17

0.2 definitely detects the trees better, I <3 it!

Wreck

2012-06-10 12:57:44

From: warstories
0.2 definitely detects the trees better, I <3 it!


Just uploaded a new version in which added customizable search parameters for each different tree which should be better than using a blanket search for all trees (Meaning you can tweak the Width and Height if you want) and some failsafes to the dropping method so that if it does mess up it will exit the loop. I also remembered to add turning run on!

I do not recommend running this script at Draynor because of the population of people that are usually there especially in F2P worlds, if youre doing willows I suggest Barbarian Outpost, Rimmington, the pond inbetween Lumbridge and Draynor and any other secluded spots that you can find as you will get better results there!

EDIT: Updated!

PootisMann

2012-06-10 15:32:28

From: Wreck
Just uploaded a new version in which added customizable search parameters for each different tree which should be better than using a blanket search for all trees (Meaning you can tweak the Width and Height if you want) and some failsafes to the dropping method so that if it does mess up it will exit the loop. I also remembered to add turning run on!

I do not recommend running this script at Draynor because of the population of people that are usually there especially in F2P worlds, if youre doing willows I suggest Barbarian Outpost, Rimmington, the pond inbetween Lumbridge and Draynor and any other secluded spots that you can find as you will get better results there!

EDIT: Updated!


Alright, running 0.3 at rimmington as we speak, even better then 0.2! I shall post proggy in a few hours!

PootisMann

2012-06-10 20:57:19

weird bug thing, but it doesn't drop all the logs in the inventory? It drops like 10 and chops, or 12 and chops, etc.

PootisMann

2012-06-10 21:28:44

Here's a proggy

Wreck

2012-06-11 06:42:52

From: warstories
Here's a proggy


Oh wow thanks for the proggy! :spot:
And yeah the problem you mentioned is to do with the buggy dropping which I should be getting around to fixing today if I can, I made the failsafes exit the dropping loop every time it fails to drop a log 4times in a row so dont worry its a good thing it means that the failsafes were working :p

EDIT: Updated!

Theron

2012-06-11 10:31:22

Fail safe that if no trees are found it shuts down, I had this set up on SMARTmanager and it failed a random. I was teled to the top of Falador castle where I stay logged in rotating the camera :S

Wreck

2012-06-11 10:32:45

From: Theron
Fail safe that if no trees are found it shuts down, I had this set up on SMARTmanager and it failed a random. I was teled to the top of Falador castle where I stay logged in rotating the camera :S


Will when i get a chance. Im sure thats a problem with findrandom being quite limited returning no random when it doesnt detect one or fails one though.

Theron

2012-06-11 10:47:33

From: Wreck
Will when i get a chance. Im sure thats a problem with findrandom being quite limited returning no random when it doesnt detect one or fails one though.


Please do, would make this script near to perfect.

PootisMann

2012-06-11 11:00:57

Using 0.4 now!

ZestyStoner

2012-06-11 11:17:32

Where do you download script? sorry im new to simba

PootisMann

2012-06-11 11:19:12

From: ZestyStoner
Where do you download script? sorry im new to simba


bottom of OP

PootisMann

2012-06-11 11:20:31

I'm still getting the log dropping bug, where it only drops like 10 then continues chopping :( this happens 2 every 10 times when dropping, so that's way better :) EDIT: woah didn't see 0.5, will try now!

ZestyStoner

2012-06-11 11:20:47

Thanks. Why arent yews one of the trees?

Wreck

2012-06-11 11:22:59

From: Theron
Please do, would make this script near to perfect.

From: warstories
Using 0.4 now!


Updated!

PootisMann

2012-06-11 11:27:42

From: ZestyStoner
Thanks. Why arent yews one of the trees?


Because nobody requested it yet, so I guess you're the first requester of the Yews! Ask Wreck to add support for it! ;)

PootisMann

2012-06-11 11:29:24

Looks like the dropping is fixed!

ZestyStoner

2012-06-11 11:34:59

Im so confused. I got script dowloaded and setup all that but when i run the script nothing happens. Just sits there.

PootisMann

2012-06-11 11:37:18

From: ZestyStoner
Im so confused. I got script dowloaded and all that but when i run it nothing happens. Just sits there.


Do you have SMART downloaded?

ZestyStoner

2012-06-11 12:05:35

Yes, i just checked script again and i put wilow not willow. fixed it and now it works.

PootisMann

2012-06-11 13:24:07

From: ZestyStoner
Yes, i just checked script again and i put wilow not willow. fixed it and now it works.


good :)

Wreck

2012-06-11 13:28:01

From: warstories
good :)



Hows it running for you now?

ZestyStoner

2012-06-11 13:39:54

It was good for 30min until i got a random event. Then this happened

Script: AIO PowerChopper
Version: 0.5
Author: Wreck
~~~~
Time Running: 36 Minutes and 17 Seconds
AntiBans Done: 22
AntiBans/Hour: 36
~~~~
WC XP Gained: -2440065

ZestyStoner

2012-06-11 13:43:33

Any way of fixing random events? maybe having the bot automatically do it for you? i know on rs bot it used to do events for you. I once left it botting my str for over 72 hours str8 on an old acc and it just did all events for me and everything.

PootisMann

2012-06-11 13:43:49

From: ZestyStoner
It was good for 30min until i got a random event. Then this happened

Script: AIO PowerChopper
Version: 0.5
Author: Wreck
~~~~
Time Running: 36 Minutes and 17 Seconds
AntiBans Done: 22
AntiBans/Hour: 36
~~~~
WC XP Gained: -2440065


The random should've been solved on it's own, I forget which Extension thing it is, but make sure you have SRL and SPS, one of those solves randoms, and the other does walking or something like that.

ZestyStoner

2012-06-11 13:46:03

I have SRL, SPS, MSI, and SMART and all are up to date. Well im going to let the bot run and see if it gets stuck on a random again

PootisMann

2012-06-11 13:47:03

From: ZestyStoner
Any way of fixing random events? maybe having the bot automatically do it for you? i know on rs bot it used to do events for you. I once left it botting my str for over 72 hours str8 on an old acc and it just did all events for me and everything.


Get the SRL Extension, that solves randoms I believe, also good to get SPS if you don't already have those two, I forget if SRL and SPS come with Simba if you dont see them at the top of the simba screen then you don't have them.


PootisMann

2012-06-11 13:48:12

From: ZestyStoner
I have SRL, SPS, MSI, and SMART and all are up to date. Well im going to let the bot run and see if it gets stuck on a random again


What random was it?

ZestyStoner

2012-06-11 13:50:37

it was the balloon random. with the pink balloons that you pop for a key. I will check for the extensions. At the top it says SRL, SPS, MSI so i have them all. I did updates on them and they are all up to date

PootisMann

2012-06-11 13:51:58

From: ZestyStoner
it was the balloon random. with the pink balloons that you pop for a key. I will check for the extensions. At the top it says SRL, SPS, MSI so i have them all. I did updates on them and they are all up to date


I don't remember if mine solves the balloon randoms, I would suggest just searching the forums to see if that random is solveable

ZestyStoner

2012-06-11 13:57:09

Balloon Random is disabled at the moment while everyone is trying to help out and make a script that works to find balloon, pop it, pick up key, use lever, talk to party pete, and then exit.

ZestyStoner

2012-06-11 14:00:57

It only takes me 4 and a half hours to lvl up :( my woodcutting is lvl 77 and its cutting yews at a rate of 30k xp and hour. I need 136k xp to lvl 78. This will take a while

PootisMann

2012-06-11 14:02:40

From: ZestyStoner
It only takes me 4 and a half hours to lvl up :( my woodcutting is lvl 77 and its cutting yews at a rate of 30k xp and hour. I need 136k xp to lvl 78. This will take a while


Im getting better XP cutting willows.

Wreck

2012-06-11 14:13:09

From: ZestyStoner
It was good for 30min until i got a random event. Then this happened

Script: AIO PowerChopper
Version: 0.5
Author: Wreck
~~~~
Time Running: 36 Minutes and 17 Seconds
AntiBans Done: 22
AntiBans/Hour: 36
~~~~
WC XP Gained: -2440065


Did it successfully Logout and terminate the script when it got stuck?

ZestyStoner

2012-06-12 01:31:45

Yes it logged out then terminated script. I think all random events are disabled or something. each time i come accross one it terminates script saying event is disabled. And btw im cutting willows only getting 30k-38k per hr

ZestyStoner

2012-06-12 01:32:54

And do you think you can add a yew cutting option with banking? maybe just specifically edge ville or varrock castle area/G.E.

Wreck

2012-06-12 07:02:43

From: ZestyStoner
And do you think you can add a yew cutting option with banking? maybe just specifically edge ville or varrock castle area/G.E.


38k / hour isnt bad at all, and no sorry this is purely a chop'n'drop script, im sure there are plenty of other scripts that allow you to cut and bank yews. ;)

ZestyStoner

2012-06-12 11:22:41

ok ill look. i know previously with yews i would get about 45k per hour and bank about 150k worth of logs. So i think i came accross a bug in your script. It finished the random but your script still terminated.

Wreck

2012-06-12 11:26:13

From: ZestyStoner
ok ill look. i know previously with yews i would get about 45k per hour and bank about 150k worth of logs. So i think i came accross a bug in your script. It finished the random but your script still terminated.


Thanks ill look into it when I get time.

ZestyStoner

2012-06-12 12:19:02

Author: Wreck
~~~~
Time Running: 20 Minutes and 5 Seconds
AntiBans Done: 17
AntiBans/Hour: 50
~~~~
WC XP Gained: 4672489
WC XP/Hour: -297849


I dont know what happened here. But it stopped script or something

PootisMann

2012-06-12 14:52:15

I'll buy mems and post a 6 hour ivy proggy within the next couple days :)

PootisMann

2012-06-12 16:13:36

chopping ivy seems to be a bit buggy, it clicks on ivy when its on a current one, even though the current one isn't done being cut down

EDIT: What I said makes no sense, lol. What I mean is, it switches between ivy's before one is cut down

Wreck

2012-06-12 16:14:27

From: warstories
chopping ivy seems to be a bit buggy, it clicks on ivy when its on a current one, even though the current one isn't done being cut down


Ill take a look.

EDIT: Updated!

PootisMann

2012-06-13 11:00:13

Chopping Ivy works great now! I'll post a 6hr proggy in 6 hrs!

PootisMann

2012-06-13 11:50:19

could you make it pick up nests?

Wreck

2012-06-13 12:03:33

From: warstories
could you make it pick up nests?


In future possibly im more concerned with getting the script running bugfree at the moment :p

PootisMann

2012-06-13 12:25:15

From: Wreck
In future possibly im more concerned with getting the script running bugfree at the moment :p


k :3

PootisMann

2012-06-13 12:52:18

I'm still getting that Ivy bug thing, but more rarely

Wreck

2012-06-13 13:57:15

From: warstories
I'm still getting that Ivy bug thing, but more rarely


decrease the animpixels in the section for ivy as neccessary should fix the problem :p

PootisMann

2012-06-14 18:52:04

From: Wreck
decrease the animpixels in the section for ivy as neccessary should fix the problem :p


aight, sorta helps

EtherFreak

2012-06-15 21:17:56

Mind if I add a burner to the script and PM it to you for upload. Burning is better then dropping :)

Wreck

2012-06-16 05:26:03

From: EtherFreak
Mind if I add a burner to the script and PM it to you for upload. Burning is better then dropping :)


Sure why not :)

xYumz

2012-06-16 08:00:24

You should consider adding arctic pine or teak support, both of which offer better xp/hr then ivy. For teak's, the hardwood grove would be good and arctic pine are on Neitiznot.

EtherFreak

2012-06-17 00:48:01

Putting this in the script and adding a burnwait for the type of log should work wonders. I ran for one hour and had the following with my burn procedure in the script:
Time Running: 1 Hours, 5 Minutes and 8 Seconds
AntiBans Done: 12
AntiBans/Hour: 11
~~~~
WC XP Gained: 67946
WC XP/Hour: 62590

This reflects both fm and wc experience if I understand the exp calculation method.
25,000 should be WC of maples, and 42,000 should be FM of maples.


Procedure Burn;
Var
I,IC,K,BurnWait:integer;
Begin
BurnWait:=2500; //works for maples, other logs may need different adjustments.
K:=0;
Wait(RandomRange(BurnWait,1000));
if bankscreen then
exit;
I:=0;
repeat
inc(I);
until ExistsItem(I)
if ExistsItem(I) then //tinderbox start
begin
invmouse(I,1); //clicking log
wait(randomrange(100,200));
mmouse(400,400,200,200);
mouse(200,430,25,25,true);
wait(BurnWait+Burnwait+Random(1000));
end;
I:=0;
repeat
inc(I);
until ExistsItem(I)
if ExistsItem(I) then //adding to bonfire
begin
invmouse(I,1); //clicking log
wait(randomrange(100,200));
mmouse(400,400,200,200);
mouse(300,430,25,25,true);
wait(BurnWait+Burnwait+Random(1000));
end else
burn;
I:=invcount;
K:=0
repeat
inc(K);
wait(burnwait);
if invcount<I then
begin
I:=invcount;
K:=0;
end;

if K>2 then
Burn;
until invcount=0
if invcount=0 then
writeln('Burned correctly') else
Burn;
End;

To add this, you would put this procedure in between two other procedures in the script. Next you would find the
if InvFull then
repeat
DropLogs(Objects[0]);
until (CountLogs = 0)
and change this to
burn;

If you can not figure out how to do this, then I kindly ask that you at least check out the tutorial section and try to work out how to do it yourself. One of the reason there are loads of public scripts is for newer scripters to learn from so they can then go write their own scripts. I hope this has cleared things up. http://villavu.com/forum/forumdisplay.php?f=191

P.S. The exp calculator does not reflect woodcutting when you add this burn procedure, but woodcutting and firemaking experience both.

Wreck

2012-06-17 12:04:07

From: xYumz
You should consider adding arctic pine or teak support, both of which offer better xp/hr then ivy. For teak's, the hardwood grove would be good and arctic pine are on Neitiznot.


Updated!

bbsimple

2012-06-22 18:07:54

This would be the ultimate WC script if you could add options to change from powerchopping, banking, or burning (with bonfire). Also yes please add yews! If you could do all of that it would be amazing :D

trestko

2012-06-24 16:55:08

its choping oaks , but dont willows. Could u add banking to script? Great job! :))

Edit.

Where to add that "burn" procedure? I am new to scripting, will not find that by myself. I could add banking for Draynor oaks , but, again, cant find , where script stop to chop trees and start to drop logs. This script writen in "pro" language, will took monthes to learn to able to script like this. :D

Wreck

2012-06-24 16:57:32

From: trestko
its choping oaks , but dont willows. Could u add banking to script? Great job! :))


Nope sorry never going to add banking!

From: bbsimple
This would be the ultimate WC script if you could add options to change from powerchopping, banking, or burning (with bonfire). Also yes please add yews! If you could do all of that it would be amazing :D


Im currently busy so read the first post for information on burning!

HolyWord

2012-06-27 02:31:23

Author: Wreck
~~~~
Time Running: 4 Hours, 36 Minutes and 2 Seconds
AntiBans Done: 181
AntiBans/Hour: 39
~~~~
WC XP Gained: 161932
WC XP/Hour: 35198


Thank you very much sir :)

Wreck

2012-06-27 20:32:03

From: HolyWord
Author: Wreck
~~~~
Time Running: 4 Hours, 36 Minutes and 2 Seconds
AntiBans Done: 181
AntiBans/Hour: 39
~~~~
WC XP Gained: 161932
WC XP/Hour: 35198


Thank you very much sir :)


Your Welcome! :p

Updated!

josiyah

2012-06-29 07:01:57

Mine's not starting just says successfully executed, then doesn't work.. can't find whats wrong grr! lol

EDIT: just decided to use the 0.8 version, that one started up (haven't given it a chance to run since typing this so we'll see)

Wreck

2012-06-29 07:37:42

From: josiyah
Mine's not starting just says successfully executed, then doesn't work.. can't find whats wrong grr! lol

EDIT: just decided to use the 0.8 version, that one started up (haven't given it a chance to run since typing this so we'll see)


Woops my bad! remove the // from line 2 and the script will startup with smart otherwise you could just target the runescape screen! I forgot to remove the comments from when I was testing the script so I shall reupload a version so nobody get confused and think its broken check back in 5 mins!

Brandon02852

2012-06-30 11:24:00

Can't get it to work.

Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

Going to use another script.

Wreck

2012-06-30 15:25:54

From: Brandon02852
Can't get it to work.

Error: Exception: Access violation at line 101
The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]

Going to use another script.


ObjDTM is needed for the banking version I forgot to mention that!

Brandon02852

2012-06-30 18:11:04

I couldn't get any 0.9 version to work so I am using 0.8…

It works fine BUT it logs me out after 7 minutes for no reason. I am not in a random, stuck, or anything…it just logs me out and ends the script.

Why???????

Wreck

2012-06-30 18:12:09

From: Brandon02852
I couldn't get any 0.9 version to work so I am using 0.8…

It works fine BUT it logs me out after 7 minutes for no reason. I am not in a random, stuck, or anything…it just logs me out and ends the script.

Why???????


I dont know it runs for the full 6hours for me, maybe you are lagging or need to update your SRL?

Brandon02852

2012-07-01 06:27:50

From: Wreck
I dont know it runs for the full 6hours for me, maybe you are lagging or need to update your SRL?


srl is fully updated and my internet connection is very stable.

Wreck

2012-07-01 11:25:45

From: Brandon02852
srl is fully updated and my internet connection is very stable.


Version 0.8 should work for you better then and be more stable they are basically the same just slightly different tree finding functions.

Theron

2012-07-08 01:01:43

Please implement a solid burning method.

gooddiubro

2012-07-09 00:10:47

From: Theron
Please implement a solid burning method.

Not that its a good idea to burn logs to mess up pixel shift.
But for Etherfreak part, I found you may need a few tweaks to make it work.
in
Var
I,IC,KBurnWait:integer;
try:

Var
I,IC,K:integer;
Find a place to declare:
 BurnWait= 2600
You should also keep:
 
if InvFull then
and remove the "else" if it gives you errors.

edit:
If Etherfreak's doesnt work? Dont panic!
The advantage of being a user (or at least pretend to be a noob user) is you can blatantly combine codes from different devs to make you own customized script.
For example, you can merge Mat's code with this script as well
http://villavu.com/forum/showthread.php?t=82162
note: not tested, but should work in theory, except the DTM part, maybe.
Copy and paste these functions somewhere in the script
function FindObj_pX(Mouse:Boolean;pX, pY,Null,Null2: Integer; Mod1,Mod2:Extended;Lol1:String): Boolean;
var
CTS, I: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS := GetColorToleranceSpeed;
FindNormalRandoms;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(Mod1, Mod2);
If Not Mouse then
FindColorsSpiralTolerance(MSCX, MSCY, TPA,Null, 190, 140, 320, 230, Null2) else
FindColorsSpiralTolerance(MSCX, MSCY, TPA,Null, MSX1, MSY1, MSX2, MSY2, Null2);

ColorToleranceSpeed(CTS);
ATPA := TPAToATPAEx(TPA, 15, 15);
For I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[i], pX, pY);
If Mouse then
begin
MMouse(pX, pY, 2, 2);
Wait(300+Random(75));
If(IsUpTextMultiCustom([Lol1])) then
begin
Result := True;
GetMousePos(pX, pY);
Break;
end;
end else
Result := True;
end;
end;

Function Firing: Boolean;
var
PBox: TBox;
begin
PBox := IntToBox(245, 130, 285, 195);
Result := (AveragePixelShift(PBox, 250, 600) > 250);
end;

Procedure FireTime;
Var
px,py,logs,t,DT:integer;
NoFire:Boolean;
begin
MarkTime(T);
Logs := DTMFromString('mrAAAAHichcwxCoAgAEbhX6cGj9EYQaBG0KJrBOn976JvcawefOubJGUrJVy4URBwomIx0g6PGSsiDmx4guNiXzV9Z36MOqY9BX8=');
Repeat
Wait(25+Random(20));
Until((Not IsMoving)Or(TimeFromMark(T)>4000));
If FindObj_px(True,px,py,5154530,4,0.53, 6.36,'a')then
begin
ClickMouse2(False);
Wait(200+Random(100));
If Not ChooseOption('dd')then
NoFire := True;
end else
NoFire:=True;
If NoFire then
begin
If FindDTM(Logs,px,py,Mix1,Miy1,mix2,miy2) then
Mouse(px,py,5,5,0);
WaitOption('ight',400);
Wait(1500+Random(200));
NoFire := False;
FireTime;
end;
MarkTime(T);
Repeat
FindNormalRandoms;
Antiban;
If not Firing then
begin
Repeat
Wait(21);
Until((Firing)Or(TimeFromMark(DT)>2000));
If Not firing and Not FindDTM(Logs,px,py,mix1,miy1,mix2,miy2) then
Break else FireTime;
end;
Case Random(2) of
0:Wait(200);
1:Writeln(TimeFromMark(t));
end;
If FindObj_px(True,px,py,3957668,4,0.40, 1.93,'ect')then
ClickMouse2(True);
Until((Not FindDTM(Logs,px,py,mix1,miy1,mix2,miy2))Or(TimeFromMark(t)>12000)Or(Not FindObj_px(False,px,py,5154530,4,0.53, 6.36,'a'))Or(FindNormalRandoms));
end;
Then again replace

if InvFull then
repeat
DropLogs(Objects[0]);
until (CountLogs = 0)
else
with

if InvFull then
FireTime;

tdevlin11

2012-07-11 23:19:15

Add yews, please!

gooddiubro

2012-07-13 09:03:30

From: tdevlin11
Add yews, please!


Isnt that willows yields better exp for f2p?

EtherFreak

2012-07-13 19:04:15

I use maples at the dung resorce location :)

Wreck

2012-08-01 17:14:32

From: EtherFreak
I use maples at the dung resorce location :)


Willows are better exp I think :p

DetectiveDoctor

2012-08-05 16:40:44

Got error:


[Error] C:\Simba\Includes\SRL/SRL/misc/smart.simba(53:19): Invalid number of parameters at line 52
Compiling failed.


Line 52 is blank. Nothing is there. I get a similar error running my soul wars script. Is this something I'm doing wrong?

Wreck

2012-08-05 16:45:43

This script hasn't been updated for Simba 991.

DetectiveDoctor

2012-08-05 16:49:55

From: Wreck
This script hasn't been updated for Simba 991.


I'm sorry, I'm truely a noob here and am not entirely sure what that means.

Is the script out of date? Do I need to downgrade my version of Simba? If you can help me get a bot running, or tell me I just have to wait like everyone else, that'd be appreciated lol. Thanks/

Wreck

2012-08-05 16:57:32

From: DetectiveDoctor
I'm sorry, I'm truely a noob here and am not entirely sure what that means.

Is the script out of date? Do I need to downgrade my version of Simba? If you can help me get a bot running, or tell me I just have to wait like everyone else, that'd be appreciated lol. Thanks/


You might have to update your simba / extensions check out THIS thread.

DetectiveDoctor

2012-08-05 17:07:07

No Plugins update available.
No SRL update available.
No SPS update available.
No MSI update available.


My Simba is fully updated as far as I can tell. Still, scripts are not working for me. I keep getting errors on seemingly random lines.

Wreck

2012-08-05 17:11:21

From: DetectiveDoctor
No Plugins update available.
No SRL update available.
No SPS update available.
No MSI update available.


My Simba is fully updated as far as I can tell. Still, scripts are not working for me. I keep getting errors on seemingly random lines.


Im not sure, you could post a thread in the help forum.

kottonmouth

2012-08-31 17:08:29

From: DetectiveDoctor
No Plugins update available.
No SRL update available.
No SPS update available.
No MSI update available.


My Simba is fully updated as far as I can tell. Still, scripts are not working for me. I keep getting errors on seemingly random lines.


I'm having the same problem… its not random lines though its generally the same ones for me.. I feel like a damn noob again lol. I just came back from roughly 4 years of abandoning runescape altogether. I went from using scar without having hardly any problems, to using simba. my jaw litteraly dropped when i seen all these new addons(S.M.A.R.T. MSI and so on..) Scripting use to be so simple years ago. Its a constant war between updates. and for me coming back with such a huge gap of knowledge that was implemented over the years I'm like a new born baby trying to read,write and speak. Anyway Ive been removing some of the lines that give me problems and it seems to execute but then eventually fails.

litoris

2012-09-02 10:32:51

Hello everyone, I have been using this script lately and I fixed it up a bit by adding failsafes and bonfire burning, since that's much faster than dropping. I'm posting it below for anyone to use. OP can add it to the first post if they wish to.

program AIOPowerChopper;
{$DEFINE SMART}
{$I SRL/SRL.Simba}
type
MSObject = record
Color, Tol, Width, Height: Integer;
Hue, Sat: Extended;
LogDTM: String;
TreeUpText, LogUpText, LogOption: TStringArray;
end;

var
Objects: Array Of MSObject;
x, y, fs, StartXP, XPGained, AntiBans: Integer;

{|¯¯ _ _ _ _ _ ¯¯|}
{| |S| |E| |T| |U| |P| |}
{|__ ¯ ¯ ¯ ¯ ¯ __|}

const
NAME = 'AIO PowerChopper'; //Script Name
VERSION = '0.9'; //Script Version
AUTHOR = 'Wreck'; //Script Author

WHICHTREE = 'oak'; //Oak, Willow, Maple, Ivy, Teak, Arctic Pine
RUNATENERGY = 15; //Turn run on at this percentage energy
ANIMPIXELS = 300; //PixelShift Animation threshold
COMPASSSTART = 'N'; //'N','E','S','W' Compass starting direction

SRLStats_User = ''; //SRLStats Username
SRLStats_Password = ''; //SRLStats Password

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name := ''; //Username
Players[0].Pass := ''; //Password
Players[0].Nick := '';
Players[0].BoxRewards := ['XP', 'Lamp', 'Book', 'mote', 'ostume', 'ssence'];
Players[0].LampSkill := SKILL_WOODCUTTING;
Players[0].Active := True;
end;

{|¯¯ _ _ _ _ _ _ _ ¯¯|}
{| |A| |N| |T| |I| |B| |A| |N| |}
{|__ ¯ ¯ ¯ ¯ ¯ ¯ ¯ __|}

procedure FindRandoms;
begin
If FindNormalRandoms Then
If Not LoggedIn Then
begin
writeln('We might be stuck in a random.');
writeln('Ending Script.');
TerminateScript;
end;
end;

procedure RandomCompass;
begin
case Random(4) of
0: MakeCompass('N');
1: MakeCompass(RandomRange(-25, -55));
2: MakeCompass('E');
3: MakeCompass(RandomRange(-115, -155));
4: MakeCompass('S');
5: MakeCompass(RandomRange(-205, -245));
6: MakeCompass('W');
7: MakeCompass(RandomRange(-295, -335));
end;
end;

procedure AntiBan;
begin
case random(400) of
1: Begin HoverSkill('woodcutting', False); AntiBans := AntiBans + 1; End;
2: Begin HoverSkill('random', False); AntiBans := AntiBans + 1; End;
3: Begin Boredhuman; AntiBans := AntiBans + 1; End;
4: Begin PickUpMouse; AntiBans := AntiBans + 1; End;
5: Begin RandomMovement; AntiBans := AntiBans + 1; End;
6: Begin RandomRClick; AntiBans := AntiBans + 1; End;
7: Begin Wait(2500 + random(4500)); AntiBans := AntiBans + 1; End;
8: Begin
if not (WHICHTREE = 'ivy') then
RandomCompass;
AntiBans := AntiBans + 1;
End;
end;
end;

{|¯¯ _ _ _ _ _ _ ¯¯|}
{| |S| |C| |R| |I| |P| |T| |}
{|__ ¯ ¯ ¯ ¯ ¯ ¯ __|}

procedure SetUpObjects;
begin
setLength(Objects, 1);
case (LowerCase(WHICHTREE)) of
'oak':
with Objects[0] do //Oak
begin
Color := 2179407;
Tol := 10;
Width := 10;
Height := 30;
Hue := 0.12;
Sat := 0.37;
LogDTM := 'mAAEAAHic42FgYMhhYmDIBOICIC4D4nIgroayc4E4DYgTgDgZSj8B6rkDxDeB+DYQPwDi50D8BojfA/FHIH4HVfMQiMsijIEkE9GYlYE0wEgiRgYA/jIRGA==';
TreeUpText := ['wn Oa', 'op down O'];
LogUpText := ['Oak', 'ak lo', 'Oak log'];
LogOption := ['rop', 'op Oa', 'rop Oak'];
end;

'willow':
with Objects[0] do //Willow
begin
Color := 2832184;
Tol := 6;
Width := 10;
Height := 30;
Hue := 0.25;
Sat := 0.15;
LogDTM := 'mAAEAAHiclcvBCkBAFIXhMxNJWYg8jKXXMzbTlNiRPCb51Swszamvezp1K0mzlRZs2HHiwAoPhxETAgoj3fxdyOglajTo4n13RUPfUuxvudJiEn3zALu3ClQ=';
TreeUpText := ['wn Wi', 'op down W'];
LogUpText := ['llow', 'ow lo', 'low log'];
LogOption := ['rop', 'op Wi', 'rop Wil'];
end;

'maple':
with Objects[0] do //Maple
begin
Color := 3028299;
Tol := 12;
Width := 10;
Height := 30;
Hue := 0.19;
Sat := 0.42;
LogDTM := 'mFQEAAHic42VgYLjMBME3gPgeFD8A4sdAfAuILwHxaSA+CsWngLiVkYGhFoirgbgOiJsYIWLdQNwPxBOBeBKU3QZVE23DC7SNiSTMykA6YCQDowAAboASnQ==';
TreeUpText := ['wn Ma', 'op down M'];
LogUpText := ['aple', 'le lo', 'ple log'];
LogOption := ['rop', 'op Ma', 'rop Map'];
end;

'ivy':
with Objects[0] do //Ivy
begin
Color := 2507572;
Tol := 8;
Width := 10;
Height := 10;
Hue := 0.10;
Sat := 0.16;
TreeUpText := ['op I', 'hop Ivy'];
end;

'teak':
with Objects[0] do //Teak
begin
Color := 5396064;
Tol := 20;
Width := 10;
Height := 30;
Hue := 0.25;
Sat := 0.06;
LogDTM := 'mwQAAAHic42RgYOAFYmYGBOACYhEglgFiSSAWBGJuqBqQnCgQi0PV8AExK1TftLoQIMlEABMGjERgOAAAN7sCag==';
TreeUpText := ['wn Te', 'op down T'];
LogUpText := ['eak', 'ak lo', 'eak log'];
LogOption := ['rop', 'op Te', 'rop Tea'];
end;

'arctic pine':
with Objects[0] do //Arctic Pine
begin
Color := 7380067;
Tol := 40;
Width := 10;
Height := 30;
Hue := 0.29;
Sat := 0.48;
LogDTM := 'm1gAAAHic42JgYHBmYmBwA2JfIPYH4gAgdgdiWyA2BWITILYC4idAtTeB+C4QPwbi10D8Fog/AvE7Boj8HSCuSjIDkkwEMSsDcYCRSIwAAPVXDOI=';
TreeUpText := ['wn Ar', 'op down A'];
LogUpText := ['rctic', 'ne lo', 'ine log'];
LogOption := ['rop', 'op Ar', 'rop Arc'];
end;
end;
end;

procedure SetUpCharacter;
begin
ClearDebug;
MakeCompass(COMPASSSTART);
SetAngle(SRL_ANGLE_HIGH);
ToggleXPBar(True);
StartXP := GetXPBarTotal;
end;

function IsChopping: Boolean;
var
T: Integer;
PBox: TBox;
begin
PBox := IntToBox(245, 130, 285, 195);
if (AveragePixelShift(PBox, 250, 500) < ANIMPIXELS) then
begin
MarkTime(T);
while (TimeFromMark(T) < (250 + RandomRange(150, 250))) do
begin
if (AveragePixelShift(PBox, 250, 500) > ANIMPIXELS) then
begin
Result := True;
Break;
end;
end;
end
else
Result := True;
end;

function FindMSObject(var fx, fy: Integer; Obj: MSObject): Boolean;
var
TPA: TPointArray;
ATPA: T2DPointArray;
i, tmpCTS, k: Integer;
P: TPoint;
begin
tmpCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(Obj.Hue, Obj.Sat);

FindColorsSpiralTolerance(MSCX, MSCY, TPA, Obj.Color, MSX1, MSY1, MSX2, MSY2, Obj.Tol);
if (Length(TPA) < 1) then
Exit;

ATPA := TPAtoATPAEx(TPA, Obj.Width, Obj.Height);
SortATPASize(ATPA, True);
Marktime(k);
For i := 0 To High(ATPA) Do
begin
if TimeFromMark(k) > 15000 then
Exit;
MiddleTPAEx(ATPA[i], P.x, P.y);
MMouse(P.x, P.y, 5, 5);
if WaitUpTextMulti(Obj.TreeUpText, 650 + Random(150)) then
begin
GetMousePos(fx, fy);
Result := True;
Break;
end;
end;

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

function CheckClick(var fx, fy: Integer; Obj: MSObject; ClickType: String): Boolean;
begin
if WaitUpTextMulti(Obj.TreeUptext, 350 + Random(150)) then
case (LowerCase(ClickType)) of
'left':
begin
Mouse(fx, fy, 0, 0, mouse_Left);
Result := True;
end;
'right':
begin
Mouse(fx, fy, 0, 0, mouse_Right);
if WaitOptionMulti(Obj.TreeUpText, 350 + Random(150)) then
Result := True;
end;
'rand':
case Random(2) of
0:
begin
Mouse(fx, fy, 0, 0, mouse_Left);
Result := True;
end;
1:
begin
Mouse(fx, fy, 0, 0, mouse_Right);
if WaitOptionMulti(Obj.TreeUpText, 350 + Random(150)) then
Result := True;
end;
end;
end;
end;

function CountLogs: Integer;
var
DTM: Integer;
begin
DTM := DTMFromString(Objects[0].LogDTM);
Result := CountItems('dtm', DTM, []);
end;

procedure DropLogs(var Obj: MSObject);
var
TPA: TPointArray;
P: TPoint;
LogDTM, i, fs1: Integer;
begin
LogDTM := DTMFromString(Obj.LogDTM);
FindDTMs(LogDTM, TPA, MIX1, MIY1, MIX2, MIY2);
if (Length(TPA) < 1) then
begin
FreeDTM(LogDTM);
Exit;
end;

RAaSTPAEx(TPA, 10, 10);
For i := 0 To High(TPA) Do
begin
if (fs1 >= 3) then
begin
FreeDTM(LogDTM);
Exit;
end;
MMouse(TPA[i].x, TPA[i].y, 5, 5);
if WaitUpTextMulti(Obj.LogUpText, 350 + Random(150)) then
begin
GetMousePos(P.x, P.y);
Mouse(P.x, P.y, 0, 0, mouse_Right);
WaitOptionMulti(Obj.LogOption, 350 + Random(150));
end
else
begin
IncEx(fs1, 1);
RandomCompass;
end;
end;

FreeDTM(LogDTM);
end;
function Burn : Boolean;
var
LogDTM, PrevCount, x, y, b: Integer;
XP : LongInt;
begin
LogDTM := DTMFromString('mrAAAAHic42BgYMhhYmBIBOIsIC4F4gooTgXiWCAOZGRg8ARiDyB2AWI/II4A4lhGiJyXhSLQFCac+D8DfsBIAMMAANZPB7E=');
repeat
FindRandoms;
PrevCount := InvCount;
if FindDTM(LogDTM, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
XP := GetXPBarTotal;
Mouse(x, y, 3, 3, mouse_right);
WaitOption('ight', 300 + Random(300));
Wait(1200 + Random(600));
end;
until (PrevCount > InvCount);

repeat
FindRandoms;
Wait(600); //waits until log is burned
until (GetXPBarTotal > XP);
repeat
FindRandoms;
PrevCount := InvCount;
if FindDTM(LogDTM, x, y, MIX1, MIY1, MIX2, MIY2) then
begin
Mouse(x, y, 3, 3, mouse_left);
Wait(800 + random(400));
MouseBox(269, 404, 335, 447, Mouse_left); //add to bonfire
Wait(1600 + random(600));
end else
begin
Result := True;
FreeDTM(LogDTM);
Exit;
end;
until (PrevCount > InvCount);
Marktime(b);
repeat
FindRandoms;
Wait(1200 + Random(400));
until((CountItems('dtm', LogDTM, [])=0 ) or (TimeFromMark(b)>2*60*1000))
if CountItems('dtm', LogDTM, [])=0 then
begin
Writeln('All burned');
Result := True;
end
else
Result := False;
FreeDTM(LogDTM);
end;

{|¯¯ _ _ _ _ _ _ ¯¯|}
{| |P| |R| |O| |G| |G| |Y| |}
{|__ ¯ ¯ ¯ ¯ ¯ ¯ __|}

procedure ProgressReport;
var
wcXPH, AntiBansPH :Integer;
begin
XPGained := GetXPBarTotal - StartXP;
AntiBansPH := Round((AntiBans * 3600) / (GetTimeRunning / 1000));
wcXPH := Round((XPGained * 3600) / (GetTimeRunning / 1000));
ClearDebug;
Writeln(' Script: ' + NAME);
Writeln(' Version: ' + VERSION);
Writeln(' Author: ' + AUTHOR);
Writeln('~~~~');
Writeln(' Time Running: ' + TimeRunning);
Writeln(' AntiBans Done: ' + IntToStr(AntiBans));
Writeln(' AntiBans/Hour: ' + IntToStr(AntiBansPH));
Writeln('~~~~');
Writeln(' WC XP Gained: ' + IntToStr(XPGained));
Writeln(' WC XP/Hour: ' + IntToStr(wcXPH));
end;

{|¯¯ _ _ _ _ ¯¯|}
{| |L| |O| |O| |P| |}
{|__ ¯ ¯ ¯ ¯ __|}

begin
{$IFDEF SMART}
SRL_SixHourFix := True;
Smart_FixSpeed := True;
{$ENDIF}

SetUpSRL;
DeclarePlayers;
ActivateClient;

if (not LoggedIn) then
LogInPlayer;

SetUpObjects;
SetUpCharacter;
while LoggedIn do
begin
FindRandoms;
RunEnergy(RUNATENERGY);
ProgressReport;
if InvFull then
repeat
Burn;
until (CountLogs = 0)
else
if IsChopping then
AntiBan
else
if (fs >= 4) then
Logout
else
if FindMSObject(x, y, Objects[0]) then
begin
fs := 0;
if CheckClick(x, y, Objects[0], 'rand') then
FFlag(0);
end
else
begin
IncEx(fs, 1);
RandomCompass;
end;
end;

end.
Edit: Proggy with the version above:
 Script: AIO PowerChopper
Version: 0.9
Author: Wreck
~~~~
Time Running: 3 Hours, 49 Minutes and 53 Seconds
AntiBans Done: 131
AntiBans/Hour: 34
~~~~
WC XP Gained: 131311
WC XP/Hour: 34272