SRL Archive - S.M.A.R.T. Questions and Answers.

S.M.A.R.T. doesn't work.


inkw10

2008-08-01 11:40:29

I have Embedded Smart.dll in SCAR/Plugins.
&
Smart.scar in SCAR/Includes/SRL/SRL/Misc.

But how i can not run Smart…

Line 1650: [Error] (19158:48): Invalid number of parameters in script D:\Documents and Settings\Ingmar\Desktop\RM Power Cutter 3.60 SMART.scar

Line 1650 is:
procedure SetupSmart;
begin
SmartSetupEx(UseSmartWorld, false, SmartSigned);

Help? :(

PvH

2008-08-01 11:45:20

Make that line:
SmartSetupEx(UseSmartWorld, true, SmartSigned, false);
Smarts setup changed
It is now:
world, safemode, signed, high detail ;)

PvH

inkw10

2008-08-01 16:52:58

Hmm, got past that line now.
:D Thank you!

New error now =/ .

Line 1655: [Error] (19163:11): Unknown identifier 'SmartReady' in script D:\Documents and Settings\Ingmar\Desktop\Ingmar\RM Power Cutter 3.60 SMART.scar

Line 1655 is:
While not(SmartReady) do Wait(100);
end;

TViYH

2008-08-01 20:25:38

change it to While not(SmartActive) do Wait(100);

inkw10

2008-08-02 10:24:54

Hmm, got that working , ty =)

New error!

Line 1820: [Hint] (19328:1): Variable 'I' never used in script D:\Documents and Settings\Ingmar\Desktop\Ingmar\RM Power Cutter 3.60 SMART.scar
Line 1820: [Hint] (19328:1): Variable 'H' never used in script D:\Documents and Settings\Ingmar\Desktop\Ingmar\RM Power Cutter 3.60 SMART.scar
Line 2099: [Error] (19607:43): Type mismatch in script D:\Documents and Settings\Ingmar\Desktop\Ingmar\RM Power Cutter 3.60 SMART.scar


Line 1820 is:
x, y, i, h:integer;
Line 2099 is:
SortCircleWise(tpa, cx, cy, SD, ED, False);

More help please :) :( .

TViYH

2008-08-03 00:01:58

The hints are nothing to worry about.

The usage of SortCirlceWise is SortCircleWise(var tpa: TPointArray; cx: Integer; cy: Integer; StartDegree: Integer; SortUp: Boolean; ClockWise: Boolean);

ItsEmerica

2008-09-07 00:19:38

From: TheVoiceInYourHead
The hints are nothing to worry about.

The usage of SortCirlceWise is SortCircleWise(var tpa: TPointArray; cx: Integer; cy: Integer; StartDegree: Integer; SortUp: Boolean; ClockWise: Boolean);


Ohkay I followed what you did because I was having the same trouble and the same errors and its led me up to this next error…

Line 3401: [Error] (21335:24): Invalid number of parameters in script C:\Program Files\SCAR 3.15\Scripts\RM Power Cutter 3.60 SMART-4.scar

Line 3400: RMDebug('adjusting brightness');
Line 3401: SetBar('brightness', 4);


Help please :)