SRL Archive - OSR Help

error, please help me, takes around 2 minutes to help :-)


Kussidenten

2013-05-25 07:48:48

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
Compiling failed.

What can i do? :)

Sjoe

2013-05-25 07:56:17

Takes around 30 seconds to google it :p http://lmgtfy.com/?q=site%3Avillavu.com+%5BError%5D+C%3A%5CSimba%5CIncludes%5CSRL%2FSRL%2Fmisc%2FSmartParams.Simba(281%3A149)%3A+Invalid+number+of+parameters+at+line+280


Too lazy to google then do this :
first line says {$i DEFINE SMART}, change it to {$i DEFINE SMART8}
if there's already a 8 , then u remove the 8

Kussidenten

2013-05-25 07:57:49

Now it says: [Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(35:7): Unknown identifier 'Smart_World' at line 34
Compiling failed.
.. Thanks for helping me out.

Sjoe

2013-05-25 07:59:58

From: Kussidenten
Now it says: [Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(35:7): Unknown identifier 'Smart_World' at line 34
Compiling failed.
.. Thanks for helping me out.


Apply changes at the actual script, seems like u did it at SmartParams.simba

Kussidenten

2013-05-25 08:00:52

From: Sjoe
Apply changes at the actual script, seems like u did it at SmartParams.simba


Sorry what? Im totally new here, and im sorry for being so dumb.. But i dont understand what i have to do? :/

Sjoe

2013-05-25 08:14:28

From: Kussidenten
Sorry what? Im totally new here, and im sorry for being so dumb.. But i dont understand what i have to do? :/


When you get that error (the one u had), SmartParams.Simba opens on a new tab. I think u applied the fix on SmartParams.simba.
So undo it, close smartparams.simba and change {$Define Smart} on the script you're trying to play.

Peanuts

2013-05-25 11:02:38

At the top of the script it will say…

{$DEFINE SMART}

Change it to


{$DEFINE SMART8}

Or vice versa.

When you press play it will open the smartparams file when the error occurs.
Make sure you change your scripts code and not the smartparams.