SRL Archive - FAQ

error?


Jos3ph

2012-09-13 21:13:35

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(274:134): Invalid number of parameters at line 273
Compiling failed.


this is what I am getting for every script…

Ian

2012-09-13 21:15:44

Started happening to me so I re-downloaded the script and now everything is all good :)

P1ng

2012-09-13 21:16:00

Recent SRL update broke SmartParams again. You will need to go a few lines below and change the code from:

Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', ''[b], -1[/b]);

to:
Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '');

riwu

2012-09-13 21:16:20

Are you using SMART 8.0? Parameter for ssc has changed, read the OP.

Jos3ph

2012-09-13 21:17:31

From: riwu
Are you using SMART 8.0? Parameter for ssc has changed, read the OP.


I'm using smart 8.0 what do I need to do to fix the scripts?

P1ng

2012-09-13 21:19:35

You need to read my post above. Those changes need to be made in SmartParams.simba which will automatically pop open when you recieve this error.

Jos3ph

2012-09-13 21:39:30

It doesn't pop up a widow that I can edit anything…

P1ng

2012-09-13 21:42:36

try to run a script. When that error appears take a screenshot of your Simba and post the image here. It will have opened a new script and highlighted a line.

The new script will be SmartParams.Simba and the highlighted line will be 273.

Jos3ph

2012-09-14 08:16:52



thats what I get

Solar

2012-09-14 08:18:17

Scroll down and do what P1ng told you to do and save SmartParams.

Jos3ph

2012-09-14 09:14:17

From: Solar
Scroll down and do what P1ng told you to do and save SmartParams.


it stops at 273….

riwu

2012-09-14 09:18:31

From: Jos3ph
it stops at 273….

what does the scroll bar on the right lead to then?

Jos3ph

2012-09-14 09:45:52

oK where after end would I change it? It goes well over 600 lines

Ashaman88

2012-09-14 09:48:04

From: Jos3ph
oK where after end would I change it? It goes well over 600 lines


Dude search for the top line ping posted ctrl F and replace it with the second line he posted

grats

2012-09-14 09:53:26

From: Jos3ph
it stops at 273….


Clearly it doesn't.

Now go back to p1ng's post and do what he said… it's a few lines under 273.

Jos3ph

2012-09-14 10:57:59

Thanks guys, I didnt know about CTRL F so go easy man.

footballjds

2012-09-14 11:26:08

From: Jos3ph
Thanks guys, I didnt know about CTRL F so go easy man.


LMFAO?! How the hell can you not? do you know how to copy and paste? what about find/replace?

:google:

Jakkle

2012-09-14 11:50:04

From: grats
Clearly it doesn't.

Clearly it did. Look at the pic and you will see the line that's orange is indeed 273.

From: footballjds
LMFAO?! How the hell can you not? do you know how to copy and paste? what about find/replace?

:google:


So do you know everything without being taught/told about it ? I mean I didn't know about, highlighting a function in simba and then holding Ctrl and clicking on it, would take me to the function. You don't just KNOW about things do you ?

grats

2012-09-14 11:51:51

From: Jakkle
Clearly it did. Look at the pic and you will see the line that's orange is indeed 273.



So do you know everything without being taught/told about it ? I mean I didn't know about, highlighting a function in simba and then holding Ctrl and clicking on it, would take me to the function. You don't just KNOW about things do you ?


Look at the scrollbar ……………………………….

footballjds

2012-09-14 11:55:50

From: Jakkle
Clearly it did. Look at the pic and you will see the line that's orange is indeed 273.


That's like saying a book stops at page 273 cause you're too d@mn lazy to flip a page…

From: Jakkle

So do you know everything without being taught/told about it ? I mean I didn't know about, highlighting a function in simba and then holding Ctrl and clicking on it, would take me to the function. You don't just KNOW about things do you ?

No, I do not have knowledge without learning. However, basic intuition(especially on a forum related to programming) is not too much to ask from someone. Joseph will ask dumb questions his whole life cause he doesn't care to commit to learning.

You didn't know about that cntrl+click? I never even read about the feature till after I found it :P

Look how clearly EVERYTHING was spoon fed to him. The only easier thing would be to send him a new laptop with a fixed include…

Jakkle

2012-09-14 12:24:02

From: grats
Look at the scrollbar ……………………………….

My bad, I thought he was on about where the orange line stopped not the whole thing lol.

From: footballjds
That's like saying a book stops at page 273 cause you're too d@mn lazy to flip a page…


No, I do not have knowledge without learning. However, basic intuition(especially on a forum related to programming) is not too much to ask from someone. Joseph will ask dumb questions his whole life cause he doesn't care to commit to learning.

You didn't know about that cntrl+click? I never even read about the feature till after I found it :P

Look how clearly EVERYTHING was spoon fed to him. The only easier thing would be to send him a new laptop with a fixed include…


Ok fair enough I see your point :p

grats

2012-09-14 12:40:26

From: Jakkle
My bad, I thought he was on about where the orange line stopped not the whole thing lol.



Ok fair enough I see your point :p


I would have thought that too.. but after seeing what kind of person he is ( post #5 for example) I really doubt it..

Jos3ph

2012-09-21 10:18:55

Just for the record, people like football, grats and many others who would rather talk shit against another member of the forum; you only hurt the image of the forum. You make others not want to ask questions.

Secondly let me tell you something football, do you think you are the shit? Every post I see you posting here, you make it seem like everyone else around you is not as great as you? You honestly make me sick brother….You are a bad figure here at the forum because you do nothing but talk shit.

Yes, I don't know anything about scripting, but dont chop my head off or flame me for not knowing, and to say I post stupid questions and ideally calling me a idiot; you make me sick.


@Grats, what type of person am I? Do you even know who I am? Don't go juding a person based off a question I asked.