Results 1 to 8 of 8

Thread: Error: Duplicate Identifier 'ISKEYDOWN'

  1. #1
    Join Date
    Sep 2008
    Location
    MI
    Posts
    65
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Error: Duplicate Identifier 'ISKEYDOWN'

    Hey, I'm trying to use "Heaven'z Regular Tree Pwnz0r + Banker" and this has been a problem with many other scripts as well. When I try to compile the script I get this error -

    Failed when compiling
    Line 1: [Error] (169:10): Duplicate identifier 'ISKEYDOWN' in script C:\Program Files\SCAR 3.15\includes\SRL\SRL\Misc\Smart.scar

    Like I said I've had this problem many times before. With atleast half of the scripts I've tried I've gotten this error so any help would be great!

    -Thanks

  2. #2
    Join Date
    Oct 2006
    Location
    United States
    Posts
    672
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    smart isnt working..hasnt been for about 2 weeks
    you gotta delete smart from the script

  3. #3
    Join Date
    Sep 2008
    Location
    MI
    Posts
    65
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok I have taken SMART out of the script but now I'm getting this error:

    SCAR Code:
    4 Players: Exception:  in line 46 in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Math.scar

    And line 46 is as follows:

    SCAR Code:
    Result := CreateTPAFromBMP( GetBitmapDC(TempBMP));

    Any help would be great!

    -Thanks!

  4. #4
    Join Date
    Aug 2008
    Location
    England
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    hmm... where it says line 46, it could mean anything line 46 references to.
    If you havent already, try download SRL rev #28, and if you have, downgrade possibly to #27.
    Are you using SCAR 3.20? If so use 3.15 because it is still a beta, and is gonna have glitches.
    Am in not helping? Sorry.
    --BadProcessor

  5. #5
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Maybe that is SMART Canvas drawing, but i am not sure... You have to really remove smart all the way the includes, the drawing, the setup... all of it
    ~ Metagen

  6. #6
    Join Date
    Sep 2008
    Location
    MI
    Posts
    65
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Not entirely sure how to remove the entire thing, and example may help. I am using SCAR 3.15b and SRL rev #28.

    And I got that error from another script. Wizzup's? Essence Miner V2.

  7. #7
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    remove setupsmart procedure and remove the {.include smart...} line
    ~ Metagen

  8. #8
    Join Date
    Oct 2008
    Location
    England
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Make sure you've removed ALL the S.M.A.R.T. references! ^^

    Try commenting out any lines that cause errors and see if that helps, I know that's worked for me a few times. (DON'T DELETE THEM THOUGH, in case they are needed!)

    You can comment things out by simply adding a '//' to the start of the line.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Duplicate Identifier Error
    By A G E N T in forum OSR Help
    Replies: 7
    Last Post: 02-13-2007, 01:46 AM
  2. Duplicate Identifier Error
    By I Karma I in forum OSR Help
    Replies: 6
    Last Post: 12-05-2006, 11:55 AM

Posting Permissions

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