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

Invalid number of parameters


sirchris333

2008-12-11 16:14:22

Line 2877: [Error] (19402:41): Invalid number of parameters in script C:\Users\Chris\Documents\pits SMART.scar

Annyone know what this is?
This is the line.

SMARTSetUp('world38', True, True, False);

Please help me

Blumblebee

2008-12-11 16:17:52

i think its now smartsetupex is it now? I'm not 100% sure but give that a try, else download the new SMART, your seems somewhat outdated…

(I dont use Smart, so i could be completely worng haha)

lordtivo

2008-12-12 01:28:32

im having this same problem with all SMART scripts..

where can i download SMART?

im not very good with searching :)

Kyle Undefined

2008-12-12 02:56:28

From: sirchris333
Line 2877: [Error] (19402:41): Invalid number of parameters in script C:\Users\Chris\Documents\pits SMART.scar

Annyone know what this is?
This is the line.

SMARTSetUp('world38', True, True, False);

Please help me


Here
SmartSetUpEx(World, True, True, False);{World, True for mems/False for free, Signed True/False Unsigned, True for HD/False for not}
Make sure you take out the Embedded Smart.dll if you're using Rev 30. I repeat, ONLY remove if you're using Rev 30.

~Camo

lordtivo

2008-12-12 05:15:36

From: Camo Kyle
Here
SmartSetUpEx(World, True, True, False);{World, True for mems/False for free, Signed True/False Unsigned, True for HD/False for not}
Make sure you take out the Embedded Smart.dll if you're using Rev 30. I repeat, ONLY remove if you're using Rev 30.

~Camo


Ok, i changed that line to what you gave and got this:

Failed when compiling
Line 752: [Error] (17064:14): Unknown identifier 'World' in script C:\Program Files\SCAR 3.15\Scripts\StuntsLumFlaxSpinner2.07.scar


This may be because i dont have worlds.ini in my scar folder…is it suppose to be there? If so, where do i put it? Also, where do I put everything else that came in Rev30?


Am i suppose to delete 'Embedded_Smart.dll'?

Kyle Undefined

2008-12-12 08:20:49

You can just put a world number in the world spot, sorry, I didn't explain that enough. As for your Worlds.ini it should be here
Scar 3.15 > Includes > SRL > SCSS
And no, only delete the one with no "_" Keep Embedded_Smart.dll delete the other
Hope this helps ;)

~Camo