View Full Version : Help! Invalid number of parameters
Black36
07-28-2012, 01:32 AM
Well, after the latest update of simba and all of its plugins, I've tried starting any downloaded script and they always fail at:
[Error] G:\Simba\Includes\SRL/SRL/misc/smart.simba(53:19): Invalid number of parameters at line 52
[Error] G:\Simba\Includes\SRL\SRL\misc\smart.simba(56:19): Invalid number of parameters at line 55
I dont get this since Im able to Run MSI properly for botting, Maybe its because the scripts are not updated right?
Justin
07-28-2012, 01:48 AM
If it is a custom script; read this: http://villavu.com/forum/showthread.php?t=84334&highlight=updates
If it is MSI, you will need to wait for a MSI Dev to push an update.
Black36
07-28-2012, 01:52 AM
Thank you Justin, I'll try it out since its Custom script field, MSI Works Properly
Black36
07-28-2012, 02:24 PM
It looks as if I had downloaded everything and my simba is up to date with the latest SMART 7.2 Version, But Im still getting the same errors. I dont get it.
Footy
07-28-2012, 03:10 PM
post the script you are using
Black36
07-28-2012, 03:22 PM
Daemonheim Superheater v0.45
Teg Superheat PRO
Superheater v0.1
All of those 3 scripts give me the same error
blinkblink
07-28-2012, 07:02 PM
Daemonheim Superheater v0.45
Teg Superheat PRO
Superheater v0.1
All of those 3 scripts give me the same error
The link that you were given..tells you what you need to change on those scripts.. so they work with the current simba
*hint: backwards compatibility -part
Black36
07-29-2012, 02:31 PM
So I basically Have to add the backwards compatibility part to every script im using if it does not have it? (Am I supposed to add that at the beggining right?)
Sorry for being so unconcious of what I'am doing and bothering you out. Just that I need to get more Familiarized with scripting!
Replace
Smart_Server := 1;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
with
SRL_SixHourFix := True;
Smart_FixSpeed := True;
Thats it. ({$I SRL/SRL/Misc/PaintSmart.Simba} to {$I SRL/SRL/Misc/SmartGraphics.Simba} too if the script has paint)
You dont really have to make it backward compatible as its for scripters who want their scripts to support older versions of simba (kinna pointless since everyone should have the latest simba)
Black36
07-29-2012, 03:10 PM
http://puu.sh/MJEu
http://puu.sh/MJEY
http://puu.sh/MJFi
http://puu.sh/MJFD
That's the Order! I've Changed them as you told me but I keep getting the same problem!
Brandon
07-29-2012, 03:29 PM
You didn't read the tutorial and it's pretty clear seeing as you're still using smart.simba
Black36
07-29-2012, 03:35 PM
Oh... Well Honestly Im quite sleppy. I'll change that
Black36
07-29-2012, 03:38 PM
Everything was in this post right? http://villavu.com/forum/showthread.php?t=84334&highlight=updates
Cause I've placed the new smart in my plugins and well
My problem is that I dont have the list of links I need to make everything. Im very confused with this and I feel like a real bother. But thanks for the time explaining.
Brandon
07-29-2012, 03:41 PM
Everything was in this post right? http://villavu.com/forum/showthread.php?t=84334&highlight=updates
Cause I've placed the new smart in my plugins and well
My problem is that I dont have the list of links I need to make everything. Im very confused with this and I feel like a real bother. But thanks for the time explaining.
Change {$I SRL/SRL/Misc/Smart.Simba} to {$Define Smart}
Black36
07-29-2012, 03:49 PM
Ok now the script is starting. No Errors Have Shown up.
Waiting for SMART to open the Java window
SRL Compiled in 15 secs
"Setting up script"
Black36
07-29-2012, 03:59 PM
just a little problem with the login, script problem anyways
Everything is working properly. Thank you very much!
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.