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

Invalid number of Parameters....please help


lordtivo

2008-12-13 13:59:59

Failed when compiling
Line 85: [Error] (87:46): Invalid number of parameters in script C:\Users\Vito\Desktop\tivo's scar\includes\SRL/SRL/Misc/SMART.Scar

heres the line:

SmartSetup(prefix, safe, signed, superDetail);

Capricorn

2008-12-13 15:28:05

SMARTsetupEx(world, true, true, false);

This is the correct one you are supposed to use.

Melon

2008-12-13 16:02:05

i get this too
Line 85: [Error] (87:187): Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Misc\Smart.Scar

but my line is

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

lordtivo

2008-12-13 18:38:31

From: Melon
i get this too
Line 85: [Error] (87:187): Invalid number of parameters in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Misc\Smart.Scar

but my line is

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


Change it to what capricorn said..but replace "world" with a world number (i think)

let me know how that works out

~Tivo

Method

2008-12-13 19:05:09

From: lordtivo
Change it to what capricorn said..but replace "world" with a world number (i think)

let me know how that works out

~Tivo


No, that's not what he should do. He should get the latest SRL version, which has the latest SMART plugin and Smart.scar. Then, he should delete the old plugin and everything should compile after that.

upmar

2008-12-19 04:43:46

I have the same problem, i have downloaded srl and unistalled scar multiple times, i have also removed the old plugins. Is it that i am on 64bit Vista?