SRL Archive - RS3 Outdated / Broken Scripts

BuckleyInDaHouse's Power Chopper V1.


Buckleyindahouse

2007-05-05 13:22:20

BuckleyInDaHouse Presents
PowerChopper v1




What Does It Do?
  1. Power Chops Any Tree
  2. Solves All SRL Randoms
  3. Uses Anti Ban Technology
  4. Uses Mutli Player
  5. Anti Ent and Axe Head Protection
  6. Custom Procedures Made by Me :)

Hopefully To Come In Future Updates.
  1. Faster Tree Finding
  2. Better Ent And Axe Head Protection
  3. Auto Responder
  4. More Anti Ban

Please Post Proggies and Bugs.

the scar noob

2007-05-05 13:43:12

Good job buddy, keep it up and a lot of succes in future scripting

Farno Productions

2007-05-05 21:04:51

The script looks nice but I got this error:

Out of Range in line 35 in script.

Buckleyindahouse

2007-05-05 21:14:06

Make sure you have the HowManyPlayers Const set right.

FuruChan

2007-05-09 23:42:51

Alright well I'm testing it out now, I'll have a progress report and bugs post by tomorrow or the next day.

FuruChan

2007-05-10 01:09:42

Well this is what i have come up with a little lol. This is your script. There are no modifications in the script itself (Except for the one ClearDeBug I added). There is only a difference in the top Title.

Observations:
- Add Description (What script does, Axe weild needed yes, no? How to use it::Instructions::, ect.) + good at the the player form, add some at the beginning of script.
- Add auto color or work with that.
- Lessen time it needs to wait before click on the tree again. Make it about 8 or 10.
- Add a Clear DeBug Box in there.
- Lower Tolerance level. It finds trees other than the ones i really want.
- Doesn't Drop the logs.
- It DOES Log back in with the other players nice job with that.


Sorry I couldn't get a progress report but its because it wont drop logs.


OH! And when you come out with a new version Notify me at [email]Sony_Master1212@msn.com[/email] I'll check it for you if you want. And i will probably want to use it!

If you want auto coloring tips check Here This should help a lot.


program PowerChopper;
{
11111111 11111111111 11111111 11111 11111
11 11 111 11 11 111 111
11 11 111 11 11 111 111
11 11 111 11 11 111 111
111111111 111 11 11 111111111111
111111111 111 11 11 111111111111
11 11 111 11 11 111 111
11 11 111 11 11 111 111
11 11 111 11 11 111 111
111111111 111111111111 11111111 11111 11111

"This stands for BuckleyInDaHouse BIDH, you should keep it on
your scripts you make." (Everything in the "" can be deleted
it is not neccessary).

::PUT YOUR INSTRUCTIONS HERE::


{.Include srl/srl.scar}
{.Include srl/srl/skill/woodcutting.scar}

const Tree1 = 0; //try working auto color with these
const Tree2 = 0;
const Tree3 = 0;
const Tree4 = 0;


var
Log, LogM: Integer;
Loads: Integer;
TreeXp, Dropped: Integer;

procedure DeclarePlayers;
begin

HowManyPlayers := 4; // Compliant with Dynamic Array;
NumberOfPlayers(HowManyPlayers); // Set the Players Array Length;
CurrentPlayer := 0; // CurrentPlayer = internal counter


Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := ''; // <- screen nickname (three letters from name)
Players[0].String1 := ''; //Type Of Tree your powerchopping
Players[0].Integer1 := 9; //Time to wait while Cutting
Players[0].Integer2 := 1; //Loads to do before switching players
Players[0].Skill := 'Woodcutting'; //Skill for Genie Lamp Random
Players[0].Loc := 'Chopping'; //Dont Change This
Players[0].Active := True; //Is this player Active?

