3Garrett3
03-19-2007, 10:08 PM
Is the ent finding in srl good or do i need a different kind? I am making a cutter (obviously) and i need to know the best ent finder available to me (ie Quickest/Finds almost every time)
bullzeye95
03-19-2007, 10:09 PM
I believe it works perfectly as long as you give it the right color.
3Garrett3
03-19-2007, 10:16 PM
The right color? I thought it has them already?
{************************************************* ******************************
function FindEnt(TreeColor: Integer): Boolean;
By:
Description: Will look for an Ent
************************************************** *****************************}
function FindEnt(TreeColor: Integer): Boolean;
var
i: Integer;
begin
if (Option2('Chop')) then
begin
if (FindColorTolerance(x, y, 383705, 9, 9, 233, 24, 20)) or
(FindColorTolerance(x, y, 65535, 9, 9, 233, 24, 20)) then
begin
GetMousePos(x, y);
Mouse(x, y, 5, 5, False);
if (FindText(x, y, 'Chop down', upchars, x - 50, y - 50, x + 100, y + 50))
then
begin
if (FindColor(x, y, 65535, x + 70, y, x + 100, y + 10)) then
begin
for i := 1 to 2 do
begin
Mouse(648, 83, 1, 1, True)
Flag;
end;
WriteLn('Found ent! Waiting for it to go away');
Wait(30000 + Random(5000));
Result := True;
EntsAvoided := EntsAvoided + 1;
end;
end else
ChooseOption(x, y, 'Cancel');
end;
end;
end;
Where would it not have colors, it looks like they are all there to me? Just the tree color?
bullzeye95
03-19-2007, 10:58 PM
Yeah, I mean if you supply the right tree color when you use the function.
Sumilion
03-20-2007, 12:05 PM
I dont think it worked well, but let us know how it did, im interested :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.