Black Hat
2006-05-15 19:34:04
When i run ANY dam script it seems to go to the object but not click on it?? how come? I know the basics of scripting could MMouse (x, y, 2, 2,) be the problem….I am using Jagex_Fagex's Power Cutter by the way…Help??
2006-05-15 19:34:04
2006-05-15 19:43:46
2006-05-15 20:00:29
2006-05-15 20:59:07
2006-05-15 21:01:25
2006-05-16 03:30:02
2006-05-16 03:41:19
2006-05-16 11:46:51
2006-05-16 15:18:01
2006-05-16 15:23:13
{--------------------------------------------------------------------------]
{.Script Info:
# ScriptName = Jagex_Fagex's Power Cutter
# Author = Jagex_Fagex
# Description = PowerCuts any type of tree, anywhere
# Version = Beta 4.0
# Date = April 22nd 2006
# Comments = Just Fill in Setup - Lines 29-36, Select Client
= Axe Un - Equipt and away you go.
/Script Info}
{--------------------------------------------------------------------------]
Credits:
JDumber2k - original script
Fawki and All the devs - For creating SRL
The whole community for help and praise
YoHoJo8 - The Tree Finding Procedure
Comments and Script History:
Beta 1.0 - Many bugs, Sometimes drops axe, and does not always cut the
Right tree. I tested on Regular tree's and it was ctting
down an oak tree. Cut in fields where there is 1 type of tree
Beta 2.0 - Fixed Some Major bugs, Sometimes doesn't drop all logs,
and does not always cut the Right tree when all the trees of
type you selected are gone.
Beta 3.0 - Fixed the dropping procedure, now works 100%. Got the
cutting procedure a bit better to.
Beta 4.0 - Fixed the Cutting Procedure - now works 99.9%, Thanks to YohoJo.
{--------------------------------------------------------------------------}
program Cutter;
{.include SRL\SRL.scar}
{.include SRL\SRL\skill\WoodCutting.scar}
var xp, LogsCut, LoadsCut, Reportt :integer;
name:String;
const
{ <===SETUP===<< }
Color =1385775; //Tree Color
Color1 =2440785; //Another Tree Color
MinWait =3000; //Min Wait before trying to cut again
MaxWait =5000; //Max ^^^^ ^^^^^^ ^^^^^^ ^^ ^^^ ^^^^^
TreeType= 1; // 1=normal, 2=oak, 3= willow, 4=maple, 5=yew, 6 magic
{ <===END SETUP===<< }
procedure Getxp;
begin
case TreeType of
1 : xp:= 25;// <--- Xp Per Normal Log !
2 : xp:= 37;// <--- Xp Per Oak Log !
3 : xp:= 67;// <--- Xp Per Willow Log !
4 : xp:= 100;// <--- Xp Per Maple Log !
5 : xp:= 175;// <--- Xp Per Yew Log !
6 : xp:= 200;// <--- Xp Per Magic Log !
end;
end;
procedure GetType;
begin
case TreeType of
1 : name:= 'Chop down Tree /';
2 : name:= 'Chop down Oak /';
3 : name:= 'Chop down Willow /';
4 : name:= 'Chop down Maple /';
5 : name:= 'Chop down Yew /';
6 : name:= 'Chop down Magic /';
end;
end;
procedure report;
begin
If(Reportt >= 27)Then;
ClearDebug;
Writeln('PowerCutter By Jagex_Fagex');
Writeln('--------------------------');
Writeln('Worked for '+ ScriptTime2(2));
Writeln('Cut ' + inttostr(Logscut) + ' Logs');
Writeln('You Have Done ' + +inttostr(LoadsCut) + ' Loads');
Writeln('You Have Gained '+ inttostr(LogsCut*xp) +' Exp');
Writeln('--------------------------');
Reportt:=0
end;
Procedure Rands;
begin
FindNormalRandoms;
FindHead;
FindEnt(color);
FindEnt(color1);
AntiBan;
LogOutEvery(1, 35);
end;
Function Fc :Boolean;
begin
X:=259
Y:=165
if (FindcolorspiralTolerance(x,y,color,1, 1, 740, 460,10))then
MMouse(x,y,2,2);
if(IsUpText(name))then
result:=true;
end;
Function Fc1 :Boolean;
begin
X:=259
Y:=165
if (FindcolorspiralTolerance(x,y,color1,1, 1, 740, 460,10))then
MMouse(x,y,2,2);
if(IsUpText(name))then
result:=true;
end;
procedure CutTrees;
begin
LogsCut:=0;
LoadsCut:=0;
Reportt:=0;
repeat
if(Fc)or(Fc1)then
begin
rands;
wait(50+random(25));
getmousepos(x,y)
mouse(x, y, 2, 2, true)
wait(50+random(25));
wait(MinWait+random(MaxWait))
Rands;
end;
until(InvFull)
LogsCut:= LogsCut + 27;
LoadsCut:= 1//LogsCut / 27;
Reportt:= 27;
end;
procedure pc;
begin
benmouse:=false;
writeln('Powercutting')
rands;
DropTo(2, 28);
benMouse:=true;
end;
begin
SetupSRL;
ActivateClient;
writeln('Powercutting')
repeat
FindAxeHeadColor;
CutTrees;
pc;
Report;
until(false)
end.2006-05-16 15:27:49
2006-05-16 19:44:54