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

"SMART fixes" revised SMART.scar error?


Runaway

2008-11-18 18:47:00

When I loaded the revised SMART.scar from the "SMART Fixes" thread into my includes folder and put the new Embedded.dll into my plugins, I tried to run a SMART script and got:

Line 86: [Error] (108:187): Invalid number of parameters in script.


It opens up SMART.scar in a new tab and puts the cursor on:

SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)));
end;

Any solutions?? :confused:

Method

2008-11-18 19:03:11

Make sure the old plugin isn't in the Plugins folder in your SCAR directory.

Runaway

2008-11-18 19:13:15

I overwrited the old one. Does that change anything?

Method

2008-11-18 19:14:45

From: Runaway Cop
I overwrited the old one. Does that change anything?


Well, if you get the invalid number of parameters error, it either means your Smart.scar is outdated (which it doesn't look like it is), or you have the wrong (or both) plugin. Make sure you've got the right one again.

Runaway

2008-11-18 19:22:36

Ah I found it. I had it inside the "plugins" folder and the "place inside plugins folder". Thanks for your help Method :D

Runaway

2008-11-18 19:26:49

although now when I run it I'm gettin' this:

Line 4: [Error] (26:11): Unknown identifier 'SmartIsKeyDown' in script.


To do with this:

function IsKeyDown(C:Char): Boolean;

begin
Result := SmartIsKeyDown(ord(c));
end;

Method

2008-11-18 19:50:52

That probably means that you don't have a SMART plugin at all in the Plugins folder. You need the correct one in the one inside the SCAR folder, not the SRL one.

Runaway

2008-11-18 19:57:44

Wow, I am an idiot. Thanks again! (rep fo you :) )

Sags

2008-11-19 04:33:38

could anyone possibly link me to the fixed embedded_Smart.dll i cant view the original thread as i don't have sufficient privileges