
Originally Posted by
chongc
Got this error, not really sure why:
[Error] C:\Simba\Scripts\BarbFlyFisher(1.75).Simba(621:10) : Duplicate identifier 'GETKEYBIND' at line 620
I had this error aswell mate, this is what I've done to "fix" it, it is by no means an official fix and I recommend you wait for one, if you're impatient though I recommend you atleast backup the file before changing it, also I have only tested this for a short period of time powerfishing so am unsure of any negative effects:
Go to:
Simba\Includes\SRL\SRL\Core
Find and open gametab.simba (I used Notepad++)
Find:
Code:
function GetKeyBind(Slot: Integer): String;
begin
if not InRange(Slot, 1, 12) then
begin
srl_Warn('GetKeyBind', 'Slot must be within 1-12!', warn_AllVersions);
Exit;
end;
Result:= GetTextAt(13 + 36 * Slot, 316, 0, 0, 0, 3111603, 0, 1, UpChars);
end;
Replace it with:
Code:
(*
function GetKeyBind(Slot: Integer): String;
begin
if not InRange(Slot, 1, 12) then
begin
srl_Warn('GetKeyBind', 'Slot must be within 1-12!', warn_AllVersions);
Exit;
end;
Result:= GetTextAt(13 + 36 * Slot, 316, 0, 0, 0, 3111603, 0, 1, UpChars);
end;
*)
Save, exit and re-run the script.