SRL Archive - General Botting Help

smartparams.simba invalid number of parameters at line 228


betterwork

2013-07-21 21:33:40

re installed simba
added srl osr to includes
downloaded smart8.1 to plugins(8.0 was giving me smart cannot spawn client)
everything updated and all

tryed to do basic smart test
program new;
{$DEFINE SMART8}
{$i SRL-osr/SRL.simba}

begin
SetupSRL();
end.

and getting error

C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
Compiling failed.

please help

VillaVuFTW

2013-08-06 07:38:48

From: betterwork
re installed simba
added srl osr to includes
downloaded smart8.1 to plugins(8.0 was giving me smart cannot spawn client)
everything updated and all

tryed to do basic smart test
program new;
{$DEFINE SMART8}
{$i SRL-osr/SRL.simba}

begin
SetupSRL();
end.

and getting error

C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:203): Invalid number of parameters at line 228
Compiling failed.

please help


I can't stay long but I can try to help… Problem is: I don't have this exact INCLUDE and Plugin, as I don't bot OSR anymore as I have no membership.

Please go to the File it says LINE *228* and post what Line 228 says…

A Line is listed the left of a piece of code.. And put SIMBA TAGS Around it ["SIMBA] [/SIMBA"]

If it is a line code, also post the function that corresponds to that code aswell please.

riwu

2013-08-06 08:08:44

Get smart 8.2 from http://villavu.com/forum/showthread.php?t=104778

Go to your SmartParams file (which opens up automatically when you get the error)
Change the line below {$IFDEF SMART8} to

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

sal man

2013-08-20 22:33:07

I also had the problem, and when I do this it gives me this error:
[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(241:81): Unknown identifier 'Params' at line 240
Compiling failed.