SRL Archive - First Scripts

All In ONE Woodcutter Made by Edgee


Edgeeawaits

2012-04-22 11:49:39

EDGEE AWAITS PRESENTS HIS SECOND SCRIPT

Version 1.0 Still in Beta Testing
Features
-Normal, Oak, Willow, Yew, And Ivy Are supported
-Auto Colored the tree's
-AntiBan
-FailSafes
-Progress Report
-Banking or Powering, your choice.
LOCATIONS
-Start In Draynor Bank for Normal, Oak, and Willow chopping
-Start at North East ge for Yews/Ivys

KNOWN BUGS
***It Gets an Error saying***
"Warning! You passed a wrong xs to a finder function: -16. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now."
If ANYBODY knows how to fix this and could tell me it would make me very happy. Also I need some people to test this one and give me feedback. Thanks.

NKN

2012-04-22 12:33:39

It usually means your searching out of the screen for said color. Try lowering boxes a bit?

Also, you should really, REALLY combine a lot of those. Use if statements, so, if chopping oak, do this, if doing this, do that. Makes it a lot easier so you don't have the same code over and over. Same goes for progress reports. Do something like:


procedure Progress;
var
LogPH ,XPPH, GPPH: Integer;
Begin
if (Bank = 'No') Then Exit;
if (Bank = 'Yes') Then
begin
LogPH := Round((Logs * 3600) / (GetTimeRunning / 1000));
case Logs of
Oak: XPPH := Round(((Logs * 38) * 3600) / (GetTimeRunning / 1000));
Logs: XPPH := Round(((Logs * 38) * 3600) / (GetTimeRunning / 1000));
Rest here: Blah blah blah
end;
//Same for GP, and anything else.
ClearDebug;
Writeln('~~~~~~~~~~ALLINONECHOPPER~~~~~~~~~~~~~');
Writeln('~~~~~By Edgee Awaits~~~~~');
Writeln('Logs Cut: ' + IntToStr(Logs) + '('+ IntToStr(LogPH) + 'Per Hour)');
Writeln('CashGained: ' + IntToStr(Logs * 62)+ '(' + IntToStr(GPPH) + 'Per Hour)');
Writeln('Experience earned: ' + IntToStr(Logs * 38)+ ' (' + IntToStr(XPPH) + ' Per Hour)');
Writeln('Total Time: ' + TimeRunning);
Writeln('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
end;
end;


Edit: You left your password in, I changed the password, I don't know if someone got on before me and got everything. I'll PM you new pass.

Sockz

2012-04-22 23:54:23

Wow pretty nice script. A bit more info on where it actually cuts would be helpful :p

Edgeeawaits

2012-04-23 00:05:05

From: Sockz
Wow pretty nice script. A bit more info on where it actually cuts would be helpful :p



Haha, Yeah I guess that would probably help, adding that in now.

orrelu

2012-05-29 21:29:00

when i start up the bot the error (Exception in Script: Unable to find file 'srl/srl.simba' used from '') appears and im not very good with these things. If anyone can tell me what i need to change that would be great.

edgee awaits

2012-06-10 02:00:38

From: orrelu
when i start up the bot the error (Exception in Script: Unable to find file 'srl/srl.simba' used from '') appears and im not very good with these things. If anyone can tell me what i need to change that would be great.


Open Simba
Go To View>Extensions
Double click on srl.sex at the bottom
Then you should be good