Results 1 to 5 of 5

Thread: Login.scar line 340 error

  1. #1
    Join Date
    Jun 2007
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Login.scar line 340 error

    I'm hoping somebody has some sympathy and willing to help someone trying to learn about this as I go. I'm trying to run SecetCutter and I keep getting an error. the error is:

    Error in InitForm!
    [Runtime Error] : Out Of Range in line 340 in script C:\Program Files\SCAR 3.06\includes\srl\srl\core\Login.scar

    Is this an error in login.scar? Or is this because an error in the script is loading the form, so no information is declared? If it is a form error which I think it is, is there an easy fix? I know zero about forms and just still trying to get a hang of standard scripting.

  2. #2
    Join Date
    Jul 2007
    Location
    England
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey,

    This is most probably why, as it has occured from

    Code:
    C:\Program Files\SCAR 3.06\includes\srl\srl\core\Login.scar
    The solution is:

    Quote Originally Posted by JAD
    This is most commonly caused by not setting your players right in the player arrays. When you set the number of players, you are setting the number of slots that there are players for, ACTIVE OR NOT! so if you have 2 users active, but there are 6 slots, then you still have the how many players as 6.

    -Nitro

  3. #3
    Join Date
    Jun 2007
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The SecetCutter maybe to advanced for me because of the form information. I understand what you are saying but for this script player setup is done in the form and the script draws information from the form. No form pops up though when I run the script. So I think it is because of the define players set-up and players not being defined but for a form script I don't know how to define the players. It seems like several people have had this problem with the script but others have got it working and love it so I was hoping to try it. So this is where I'm stuck. How do you define players in a form when you can't get the form to pop up?

  4. #4
    Join Date
    Jul 2007
    Location
    England
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah, as a form it probably would be harder to find the error that the normal procedure or DeclarePlayers;. I will take a look at it when I get home, And then post back if I have a fix or a way to fix it.

    -Nitro

  5. #5
    Join Date
    Jun 2007
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sounds great, thanks Nitro. If you do find a fix I'll make sure to link back to this thread for all the others that have run into this problem.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. login.scar error?
    By serrie in forum SRL Site Discussion
    Replies: 2
    Last Post: 11-07-2008, 12:02 PM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM

Posting Permissions

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