K
konrad112
Guest
hey guys i found a woodcutter script off a friend. idk where he got it. but when i use it, i get about 10 cuts then it just freezes up
i was wondering if its a problem with the script or if its just me.
well if anyone can help here is the script
program TreeKiller;
const
TreeClr = 1256488;
TreeClr1 =862242;
TreeClr2 =2575942;
AtkClr =192;
Var
xx, yy, x, y: Integer;
begin
repeat
if(FindColor(xx,yy, AtkClr, 0, 0, 763, 499))then
begin
MouseBox(641, 11, 641, 11);
Wait(200);
ClickMouse(641, 11, true);
end;
if(FindColor(xx, yy, TreeClr, 0, 0, 763, 499))then
begin
GetMousePos(x,y);
MouseBox(xx, yy,xx, yy)
Wait(500 + random (750));
ClickMouse(xx, yy, true)
Wait(3000);
MouseBox(0,0,764,502)
Wait(500 + random (750));
MouseBox(573,228,573,228);
Wait(1000);
ClickMouse(573,228,false);
Wait(3000);
MouseBox(551,272,551,272);
Wait(1000);
ClickMouse(551,272,true);
end;
if(FindColor(xx, yy, TreeClr1, 0, 0, 763, 499))then
begin
GetMousePos(x,y);
MouseBox(xx, yy,xx, yy)
Wait(500 + random (750));
ClickMouse(xx, yy, true)
Wait(3000);
MouseBox(0,0,764,502)
Wait(500 + random (750));
MouseBox(573,228,573,228);
Wait(1000);
ClickMouse(573,228,false);
Wait(3000);
MouseBox(551,272,551,272);
Wait(1000);
ClickMouse(551,272,true);
end;
if(FindColor(xx, yy, TreeClr2, 0, 0, 763, 499))then
begin
GetMousePos(x,y);
MouseBox(xx, yy,xx, yy)
Wait(500 + random (750));
ClickMouse(xx, yy, true)
Wait(3000);
MouseBox(0,0,764,502)
Wait(500 + random (750));
MouseBox(573,228,573,228);
Wait(1000)
ClickMouse(573,228,false);
Wait(3000);
MouseBox(551,272,551,272);
Wait(1000);
ClickMouse(551,272,true);
end;
Until(false);
end.
thanks for your help
i was wondering if its a problem with the script or if its just me.
well if anyone can help here is the script
program TreeKiller;
const
TreeClr = 1256488;
TreeClr1 =862242;
TreeClr2 =2575942;
AtkClr =192;
Var
xx, yy, x, y: Integer;
begin
repeat
if(FindColor(xx,yy, AtkClr, 0, 0, 763, 499))then
begin
MouseBox(641, 11, 641, 11);
Wait(200);
ClickMouse(641, 11, true);
end;
if(FindColor(xx, yy, TreeClr, 0, 0, 763, 499))then
begin
GetMousePos(x,y);
MouseBox(xx, yy,xx, yy)
Wait(500 + random (750));
ClickMouse(xx, yy, true)
Wait(3000);
MouseBox(0,0,764,502)
Wait(500 + random (750));
MouseBox(573,228,573,228);
Wait(1000);
ClickMouse(573,228,false);
Wait(3000);
MouseBox(551,272,551,272);
Wait(1000);
ClickMouse(551,272,true);
end;
if(FindColor(xx, yy, TreeClr1, 0, 0, 763, 499))then
begin
GetMousePos(x,y);
MouseBox(xx, yy,xx, yy)
Wait(500 + random (750));
ClickMouse(xx, yy, true)
Wait(3000);
MouseBox(0,0,764,502)
Wait(500 + random (750));
MouseBox(573,228,573,228);
Wait(1000);
ClickMouse(573,228,false);
Wait(3000);
MouseBox(551,272,551,272);
Wait(1000);
ClickMouse(551,272,true);
end;
if(FindColor(xx, yy, TreeClr2, 0, 0, 763, 499))then
begin
GetMousePos(x,y);
MouseBox(xx, yy,xx, yy)
Wait(500 + random (750));
ClickMouse(xx, yy, true)
Wait(3000);
MouseBox(0,0,764,502)
Wait(500 + random (750));
MouseBox(573,228,573,228);
Wait(1000)
ClickMouse(573,228,false);
Wait(3000);
MouseBox(551,272,551,272);
Wait(1000);
ClickMouse(551,272,true);
end;
Until(false);
end.
thanks for your help

