SRL Archive - OSR Help

RsReady? Smartparams?


Plasmidian

2013-03-05 13:02:08

Hi! I fixed my smartparams problem i think but now it is saying this.


[Error] C:\Simba\Includes\SRL\SRL\misc\SmartParams.Simba(78:8): Unknown identifier 'RsReady' at line 77
Compiling failed.


If RsReady then
Break;
SmartSetRefresh(SmartGetRefresh + 1);
MMouse(4, 4, 0, 0);
SmartSetRefresh(SmartGetRefresh - 1);
if (GetSystemTime >= T) Then
Break;
Wait(500);
end;


any help?

Sjoe

2013-03-05 13:07:44

From: Plasmidian
Hi! I fixed my smartparams problem i think but now it is saying this.


[Error] C:\Simba\Includes\SRL\SRL\misc\SmartParams.Simba(78:8): Unknown identifier 'RsReady' at line 77
Compiling failed.




any help?


How does this relate to rs updates :)

And don't play the smartparams script. Play the actual script.

Plasmidian

2013-03-05 13:14:22

Sorry, couldn't find a forum because im a noob. i am! and it's auto opening smartparams :(

Ashaman88

2013-03-05 13:16:00

Then you didn't fix the smart params problem. The rsready thing is only if you hit play again from the smartparams file. It's the first error that matters

Plasmidian

2013-03-05 13:25:38

I'm out of ideas. This is what is giving me the trouble.


[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(284:134): Invalid number of parameters at line 283
Compiling failed.

{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', 1);
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', 1);
{$ENDIF}


What should i be changing?

Ashaman88

2013-03-05 13:34:29

In the script you are running, if it says define smart at the top change smart to smart8. if it already has an 8 at the top, remove the 8

Plasmidian

2013-03-05 14:48:48

From: Ashaman88
In the script you are running, if it says define smart at the top change smart to smart8. if it already has an 8 at the top, remove the 8


Okay, i unstilled simba, installed it, updated it, and everything was working until i attempted to put in the Smart 8.0 files in my plugins folder, then the smartparams problem came back.

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:134): Invalid number of parameters at line 292
Compiling failed.

{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '', 1);
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 503, 's', '', '', );
{$ENDIF}


I can't get smart to open in a client window or a command prompt.

Ashaman88

2013-03-05 14:52:44

Don't edit anything in the smart params file.


If you have the smart 8 plugins do this:

On the actual script you are using, make sure it says define smart8, NOT define smart (added the 8 see?)

If you have the smart 7.2 plugins do this:

On the actual script you are using, make sure it says define smart, NOT define smart8 (no 8 at the end)

Plasmidian

2013-03-05 15:01:17

I've included both of the scripts i am using into a pastebin, i divided them by some underlines after the first script.

These are both the scripts (icombatpro and smartparams). When attempting to play the icombatpro scripts, it switches to smartparams and does this

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:133): Invalid number of parameters at line 292
Compiling failed.


http://pastebin.com/3pyubvN2

ausaaz

2013-03-07 01:53:54

From: Ashaman88
In the script you are running, if it says define smart at the top change smart to smart8. if it already has an 8 at the top, remove the 8


Thanks this actually was a world of help!

netz

2013-05-12 23:25:16

From: Ashaman88
In the script you are running, if it says define smart at the top change smart to smart8. if it already has an 8 at the top, remove the 8


This one^^.

Peanuts

2013-05-13 06:37:00

From: Plasmidian
I've included both of the scripts i am using into a pastebin, i divided them by some underlines after the first script.

These are both the scripts (icombatpro and smartparams). When attempting to play the icombatpro scripts, it switches to smartparams and does this

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:133): Invalid number of parameters at line 292
Compiling failed.


http://pastebin.com/3pyubvN2



program iCombatSMART;
{$DEFINE SMART8}
{$i srl/srl.simba}

Change to

 
program iCombatSMART;
{$DEFINE SMART} --- SEE THE 8 has being removed??
{$i srl/srl.simba}

PRESS PLAY.
It shouldn't auto-open the smartparams now.. and the script will start. …