
Originally Posted by
vashanddou
Just wanted to say you make amazing cookers, and scripts in general. I used your rogue's den for 99 cook on main and now im gonna use this for 99 cook on alt =D
Thanks 

Originally Posted by
vashanddou
small problem i've noticed,
your bot stops when you level up. or atleast for me it does, and it
doesn't click the "click here to continue"
Well, that would be handled in WaitToCook:
Simba Code:
function WaitToCook: Boolean;
var
T, Raws, RanWait, i: Integer;
begin
if not(LoggedIn) then
Exit;
Raws := CountRaw;
for i := 1 to High(Raws) do
IncEx(RanWait, Random(20));
T := GetSystemTime + (2400 * CountRaw + RanWait);
repeat
R_FindRandoms;
Antiban(RandomRange(1, 3));
if LevelUp then //this line
Inc(Players[CurrentPlayer].Integers[13]);
Wait(600 + Random(100));
until (GetSystemTime > T);
Result := (CountCooked > 0);
end;
The line I added a comment to handles level up detection. This is an SRL function, so it should work. The SRL function handles clicking, and when cooking after you click the button you (are supposed to) continue cooking.
I've written a function the works like SRL's LevelUp, except it uses the reflection variety of the same functions. See Revision 09 and tell me if the problem is solved.