PDA

View Full Version : Invalid Parameters



lines12
04-19-2013, 02:07 AM
I was trying to run the bot "HoodzFighter_osr-srl10" but when I attempted to run the bot I got this error..

[Error]Unable to find file 'SRL-OSR/SRL.Simba: Invalid number of parameters at line 228

Can anybody help me?

Sjoe
04-19-2013, 02:59 AM
On top of the script change {$Define Smart} to {Define smart8} or vice versa

lines12
04-19-2013, 03:11 AM
It was originally "Smart8" and when I changed it to "Smart", this popped up.

[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228

Sjoe
04-19-2013, 03:30 AM
Setting up smart 8 http://villavu.com/forum/showthread.php?t=93563

The Mayor
04-19-2013, 03:46 AM
I was trying to run the bot "HoodzFighter_osr-srl10" but when I attempted to run the bot I got this error..

[Error]Unable to find file 'SRL-OSR/SRL.Simba: Invalid number of parameters at line 228

Can anybody help me?

Looks like you don't have the SRL-OSR include installed.

Download the zip from here (https://github.com/SRL/SRL-OSR)

Extract it to C:\Simba\Includes\

Make sure the folder is named SRL-OSR not SRL-OSR-master

lines12
04-19-2013, 04:31 AM
Do I save it under any certain folder in includes?

Rich
04-19-2013, 08:42 PM
Do I save it under any certain folder in includes?

Extract it to C:\Simba\Includes\

Make sure the folder is named SRL-OSR not SRL-OSR-master

..?

The Mayor
04-19-2013, 08:49 PM
Do I save it under any certain folder in includes?

No, just put the whole SRL-OSR folder in the includes folder. Like this:

http://puu.sh/2DcoN.png

lines12
04-20-2013, 03:38 AM
20830

I've done what I was told, and this was the result :(

Sjoe
04-20-2013, 03:52 AM
20830

I've done what I was told, and this was the result :(

Invalid attachment, upload your pic on imgur.com

lines12
04-20-2013, 04:06 AM
Invalid attachment, upload your pic on imgur.com

http://imgur.com/xkbLIoJ

Sjoe
04-20-2013, 04:10 AM
On top of the script change {$Define Smart} to {Define smart8} or vice versa

This

The Mayor
04-20-2013, 04:11 AM
http://imgur.com/xkbLIoJ

Do you have SMART8 installed? If not change

{$DEFINE SMART8} to {$DEFINE SMART} at the top of the script




E: Ninjed by Sjoe, Grrrrr :(

lines12
04-20-2013, 04:24 AM
Do you have SMART8 installed? If not change

{$DEFINE SMART8} to {$DEFINE SMART} at the top of the script




E: Ninjed by Sjoe, Grrrrr :(


http://http://imgur.com/AAJKYF5 (http://imgur.com/AAJKYF5)

The Mayor
04-20-2013, 04:29 AM
http://http://imgur.com/AAJKYF5 (http://imgur.com/AAJKYF5)

Have you been using the 07Include?

In Simba force an SRL update by going SRL -> Settings -> Override Update. Then Settings -> Update
This will download the original smartparams.

If that doesn't work then you can try installing SMART8. Its easy, just copy a file like the SRL-OSR. Follow the tutorial here. (http://villavu.com/forum/showthread.php?t=93563) (Remember to change it back to SMART8 at the top)

lines12
04-20-2013, 04:43 AM
Have you been using the 07Include?

In Simba force an SRL update by going SRL -> Settings -> Override Update. Then Settings -> Update
This will download the original smartparams.

If that doesn't work then you can try installing SMART8. Its easy, just copy a file like the SRL-OSR. Follow the tutorial here. (http://villavu.com/forum/showthread.php?t=93563) (Remember to change it back to SMART8 at the top)


YOU ARE MY HERO! IT WORKED :D Thank you all for the helpppp!!!(:

Physic
04-20-2013, 06:25 PM
Ill try to add that fix in King into my guide