From: mika
i said im giving them 100% credit so its not mine.
@eska
yea i made it compatible with simba 0.99
btw i thought it used mousebox, not colors to click the add to bonfire.
It does use mousebox to click on it, but it use color to find if the box is there. Color was outdated and all you had to do is put a new one and/or increase tolerance.
//fixed
function AddingScreen :Boolean;
begin
Result := CountColorTolerance(4206603, 17, 355, 484, 456, 5) > 2000;
end;
function BonBon: boolean; //Modified by Er1k
begin
result:=false;
if not LoggedIn then Exit;
if not (getCurrentTab = tab_Inv) then
FTab(tab_Inv);
if WaitFunc(@FoundInvLogs, 200, 5000) then
begin
ClickMouse2(mouse_Left);
if WaitFunc(@AddingScreen, 200, 5000) then
begin
writeln('Found add to bonfire screen');
MouseBox(323, 411, 389, 448, mouse_Left);
writeln('BONBONBONBON-ing');
result:= true;
end;
end;
end;