SRL Archive - OSR Help

Script hovers over 'all' fishing spots and doesn't click


Shorteh96

2013-03-04 19:48:17

My script just hovers over all the net fishing spots and switches between each spot really fast and doesn't click them, it also doesn't print "fishin'", why?!

program NETFisher;

{$I SRL/SRL.Simba}
{$I SRL/SRL/Misc/Debug.Simba}
{$I P07Include.Simba}

var
x,y,fishDTM,logDTM,tinderDTM,test: Integer;
Text: TStringArray;

procedure DTMS;
Begin
fishDTM := DTMFromString('mFQEAAHicncsxCsJAFEXRN2AQMUoWa28jYrC2tjIwINE1iKCFYjspYoKiIEM2oIXeYhpL/XCKx+X3JHWNFKONCB20ghf9iTcStkEfF7bHA1dUKFGgDq0J3eEMe2y03HnZvdd4ddPQOqV5pUHmZLd3zdYnTfKDprTRwmm+qRXx9yvzh6/7APp8Kzs=');
logDTM := DTMFromString('maQEAAHicE2RgYNjBxMCwB4iPAfEJKD4IxLugYmeB+DQQbwXiLUB8GIiPAvE5qNq9QPwYaM59IL4HxLeB+AkQvwbil0D8AoifQtnPoXIgdbegYiB174B4RUc8Q1u6HRiXx1iAcV++M1gcRFfHWYLpWbXhDCWRZgyd2Q4MvtbKcHVTi10YWIHmUIoZqYAxAAAEpDDy');
tinderDTM:= DTMFromString('mfgEAAHicE2JgYIhnYmBIB+IyIM4F4hQgTgLiDCAuAOJSIK4E4kIgLoLSOUCcB8QVUBqk7ynQrLtAfBOIHwPxMyB+A8TvoPgFED8B4ldI8iD2R6jcHSB+AMRrFy5kaCgvZ4iLiGBYNG0aw9JZMxmWz57NsGTGdIY5EycydNTXMeSnp4PlEh054XhmXx9QNyNDTXExw/TeHgZWII8amJFKGBMAAK26MVs=');
WriteLn('Loaded DTM''s');
end;

procedure DTMFree;
Begin
FreeDTM(fishDTM);
FreeDTM(logDTM);
FreeDTM(tinderDTM);
WriteLn('Freed DTM''s');
end;

procedure goFish;
Begin
P07_TabInventoryTab(4);
repeat
If P07_FindObjCustom(x, y, ['Raw', 'et', 'Fishing', 'pot'], [13475438, 14199172, 15124146, 15252893, 15920354], 5) Then
begin
ClickMouse2(mouse_left);
WriteLn('Fishin''');
test := 1;
Wait(RandomRange(8000,10000))
end
else
P07_MakeCompassDegree(Random(360));
Wait(Random(1000));
until(P07_InvFull)
end;

//procedure toTree;
//Begin
// RadialWalk(RoadColor, 315, 22, 65, -1, 0);
//end;

procedure antiBan;
begin
case Random(200) of
0: P07_HoverSkill('Fishing',1000+Random(4000));
1: P07_HoverSkill('Cooking',1000+Random(4000));
2: P07_MakeCameraAngleLow;
3: P07_MakeCameraAngleHigh;
4: MMouse(257,183,5,5);
4: ClickMouse2(mouse_right);
4: MMouse(100+Random(300),100+Random(300),10,10);
5: P07_MakeCompassDegree(Random(360));
end;
end;

Begin
SetupSRL;
SetupP07Include;
DTMS;
AddOnTerminate('DTMFree');
repeat
antiBan;
goFish;
until(not P07_Loggedin);
end.

Justin

2013-03-05 20:51:45

If it's hovering over the fishing spots then the only reason I can think of is that it is unable to find the uptext.
try using
writeln(GetUpText);
and find the uptext that is it reading

mmmvvvbbb

2013-03-06 02:18:52

Is your brightness all the way up? Did you change to font folder name maybe it has a (1) because you downloaded 2 of them? Here is your most likely problem, did you drag the crosshair onto runescape? and lastly check if your font is in 'C:\Simba\Fonts\P07UpChars' and not in 'C:\Simba\Fonts\P07UpChars\P07UpChars'.

tealc

2013-03-06 02:23:17

doesn't setupsrl mess up 07 uptext?

Justin

2013-03-06 09:18:35

From: tealc
doesn't setupsrl mess up 07 uptext?


But then I think SetupP07Include solves any issues that is caused by SetupSRL; Not sure as it's not the official include