Log in

View Full Version : this needs to be fixed



nooby noobster
05-23-2007, 09:28 PM
there are mant occuring problems about SRL. here is on that needs to be fixed in the fishing skill. This is the problem:

Failed when compiling
Line 58: [Error] (58:1): Unknown identifier 'GameTab' in script C:\Program Files\SCAR 3.06\includes\SRL\SRL\skill\Fishing.scar

this is the part of the script

{************************************************* ******************************
function FindFishingEquipment(FishingEquipmentColor: Integer; FishingEquipmentName: String): Boolean;
By: Stupid3oooo
Description: Finds your fishing exuipment specified by FishingEquipmentcolor
and Fishing equipment name. Fishingequipmentname should be the uptext.

************************************************** *****************************}

function FindFishingEquipment(FishingEquipmentColor: Integer; FishingEquipmentName: String): Boolean;
var
c: Integer;
begin
GameTab(4);
Result := True; ////////////This line//This line//This line//This line//This line////////////////////////
if (not (FindItemColor(FishingEquipmentColor))) then
begin
FTWait(10 + Random(1));
Result := False;
repeat
c := c + 1;
if (FindItemColor(FishingEquipmentColor)) then
begin
Result := True;
break;
end;
if (FindObj(x, y, FishingEquipmentName, FishingEquipmentColor, 5)) then
begin
RodsFound := RodsFound + 1;
Mouse(x, y, 1, 1, True);
Flag;
FTWait(5 + Random(1));
end
//else if(PickUpItems)then
// ItemGrab;
until (c >= 10);
end;
end;

stupedspam
05-23-2007, 09:32 PM
It works fine in Scar 2.03... Use 2.03 untill Srl come out with new version :D

~Stupedspam

evilwalrus
05-27-2007, 08:47 PM
use current version of scar...