SRL Archive - Help

SmartParams


omgnomorenames

2012-08-10 01:25:12

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.

mormonman

2012-08-10 02:52:35

From: omgnomorenames
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

2012-08-10 02:58:47

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

2012-08-10 03:17:06

Thank you Works

digitalninja

2012-08-10 08:02:26

Thanks P1ng I had the exact same issue …

Austin

2012-08-10 08:09:27

Yeah, I had this issue yesterday as well. It seems it appeared for no apparent reason 'o.o

Kasi

2012-08-10 09:44:44

From: Austin
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

2012-08-10 10:10:17

From: pur3b100d
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

2012-08-10 10:15:13

From: Austin
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

2012-09-26 08:51:13

i keep getting a syntax error with this:
Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '',);

not sure why…

P1ng

2012-09-26 08:56:31

You have an extra comma just before the brackets, removing this comma should fix it.

KeepBotting

2012-09-26 19:52:36

lol line 69