Gu3st...
2010-04-18 14:52:08
In Function MSI_FindMMLocation, is it supposed to exit on line 122 if there is no colors? It will skip symbol searching then..
Line 121 and 122:
And MSI_Flag wont work as we want it to, because of the "if (FlagDistance <= FlagDist) then Break;". What if the character is moving but the flag goes off-screen?
Simple solution is to remove it:
Line 121 and 122:
If (Length(Location.Colors) = 0) Then
Exit;And MSI_Flag wont work as we want it to, because of the "if (FlagDistance <= FlagDist) then Break;". What if the character is moving but the flag goes off-screen?
Simple solution is to remove it:
procedure MSI_Flag(FlagDist: integer);
begin
if WaitFunc(@MSI_IsMoving, 1, 2500 + random(200)) then
while (MSI_IsMoving or FlagPresent) do
begin
FindNormalRandoms;
FFlag(FlagDist);
end;
end;