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

SCAR stops running scripts after SMART opens.


bradfootball33

2008-03-31 15:57:20

Well, i am trying to add SMART to "Zephyr's Draynor Yew Gatherer Ver 1.2.scar", but every time i run the script, it stops as soon as SMART opens. Someone please help!?!?!:confused:

mixster

2008-04-01 03:55:52

It may be that it has an anti-SMART feature built in, in which case I think it's better you learn scripting to remove it OR you may need to update your Java to 1.6 update 5 (I think that's the latest, though if not, update to the latest) and have you used Markus's method (changing SRL.scar and Smart.scar by adding something like "{$DEFINE SMART}" to it) or customly added it yourself via SmartSetup/Ex? If the second option, post what you have as you may have set it up wrong or if using Markus's method, then it may be you haven't followed the tut properly and should go back and double check.

ZephyrsFury

2008-04-01 04:27:23

From: mixster
It may be that it has an anti-SMART feature built in, in which case I think it's better you learn scripting to remove it OR you may need to update your Java to 1.6 update 5 (I think that's the latest, though if not, update to the latest) and have you used Markus's method (changing SRL.scar and Smart.scar by adding something like "{$DEFINE SMART}" to it) or customly added it yourself via SmartSetup/Ex? If the second option, post what you have as you may have set it up wrong or if using Markus's method, then it may be you haven't followed the tut properly and should go back and double check.


Theres no anti-SMART feature or anything of that kind because I use SMART myself. :p And like I suggested on my thread and like how mixter has explained use Markus' method of adding SMART. Its in the tuts section and theres a link on my thread.

mixster

2008-04-01 04:34:16

From: ZephyrsFury
anti-SMART feature.

My personal favourite so far has been

{IFDEF SMART}
TerminateScript;
{ENDIF}
Or something like that, can't remember who it was, but it made me chuckle - especially as they recommended using Markus' method of using SMART.

Anyway, on topic, I was actually asking what setup method he's using as it may be that he's used Markus' method and forgotten something or done it himself and forgot to do "SetTargetDc(SmartGetDC);" etc. :)