From: Wizzup?
Try cloning the correct repository. Or try this latest snapshot: http://wizzup.org/static/srl/srlref.tar.bz2
With both the newest version, and along with me trying tortoise from the link posted in the [How to….] thread, I get a failure here
{*******************************************************************************
function GetMyLocPos: TTile;
By: BenLand100
Description: Returns the global tile position of your player.
*******************************************************************************}
function GetMyLocPos: TTile;
var
me: Integer;
begin
me := SmartGetFieldObject(0, hook_static_MyPlayer);
Result.x := (SmartGetFieldInt(me, hook_animable_PixelX) - SmartGetFieldInt(0, hook_static_BaseX)) / 512;
Result.y := (SmartGetFieldInt(me, hook_animable_PixelY) - SmartGetFieldInt(0, hook_static_BaseY)) / 512;
SmartFreeObject(me);
end;
end; = line 107 :(
Error message:
[Error] D:\…\Simba\Includes\Reflection\./Core/Core.simba(108:3): Unknown identifier 'MarkTime' at line 107
Compiling failed.
Is that bold part supposed to be there? Or is it a mess up on my part?
EDIT: Upon removing the period it didn't change anything
Code attempted:
{$i Reflection\Reflection.simba}
{$i SRL\SRL.scar}
program new;
begin
SetupSRL;
writeln ('test');
end.
Altering the code had no affect on the error.