Results 1 to 6 of 6

Thread: Unknown identifier 'CreateTPAFromBMP'

  1. #1
    Join Date
    Oct 2009
    Location
    Melb, Australia
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Unknown identifier 'CreateTPAFromBMP'

    Failed when compiling
    Line 51: [Error] (51:11): Unknown identifier 'CreateTPAFromBMP' in script C:\Program Files\SCAR 3.22\includes\SRL\SRL\Core\Math.scar

    I did a clean install of SCAR v3.22 and made sure my includes/SRL was up to date.

    PS - Wasn't sure where to post this.

  2. #2
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Post some of the lines before and after line 51

  3. #3
    Join Date
    Oct 2009
    Location
    Melb, Australia
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by FEAR View Post
    Post some of the lines before and after line 51
    The fault seems to be in the SRL math include.
    {************************************************* ******************************
    Function CreateTPAFromText(Txt : String; Chars : Integer) : TPointArray;
    By: MastaRaymond
    Description: Returns the TPointArray of the inputted Text. Needs Wizzyplugin
    ************************************************** *****************************}

    Function CreateTPAFromText(Txt : String; Chars : Integer) : TPointArray;
    var
    TempBMP : integer;
    begin;
    TempBMP := CreateBitmapMaskFromText(Txt,Chars);
    Result := CreateTPAFromBMP( GetBitmapDC(TempBMP));
    FreeBitmap(TempBMP);
    end;

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

    Default

    Move your plugin's. (SCAR > Tools > Options > SRL Download tab)
    lol

  5. #5
    Join Date
    Oct 2009
    Location
    Melb, Australia
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I click it, and nothing happens... Still getting same error. What does moving the plugins do? I'm on windows 7 btw.

    EDIT:
    Oh nvm, I ran scar as administrator and redownloaded SRL and includes. Works fine now.
    Apologies for my blunder, I'm new to this whole vista/windows 7 thing.

    RESOLVED
    Last edited by code841; 11-30-2009 at 07:53 AM.

  6. #6
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Moving Plugins Moves
    C:\Program Files\SCAR 3.21\includes\SRL\place inside plugins folder
    To
    C:\Program Files\SCAR X.XX\Plugins
    Try moving the files manually from the first folder I quoted to second?
    If all else fails, and you NEED SCAR, just go back a version.

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
  •