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

simple question


sylvawarrior

2008-06-30 11:44:10

I must be doing something wrong when setting up smart. I editted the srl.scar and the smart.scar. and I get an error saying type mismatch in srl.scar. If someone could just post their already set up srl.scar and smart.scar, or walk me through it so maybe next time I wont have to ask a stupid question.:D

sirlaughsalot

2008-06-30 13:06:46

follow http://www.villavu.com/forum/showthread.php?t=21279 tut

or

put it back to normal and add SMART directly to the script by doing


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

then put SetupSmart; in the main loop before any logging in goes on, and add {.include SRL/SRL/Misc/SMART.Scar} at the very beginning under program and before {.Include SRL/SRL.Scar}

then in the constants put
SmartWorld={whatever world you want on};
Signed={True or False};