SRL Archive - RS3 Outdated / Broken Scripts

WTF?! error... on all scripts.


P3rs0nal1ty

2010-11-30 18:36:57

on tickyy's varrock east miner, and p1nky's powercutter, my script will now not execute. in powercutter on line 136 its highlighted orange and the line says

" SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)), 765, 503, 's');"

and this is whats in the debug box.

"[Error] F:\Games\Simba\Includes\SRL/SRL/misc/smart.scar(140:204): Invalid number of parameters at line 139
Compiling failed."

I believe that its a problem with smart, but idk, im not a scripter xD

could someone please inform me of whats wrong since i do not hold any experience to scripting?

Cstrike

2010-11-30 18:42:35

Latest SRL version/plugin version?

Shuttleu

2010-11-30 18:44:32

do you have the latest version of SRL through the SRL updater in Simba?

~shut

P3rs0nal1ty

2010-11-30 19:14:28

"No SRL update / Plugins update available!
No Reflection update" and it still has the error.

Cstrike

2010-11-30 19:20:11

Go to your reflection folder and copy the libsmart.dll from "PLACE IN PLUGINS FOLDER" into your Simba/Plugins (backup old .dll) and see what happens

Sandstorm

2010-11-30 19:22:34

I'm fairly sure this was solved earlier in another thread.

The line of code:

SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)), 765, 503, 's');

has an invalid number of parameters. This means it has too few or too many parameters in it.

What it needs to be is:

SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)), 765, 503);

I do believe was the fix. I don't remember perfectly, but the , 's' on the end of it was not needed and was throwing said error.

Also, I might be completely wrong, this is just what I remember.

P3rs0nal1ty

2010-11-30 21:13:45

libsmart was the solution, not the other one. the other one still had an error afterward.

Sandstorm

2010-11-30 21:18:14

From: donkey60000
libsmart was the solution, not the other one. the other one still had an error afterward.


Alright, I swore I remembered it from somewhere xP. Sorry for that!

P3rs0nal1ty

2010-11-30 21:23:05

no prob :) thanks for caring bro. and thanks for all the help with that, i felt pretty dumb for awhile.. :duh:

the smith400

2010-12-01 00:31:49

From: Sandstorm
I'm fairly sure this was solved earlier in another thread.

The line of code:

SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)), 765, 503, 's');

has an invalid number of parameters. This means it has too few or too many parameters in it.

What it needs to be is:

SmartSetup('http://'+prefix+'.runescape.com/', 'plugin.js?param=o0,a' + IntToStr((Integer(not(Signed)) + 1) * Integer(not((SuperDetail and Signed)))) + ',m' + IntToStr(Integer(Members)), 765, 503);

I do believe was the fix. I don't remember perfectly, but the , 's' on the end of it was not needed and was throwing said error.

Also, I might be completely wrong, this is just what I remember.


libsmart didn't work for me this time. It usually always does.

Sandstorms way worked for me. Cheers mate

Bad Boy JH

2010-12-01 02:42:56

You haven't updated your libsmart PROPERLY

we are talking about the one from Reflection folder, make sure you update the SVN before you move it..

enisdude

2010-12-07 09:46:22

I have a similair problem only my error is [Error] C:\Simba\Includes\SRL/SRL/Misc/SMART.scar(140:204): Invalid number of parameters at line 139
Compiling failed.

Can someone help me?

traveler

2010-12-07 10:06:31

From: enisdude
I have a similair problem only my error is [Error] C:\Simba\Includes\SRL/SRL/Misc/SMART.scar(140:204): Invalid number of parameters at line 139
Compiling failed.

Can someone help me?


download the latest srl and srl plugins.

TomTuff

2010-12-07 10:13:04

From: enisdude
I have a similair problem only my error is [Error] C:\Simba\Includes\SRL/SRL/Misc/SMART.scar(140:204): Invalid number of parameters at line 139
Compiling failed.

Can someone help me?


read the thread

BlueWorld

2010-12-08 02:52:04

Im surprised no one mentioned this but can someone please move the script into the correct section? o_o