SRL Archive - Help

smartparams


mika

2012-10-15 16:41:16

i keep getting for the past 3 days
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(279:145): Invalid number of parameters at line 278

Ian

2012-10-15 16:56:50

Scroll down until you see a line with a "-1" at the end of it. (should be one of the longer lines). Delete the ",-1" and save smartparams. then try running the script again.

mika

2012-10-15 17:08:14

thanks works great now.

Ian

2012-10-15 17:25:11

Np. Also, you may need to do this again if SRL updates. I just turn off auto-updating unless I start having problems.

NKN

2012-10-15 17:39:55

From: BMWxi
Np. Also, you may need to do this again if SRL updates. I just turn off auto-updating unless I start having problems.

I think the update fixes it?
My SMARTParams has a IFDEF for it, changing to -1 if needed.

Solar

2012-10-15 17:43:15

From: NKN
I think the update fixes it?
My SMARTParams has a IFDEF for it, changing to -1 if needed.


Mine updated too but I still got the same error about parameters, so even though using SMART v8.0, I still had to remove the -1 before it ran.

riwu

2012-10-15 20:11:04

From: Solar
Mine updated too but I still got the same error about parameters, so even though using SMART v8.0, I still had to remove the -1 before it ran.

Only works if you have {$Define Smart8}. Most scripts just have {$Define Smart} to maintain compatibility with past and future Smart versions. Probably have to wait for the official release of Smart 8 before the -1 gets removed for all versions.

I've personally stopped using autoupdater as i changed too many stuffs in the include for testing :p you can just retrieve the changes directly from github, as usually only a few files are changed every update but all your files get rewritten.