SRL Archive - S.M.A.R.T.

Someone wanna help me out here...?


IluvSCAR

2008-03-17 21:29:20

I figured it out! thanks for the help Hy71194!

Harry

2008-03-17 21:46:26

Took me aprox. 12 seconds to find this:
http://www.villavu.com/forum/showthread.php?t=27482

IluvSCAR

2008-03-17 21:51:01

i saw that too, however, like I said, I dont find it very helpful because it isnt very specific…
it says this:

go to the top look for …
ScarScript: By Drunkenoldma

{.include SRL/SRL.scar}


then above that add…
ScarScript: By Drunkenoldma

{.include SRL/SRL/Misc/Smart.scar}


where do I add that? In the script? Did that. The same error happens
And where do I add this stuff??? -

ScarScript: By Drunkenoldma

const
SmartWorld = 1;
Signed = True;


This is declaring what World and if you want it to be signed or not…

Then add…

ScarScript: By Drunkenoldma

procedure SetupSmart;
begin
SmartSetupEx(SmartWorld, false, Signed);
ClearDebug;
WriteLn('Setting up Smart… Please Hold…');
Wait(10000 + random(5000));
SetTargetDC(SmartGetDC);
While not(SmartReady) do Wait(100);
end;

Harry

2008-03-17 21:55:20

It says it. Look for "{.include SRL/SRL.scar}" and add that line above it. I find it pretty self-explanatory.

IluvSCAR

2008-03-17 21:59:14

In the script I am trying to run or in the smart.scar file?

I did that in the script but then SCAR opens up a new tab titled Smart.scar and gives me the same error

Harry

2008-03-17 22:01:04

In the script you are using.

Don't ever even open the SMART.scar file :p

IluvSCAR

2008-03-17 22:04:54

ok then, I added the line above the other one.
Now it looks like this:

program Powerminer;
{.include SRL/SRL/Misc/Smart.scar}
{.include SRL\SRL.scar}


But when I try to run it it says 'Line 1: [Error] (1:1): Unable to complete functoin function….blah blah blah



Btw thanks for helpin me out, I appreciate it