Saint//+
2013-02-06 17:40:57
I tried using leetz and Sjoekeloe's chocolate crushers and couldn't figure out how to get either of them to work.
so i decided to modify leetz script to get it to work with the new pop up window for cooking.
It seems like for the most part it is working smooth except sometimes when it clicks the big blue crush button it doesn't start crushing then the mouse moves to a random location waits a minute then right clicks the chocolate again selecting powder before clicking the blue crush button.
how can i fix it so that it clicks the blue button instead of trying to right click the chocolate bar again when it doesn't need to.
im attaching my script and be warned its probably a mess all i know of programming i know from this site and am just beginning to understand it.
this is the section of code that works the blue botton
so i decided to modify leetz script to get it to work with the new pop up window for cooking.
It seems like for the most part it is working smooth except sometimes when it clicks the big blue crush button it doesn't start crushing then the mouse moves to a random location waits a minute then right clicks the chocolate again selecting powder before clicking the blue crush button.
how can i fix it so that it clicks the blue button instead of trying to right click the chocolate bar again when it doesn't need to.
im attaching my script and be warned its probably a mess all i know of programming i know from this site and am just beginning to understand it.
this is the section of code that works the blue botton
procedure CrushProcess;
var
Continuez:boolean;
begin
sleep(randomrange(50,200));
if(WaitFunc(@FindChoc, 50, 3000))then
begin
statsguise('crush?');
Mouseitem(Randomrange(1,28),0);
WaitOption('owder', 3000);
Wait(50 + Random(20))
HumanMouseBox(401, 306, 477, 326) // Clicks on The Big Blue Grind
FastClick(True)
Wait(16000 + Random(300))
HumanMMouse(RandomRange(1,500), RandomRange(1, 500), 0, 0); //Moves mouse to random position after Craft
End;
if(Continuez=true)then
begin
Antiban;
if(WaitFunc(@FindDustLastSlot, 50, 40000))then Crushes:=Crushes+28;
end;
end;