Log in

View Full Version : Error just came 15 mins ago



sure
09-20-2012, 03:44 PM
[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
09-20-2012, 03:48 PM
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
09-20-2012, 03:55 PM
hmm try

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


if you are using an older smart

Jakkle
09-20-2012, 04:18 PM
If your using SMART 8.1 it's
Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', '');
:p

newb cheater
09-20-2012, 04:39 PM
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
09-20-2012, 05:35 PM
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
09-20-2012, 05:58 PM
I replaced that line but then in line 69 it marks as error this
If RSReady then
Please i cant use any script

Ashaman88
09-20-2012, 06:02 PM
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
09-20-2012, 07:54 PM
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.

tls
09-20-2012, 07:59 PM
Happened cuz github confusion. It should be right in the repo now.

C3NTRIX5
09-20-2012, 08:36 PM
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
09-21-2012, 06:10 AM
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.

tls
09-21-2012, 06:20 AM
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
09-21-2012, 09:06 AM
Post that line.

I have the same problem.

Procedure SetupSmart(ForceNewClient: Boolean);

aus tom
09-21-2012, 12:27 PM
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
09-21-2012, 12:41 PM
Have yall tried updating again?

ebmaj7
09-21-2012, 09:03 PM
Have yall tried updating again?

Just updated SRL again, working okay now.