Fishh
2013-02-25 20:44:47
Hey, I'm making a small Fishing Guild script for '07. I've managed to find a fishing spot, right click and select Harpoon. The problem is I want it to only select Lobster/Sword/Tuna fishing spots and it selects Shark fishing spots as well.
I have the UpText set for 'Cage' but it still selects the 'Net' spots, there isn't a colour differentiation between them either (I don't think)
How would I solve this? Cheers.
I'm also completely new to Pascal as well, only know C#.
program GuildFisher;
{$i SRL/SRL.simba}
{$i P07Include.simba}
procedure P07_DeclarePlayer;
begin
P07_PlayerName := '';
P07_PlayerPass := '';
P07_PName := ''
P07_PPass := '';
end;
function FishSpot: boolean;
var
x, y: integer;
begin
if P07_FindObjCustom(x, y, ['Cage'], [15717294, 14198143], 5) then
Wait(100 + random(100));
ClickMouse2(mouse_right);
Wait(50 + random(126));
P07_ChooseOptionMulti(['Harpoon']);
end;
begin
SetupSRL;
SetupP07Include;
P07_DeclarePlayer;
FishSpot;
end. I have the UpText set for 'Cage' but it still selects the 'Net' spots, there isn't a colour differentiation between them either (I don't think)
How would I solve this? Cheers.
I'm also completely new to Pascal as well, only know C#.