Players[1].Name := '';
Players[1].Pass := '';
Players[1].Nick := ''; // <- screen nickname (three letters from name)
Players[1].String1 := 'Oak'; //Type Of Tree your powerchopping
Players[1].Integer1 := 9; //Time to wait while Cutting
Players[1].Integer2 := 1; //Loads to do before switching players
Players[1].Skill := 'Woodcutting'; //Skill for Genie Lamp Random
Players[1].Loc := 'Chopping'; //Dont Change This
Players[1].Active := True; //Is this player Active?

Players[2].Name := '';
Players[2].Pass := '';
Players[2].Nick := ''; // <- screen nickname (three letters from name)
Players[2].String1 := 'Oak'; //Type Of Tree your powerchopping
Players[2].Integer1 := 9; //Time to wait while Cutting
Players[2].Integer2 := 1; //Loads to do before switching players
Players[2].Skill := 'Woodcutting'; //Skill for Genie Lamp Random
Players[2].Loc := 'Chopping'; //Dont Change This
Players[2].Active := True; //Is this player Active?

Players[3].Name := '';
Players[3].Pass := '';
Players[3].Nick := ''; // <- screen nickname (three letters from name)
Players[3].String1 := 'Oak'; //Type Of Tree your powerchopping
Players[3].Integer1 := 9; //Time to wait while Cutting
Players[3].Integer2 := 1; //Loads to do before switching players
Players[3].Skill := 'Woodcutting'; //Skill for Genie Lamp Random
Players[3].Loc := 'Chopping'; //Dont Change This
Players[3].Active := True; //Is this player Active?}
end;

{I added a ClearDeBug in right here just so it looks nicer.}

procedure DeclareImages;
begin
ClearDeBug;
Log := DTMFromString('78DA632C6262601065644006AE76E20CFF813' +
'448F43F1030D600D570A1AA81C8C248209D01542343404D03508D' +
'04AA1A4F27295435E94035FC04CC2901AA9125A0261FA8861BBF1' +
'A0048770A0D');

LogM := BitmapFromString(43, 37, 'z78DAED99D111C02008435762' +
'0AF71FA977FD6FEF5A3424900CA0F080366AC45CAD5B610226600' +
'216655D9E34216B64DF3250FD1A031B8195566DD532AB55F58F62' +
'DFF68BA11301864954FC0EB8031908E0A780D39B6122E1F7A2E7E' +
'AA2E8C3FB79E65A8F6D022660025A044EB83B1360E3507B7B86DC' +
'1D99E3AE3BA2BDF986A074CF17180FC95C5FCC14CF3947F49E5F1' +
'330011330810904DEFF627957FCEF2511B3E30549E444EE');
end;





function FindFastRandoms: Boolean; // By WT-Fakawi.
var
i: Integer;
begin
for I := 1 to 14 do
begin
case I of
1: if FindDead then
Result := True;

2: if FindMod then
Result := True;

3: if FindMime then
Result := True;

4: if FindMaze then
Result := True;

5: if FindQuiz then
Result := True;

6: if FindDemon then
Result := True;

7: begin
if NoGameTab then
begin
Result := True;
Players[CurrentPlayer].loc := 'No GameTab';
Logout;
Exit;
end;
end;


8: if RC then
Result := True;

9: if FindFight then
begin
Result := True;
RunAwayDirection(Players[CurrentPlayer].String2);
Wait(15000 + Random(7500));
RunBack;
end;

10: if FindTalk then
Result := True;

11: FindLamp(Players[CurrentPlayer].Skill);

12: FindNormalRandoms;

13: FindHead;

14: ClickToContinue;
end;
Wait(1);
end;
end;


procedure StopTheEnts;
var
Tx, Ty: Integer;
begin
if (IsUpTextMulti('ree', 'hop down', 'Cho')) then
begin
Wait(500);
if (FindColor(Tx, Ty, 65535, 87, 22, 150, 15)) then
begin
Mouse(647, 83, 2, 2, True);
Flag;
MMouse(Tx, Ty, 0, 0);
repeat
Wait(1000 + Random(150));
FindFastRandoms;
until (not (FindColor(Tx, Ty, 65535, 87, 22, 150, 15)))
end;
Exit;
end;
end;






