View Full Version : smartparams
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
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.
Np. Also, you may need to do this again if SRL updates. I just turn off auto-updating unless I start having problems.
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
10-15-2012, 09:43 PM
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.
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.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.