SRL Archive - OSR Help

Error: SmartParams.Simba(293:131)


magicality

2013-03-27 12:25:39

This is happening for some scripts..
At
{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '');
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '', -1);
{$ENDIF}

I get this error;
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292

Am I missing something? Because I've double checked through Video+Thread tutorials. And again, it's only for some scripts. For example, ' FightCaveTrainer ' .

Help?

Mean girls

2013-03-28 18:29:40

I'm getting the exact same error, anybody that can help?

The Mayor

2013-03-29 03:35:37

From: magicality
Help?


Have you installed the SRL-OSR include?

magicality

2013-03-29 06:49:08

From: The Mayor
Have you installed the SRL-OSR include?


Nope. Thought that was unnecessary for 07include?

The Mayor

2013-03-29 07:04:30

From: magicality
Nope. Thought that was unnecessary for 07include?


I'm pretty sure all scripts will eventally use the SRL-OSR include and move away from the original 07 include (it was an unofficial temporary measure). I think the Fight Cave script uses the SRL-OSR so you will need to install that.

Download the ZIP here and extract it to Simba/includes.

Make sure it is named SRL-OSR and not SRL-OSR-master :)

KastroGjerj

2013-03-29 13:41:26

I just downloaded the zip extracted with name SRL-OSR and still haven't fixed my problem

Sjoe

2013-03-29 13:42:37

download smart8

KastroGjerj

2013-03-29 14:37:37

link? Haven't trouble finding it for some reason

EDIT: I Believe I already have included P07Include, SRL-OSR, SmartParams globals and logins