procedure WrapUpCommonStuff;
begin
StopTheEnts;
FindFastRandoms;
end;


procedure ChopChop;
var
Tol, iX, iY: Integer;
begin
if (not (LoggedIn)) then NextPlayer(False);
Tol := 5;
repeat
if (FindColorSpiralTolerance(iX, iY, Tree1, msx1, msy1, msx2, msy2, Tol)) or
(FindColorSpiralTolerance(iX, iY, Tree2, msx1, msy1, msx2, msy2, Tol)) or
(FindColorSpiralTolerance(iX, iY, Tree3, msx1, msy1, msx2, msy2, Tol)) or
(FindColorSpiralTolerance(iX, iY, Tree4, msx1, msy1, msx2, msy2, Tol)) then
MMouse(iX, iY, 2, 2);
Wait(750 + Random(750));
FindHead;
if (not (IsUpTextMulti('ree', 'hop down', 'Cho'))) then
begin
WriteLn('Couldn''t Find Tree, Increasing Tolerance');
end;
Tol := Tol + 1;
Wait(150 + Random(250));
FindHead;
case Random(2) of
0: Exit;
1: WriteLn(' Tolerance := ' + IntToStr(Tol));
end;
until (IsUpTextMulti('ree', 'hop down', 'Cho') or (Tol = 20))
if (Tol = 20) then
begin
Players[CurrentPlayer].Loc := 'No Tree';
NextPlayer(False);
end;
StopTheEnts;
FindFastRandoms;
Mouse(iX, iY, 0, 0, True);
Flag;
WrapUpCommonStuff;
Wait(Players[CurrentPlayer].Integer1 * 1000 + Random(1500));
end;



procedure DropIt;
var
cx, cy: Integer;
begin
repeat
if (FindDTM(Log, cx, cy, mix1, miy1, mix2, miy2)) then
MMouse(cx, cy, 2, 2);
Wait(100 + Random(256));
Mouse(cx, cy, 0, 0, False);
if (not (ChooseOption(cx, cy, 'rop'))) then
begin
MouseItem(1, True);
end;
ChooseOption(cx, cy, 'rop');
Wait(1500 + Random(750));
Dropped := Dropped + 1;
until (not (FindDTM(Log, cx, cy, mix1, miy1, mix2, miy2)))
Players[CurrentPlayer].Integer2 := Players[CurrentPlayer].Integer2 + Dropped;
Loads := Loads + 1;
end;

procedure GetTreeExp1;
begin
case LowerCase(Players[CurrentPlayer].String1) of
'tree': TreeXP := 25;
'oak': TreeXP := 75 / 2;
'willow': TreeXP := 125 / 2;
'maple': TreeXP := 100;
'mahogany': TreeXP := 125;
'yew': TreeXP := 175;
'magic': TreeXP := 250;
end;
end;



procedure SetUp;
begin
if (not (LoggedIn)) then LoginPlayer;
FindAxeHeadColor;
SetChat('On', 1);
SetChat('Off', 2);
SetChat('Off', 3);
HighestAngle;
GetTreeExp1;
Loads := 0;
Dropped := 0;
end;


