So, I have my own woodcutting script and it cuts Willows, when it selects the chop option it clicks it again when its still chopping is there a way to prevent this? like a certain wait?
~Leyser
So, I have my own woodcutting script and it cuts Willows, when it selects the chop option it clicks it again when its still chopping is there a way to prevent this? like a certain wait?
~Leyser
You can make the script check whether the character is doing the animation using pixelshift.
There's a tutorial right here:http://villavu.com/forum/showthread.php?t=74090
Miner & Urn Crafter & 07 Chicken Killer
SPS BlindWalk Tutorial
Working on: Nothing
teacher in every art, brought the fire that hath proved to mortals a means to mighty ends
I still dont get this, where exactly do I put it and call it?
Simba Code://Stolen from the tut:
function Woodcutting: Boolean;
PBox: TBox;
begin
PBox := IntToBox(245, 130, 285, 195);
Result := (AveragePixelShift(PBox, 250, 500) > 400);
end;
//Woodcutting procedure:
procedure Cut;
begin
FindTree; //Your procedure to find tree colors
Mouse(treex, treey, randomx, randomy, True);
repeat
Antiban;
Antirandoms;
WaitWhileCutting; //Count logs you got or whatever
Wait(600); //Wait one whole game tick just in case
until( not (Woodcutting)) //Stops the loop when cutting animation stops
end
Miner & Urn Crafter & 07 Chicken Killer
SPS BlindWalk Tutorial
Working on: Nothing
teacher in every art, brought the fire that hath proved to mortals a means to mighty ends
There are currently 1 users browsing this thread. (0 members and 1 guests)