
Originally Posted by
Flight
From the looks of it, you didn't
correctly install SRL5. It's very simple my friend. Download the SRL5 zip file from
HERE, rename your current SRL include to something like "SRL-4", and unzip your downloaded SRL5 file, rename it as "SRL", and stick it in your Includes folder.
No he got it right... NCDS forgot to remove extra variables. Should be gone now.
Edit:
I've been using this to recalibrate North. Called like 8 times every loop in smelter works good.
Simba Code:
r := round(rs_GetCompassAngleDegrees*100.0);
Debugln('Compass: '+tostr(r/100.0)+' Degrees r := ' + ToStr(r));
if InRange(r, 300, 35699) then
begin
Debug('ClickNorth');
ClickNorth(SRL_ANGLE_HIGH);
end;
Note: The compass can be off by exactly 2.6 (2.62) degrees, so I've taken that into account.