procedure Report;
begin
WriteLn('BuckleyInDaHouse''s Power Chopper Version 1');
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn('Player : ' + Players[CurrentPlayer].Name);
WriteLn('Auto Time : ' + ScriptTime2(2));
WriteLn('Loc : ' + Players[CurrentPlayer].Loc);
WriteLn('Chopped : ' + IntToStr(Players[CurrentPlayer].Integer2) + ' Logs');
WriteLn('Experience : ' + IntToStr(Players[CurrentPlayer].Integer2 * TreeXP));
WriteLn('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
WriteLn('');
WriteLn('Please report any bugs at my thread : [url]http://www.villavu.com/forum/showthread.php?t=9617[/url] ');
end;


begin
SetUpSRL;
DeclarePlayers;
DeclareImages;
repeat
repeat
SetUp;
repeat
ChopChop;
until (InvFull);
DropIt;
Report;
until (Loads = Players[CurrentPlayer].Integer2)
NextPlayer(True);
until (False)
end.







d3mon

2007-05-22 21:24:01

[Runtime Error] : Exception: Access violation at address 0064C975 in module 'SCAR.EXE'. Read of address FFFFFFFF in line 100 in script C:\PROGRAM FILES\SCAR 2.03\includes\srl\srl\core\Setup.scar


error…can u tell me whats wrong?

d3mon

2007-05-22 21:29:58

and i get this too…[Runtime Error] : Out Of Range in line 35 in script C:\WINDOWS\Desktop\power chopper 1[1].0.scar



im using 2.03

The devil

2007-05-26 03:31:22

BuckleyInDaHouse PowerChopper v1

Number 1.

Woot '100th' Post!!!

Stinkie

2007-05-28 15:56:29

i tried it, set everything only thing it did was:
friends chat: off
trade/compete: off
set screen highest view.
and then the mouse set in the upper left corner, didn't do a thing.

problem: couldn't find tree
PM me if you fix it:)

i'm quite new to SCAR scripting so if someone could help me, that would be nice.
i tried a little of scripting but it didn't go as i wanted.
if someone could teach me some things i would really apreciate it, and maybe give a little
fee, hope to cya soon.

Mail: [email]peterwouters_9@hotmail.com[/email]

Buckleyindahouse

2007-05-28 16:20:49

Did you set the tree colors and drag the crosshair onto RS?

Buylobshere

2007-05-29 03:34:48

Sorry…new here. How do I do that

Buckleyindahouse

2007-05-29 08:24:27

From: Buylobshere
Sorry…new here. How do I do that


There are guides on tutorial island that show you how to auto.

gillian

2007-06-08 09:59:51

Chopping normal trees E of Varrock.

Okay .. hmm. Am using SCAR 2.03 and SRL 3.6. Picked my colors .. would chop a tree and then walk to another tree instead of chopping the one next to me.

I decreased the time to wait between cutting to 5 .. once it got going - it was going well. Then I got a full inventory and a Dwarf came along. The script kept trying to drop the logs, but wouldn't. Instead it would right click the harp, hit cancel, and then try to chop more logs.

Wouldn't respond to Dwarf random.

Most interesting is the progress report .. which is a complete lie:

BuckleyInDaHouse's Power Chopper Version 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Player :
Auto Time : 6 Minutes, and 34 Seconds
Loc : Chopping
Chopped : 201 Logs
Experience : 5025
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please report any bugs at my thread : http://www.villavu.com/forum/showthread.php?t=9617
Axe head colors: 5066068 4737359 4737359
Tolerance := 6
BuckleyInDaHouse's Power Chopper Version 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Player :
Auto Time : 7 Minutes, and 5 Seconds
Loc : Chopping
Chopped : 202 Logs
Experience : 5050
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please report any bugs at my thread : http://www.villavu.com/forum/showthread.php?t=9617
Axe head colors: 5066068 4737359 4737359
BuckleyInDaHouse's Power Chopper Version 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Player :
Auto Time : 7 Minutes, and 22 Seconds
Loc : Chopping
Chopped : 203 Logs
Experience : 5075
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please report any bugs at my thread : http://www.villavu.com/forum/showthread.php?t=9617
Axe head colors: 5066068 4737359 4737359
BuckleyInDaHouse's Power Chopper Version 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Player :
Auto Time : 7 Minutes, and 41 Seconds
Loc : Chopping
Chopped : 204 Logs
Experience : 5100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please report any bugs at my thread : http://www.villavu.com/forum/showthread.php?t=9617
Axe head colors: 5066068 4737359 4737359
Tolerance := 6
BuckleyInDaHouse's Power Chopper Version 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Player :
Auto Time : 8 Minutes, and 13 Seconds
Loc : Chopping
Chopped : 205 Logs
Experience : 5125
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please report any bugs at my thread : http://www.villavu.com/forum/showthread.php?t=9617
Axe head colors: 5066068 4737359 4737359
BuckleyInDaHouse's Power Chopper Version 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Player :
Auto Time : 8 Minutes, and 31 Seconds
Loc : Chopping
Chopped : 206 Logs
Experience : 5150
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please report any bugs at my thread : http://www.villavu.com/forum/showthread.php?t=9617
Axe head colors: 5066068 4737359 4737359
Tolerance := 6
BuckleyInDaHouse's Power Chopper Version 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Player :
Auto Time 9 Minutes, and 0 Seconds
Loc : Chopping
Chopped : 207 Logs
Experience : 5175
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please report any bugs at my thread : http://www.villavu.com/forum/showthread.php?t=9617
Axe head colors: 5066068 4737359 4737359
Successfully executed


