SRL Archive - Help

Error just came 15 mins ago


sure

2012-09-20 11:44:22

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(278:134): Type mismatch at line 277
Compiling failed.
this just came 15 mins ago
re started simba many times
Help Pl0x

NCDS

2012-09-20 11:48:25

Replace that line with:

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

I'm not sure why it was changed in SRL..?

Edit: Scratch that, the code I posted will only work if you're using SMART v8.+

I believe changing the line to:

Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', -1);
should still work for you.

Ashaman88

2012-09-20 11:55:53

hmm try

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

if you are using an older smart

Jakkle

2012-09-20 12:18:32

If your using SMART 8.1 it's
Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', '');
:p

newb cheater

2012-09-20 12:39:51

From: Ashaman88
hmm try

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

if you are using an older smart


That works on 7.2. Thanks Ashaman!!! Wonder why this happened

C3NTRIX5

2012-09-20 13:35:19

I do not fully understand what I am supposed to replace. Is it a line in the script I am supposed to replace, or an actual file?

Thank you for your help.

I have the exact same error.

bauty

2012-09-20 13:58:54

I replaced that line but then in line 69 it marks as error this
If RSReady then
Please i cant use any script

Ashaman88

2012-09-20 14:02:03

From: C3NTRIX5
I do not fully understand what I am supposed to replace. Is it a line in the script I am supposed to replace, or an actual file?

Thank you for your help.

I have the exact same error.


It's like line 287 or so. it looks almost exactly the same as the replacement line. Seems like maybe it was a bad push

rsbottman

2012-09-20 15:54:15

From: bauty
I replaced that line but then in line 69 it marks as error this
If RSReady then
Please i cant use any script


You need to modify the line 287 as ashaman stated then close the script and it will ask to save. Do so, then restart script.

mormonman

2012-09-20 15:59:19

Happened cuz github confusion. It should be right in the repo now.

C3NTRIX5

2012-09-20 16:36:09

From: Ashaman88
It's like line 287 or so. it looks almost exactly the same as the replacement line. Seems like maybe it was a bad push


Thank you very much.

aus tom

2012-09-21 02:10:57

i get this error after replacing both lines plz help


[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(326:1): Identifier expected at line 325
Compiling failed.

mormonman

2012-09-21 02:20:26

From: aus tom
i get this error after replacing both lines plz help


[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(326:1): Identifier expected at line 325
Compiling failed.


Post that line.

ebmaj7

2012-09-21 05:06:57

From: mormonman
Post that line.


I have the same problem.

Procedure SetupSmart(ForceNewClient: Boolean); 

aus tom

2012-09-21 08:27:35

someone help me please im still getting the error its on this part of the code


Procedure SetupSmart(ForceNewClient: Boolean);

oh and btw how do i get the simba code to come up in the reply im a noob lol

Ashaman88

2012-09-21 08:41:19

Have yall tried updating again?

ebmaj7

2012-09-21 17:03:24

From: Ashaman88
Have yall tried updating again?


Just updated SRL again, working okay now.