Log in

View Full Version : SmartParams



omgnomorenames
08-10-2012, 05:25 AM
Just got update now I have a few problems

[Error] C:\Simba\Includes\SRL/SRL/Misc/SmartParams.Simba(274:134): Invalid number of parameters at line 273
Compiling failed.
I think the fix is to remove the -1 from
Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', -1);

which then leads to an unknown identifier RSReady at line 69.

tls
08-10-2012, 06:52 AM
Just got update now I have a few problems

[Error] C:\Simba\Includes\SRL/SRL/Misc/SmartParams.Simba(274:134): Invalid number of parameters at line 273
Compiling failed.
I think the fix is to remove the -1 from
Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', -1);

which then leads to an unknown identifier RSReady at line 69.

Which version of smart do you have?

P1ng
08-10-2012, 06:58 AM
It doesn't lead to an unknown identifier RSReady at line 69.
The issue you are encountering here is that you cannot compile SmartParams on it's own because it is an include.

Do the fix as you stated in the OP, then save SmartParams. Go back to your script and compile it, that will fix it. Don't try and compile includes on their own it will almost never work

omgnomorenames
08-10-2012, 07:17 AM
Thank you Works

digitalninja
08-10-2012, 12:02 PM
Thanks P1ng I had the exact same issue ...

Austin
08-10-2012, 12:09 PM
Yeah, I had this issue yesterday as well. It seems it appeared for no apparent reason 'o.o

Kasi
08-10-2012, 01:44 PM
Yeah, I had this issue yesterday as well. It seems it appeared for no apparent reason 'o.o

because you were trying to compile SmartParams

Austin
08-10-2012, 02:10 PM
because you were trying to compile SmartParams
What? I meant i wasn't doing anything different then I normally was. I was trying to run the same scripts I run every day. I hadn't edited anything in the scripts or updated anything to change that.

Kasi
08-10-2012, 02:15 PM
What? I meant i wasn't doing anything different then I normally was. I was trying to run the same scripts I run every day. I hadn't edited anything in the scripts or updated anything to change that.

ahh you tried to play the SmartParams then lol, its the only way you could get that error

Firejacko
09-26-2012, 12:51 PM
i keep getting a syntax error with this:
Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '',);

not sure why...

P1ng
09-26-2012, 12:56 PM
You have an extra comma just before the brackets, removing this comma should fix it.

KeepBotting
09-26-2012, 11:52 PM
lol line 69