I only chopped one inventory of logs and no way in hell did I get that much experience.

Needs a bit of work m'dear :)

Buckleyindahouse

2007-06-08 10:54:30

From: gillian
Chopping normal trees E of Varrock.

Okay .. hmm. Am using SCAR 2.03 and SRL 3.6. Picked my colors .. would chop a tree and then walk to another tree instead of chopping the one next to me.

I decreased the time to wait between cutting to 5 .. once it got going - it was going well. Then I got a full inventory and a Dwarf came along. The script kept trying to drop the logs, but wouldn't. Instead it would right click the harp, hit cancel, and then try to chop more logs.

Wouldn't respond to Dwarf random.

Most interesting is the progress report .. which is a complete lie:



I only chopped one inventory of logs and no way in hell did I get that much experience.

Needs a bit of work m'dear :)


Thank, Reports like his gets my scripts fixed cause i actually know whats wrong with.

Thank You,
Buckley.

gillian

2007-06-09 01:54:06

You are more than welcome, hun :) more than happy to post proggys since my dumb a#$ will never be a scripter :p

fuzzball109

2007-07-11 08:57:08

please help this is what it sed Successfully compiled
SRL Compiled in 250msec.
[Runtime Error] : Out Of Range in line 35 in script

Santa_Clause

2007-07-11 09:04:26

You just bumped a 1 month old script.

fuzzball109

2007-07-11 18:13:47

what that mean??

Buckleyindahouse

2007-07-11 18:53:02

It means that this script is old and chances are doesn't work too well.

fuzzball109

2007-07-12 08:18:49

oo

kyle20052

2007-07-28 11:08:33

omg!!!!!!!!!!!!!!!evry single script i run it does the same thing!!!-



when it logges on it dosent do anything not even check in

some one help b4 i kill sum one plz!!!

issamawan

2007-08-01 09:10:35

Failed when compiling
Line 25: [Error] (35:1): Duplicate identifier 'UpChars' in script C:\Program Files\SCAR 3.10\includes\srl\srl\core\Globals.scar


help me…its with every other script

Buckleyindahouse

2007-08-01 15:00:38

Download latest SRL.

issamawan

2007-08-01 17:23:03

yea this is after the latest srl…cud u gimme srl version to use?

Bonfield

2007-08-01 23:26:53

Runtime Error] : Exception: Access violation at address 006FD548 in module 'scar.exe'. Read of address 00000030 in line 186 in script C:\Program Files\SCAR 3.11\includes\srl\srl\core\AntiRandoms\Demon.scar

i get this error any ideas? demon.scar opens in a new tab

Godlike007

2007-08-02 03:27:36

Does that have autocolor? if have it doesnt work for me… how i can set colors manually?:spot: