Results 1 to 6 of 6

Thread: Help (compiling error)

  1. #1
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default Help (compiling error)

    Code:
    [Hint] C:\Program Files\Simba\Includes\SRL/SRL/core/antirandoms/forester.scar(329:3): Variable 'I' never used at line 328
    [Hint] C:\Program Files\Simba\Includes\SRL/SRL/core/antirandoms/forester.scar(329:3): Variable 'CTS' never used at line 328
    [Hint] C:\Program Files\Simba\Includes\SRL/SRL/core/antirandoms/forester.scar(330:3): Variable 'P' never used at line 329
    [Hint] C:\Program Files\Simba\Includes\SRL/SRL/core/antirandoms/forester.scar(331:3): Variable 'OBJS' never used at line 330
    [Hint] C:\Program Files\Simba\Includes\SRL/SRL/core/antirandoms/forester.scar(332:3): Variable 'DONE' never used at line 331
    [Error] (38:24): Invalid number of parameters at line 37
    Compiling failed.
    Line 37:
    Players := GetPlayers;

    I have had the script working before...

  2. #2
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    Are you missing a semicolon on line 36?

  3. #3
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    A semicolon would say so in the error. A missing parameter is when something is missing from the parameters like: "Mouse(CX, CY, RX, RY, Boolean)" would be correct, but a missing parameter would be: "Mouse(CX, CY, RX, RY)".

    Quote Originally Posted by Echo_ View Post
    Are you missing a semicolon on line 36?
    @ Initial Question : Wouldn't "Players" be followed by "[*]" because it is an array? If so, try changing it to be something like that. Replace the asterisk with a valid thing though.
    Last edited by RISK; 02-02-2011 at 12:48 AM.

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

    Default

    Its GetAllPlayers now. GetPlayers is a different function.

  5. #5
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    I just found out that I have to use GetAllPlayers now. It does the same thing.

    Edit: Pwned by mormonman

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

    Default

    Quote Originally Posted by mormonman View Post
    Its GetAllPlayers now. GetPlayers is a different function.
    Quote Originally Posted by antti mies View Post
    I just found out that I have to use GetAllPlayers now. It does the same thing.
    !

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
  •