Results 1 to 17 of 17

Thread: Error just came 15 mins ago

  1. #1
    Join Date
    Jun 2012
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Error just came 15 mins ago

    [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

  2. #2
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Replace that line with:
    Simba Code:
    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:
    Simba Code:
    Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', -1);
    should still work for you.
    Last edited by NCDS; 09-20-2012 at 03:55 PM.

  3. #3
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    hmm try

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

    if you are using an older smart

  4. #4
    Join Date
    Aug 2007
    Location
    England
    Posts
    1,038
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    If your using SMART 8.1 it's
    Simba Code:
    Result:= SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '', '');
    Today is the first day of the rest of your life

  5. #5
    Join Date
    Mar 2007
    Posts
    378
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Ashaman88 View Post
    hmm try

    Simba Code:
    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

  6. #6
    Join Date
    Nov 2011
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    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.

  7. #7
    Join Date
    Sep 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  8. #8
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Quote Originally Posted by C3NTRIX5 View Post
    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

  9. #9
    Join Date
    Jun 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by bauty View Post
    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.

  10. #10
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

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

  11. #11
    Join Date
    Nov 2011
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Ashaman88 View Post
    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.

  12. #12
    Join Date
    May 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  13. #13
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    Quote Originally Posted by aus tom View Post
    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.

  14. #14
    Join Date
    Jul 2012
    Location
    Wales, United Kingdom
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mormonman View Post
    Post that line.
    I have the same problem.

    Simba Code:
    Procedure SetupSmart(ForceNewClient: Boolean);

  15. #15
    Join Date
    May 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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

  16. #16
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

  17. #17
    Join Date
    Jul 2012
    Location
    Wales, United Kingdom
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Ashaman88 View Post
    Have yall tried updating again?
    Just updated SRL again, working okay now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •