Results 1 to 10 of 10

Thread: Type mismatch

  1. #1
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default Type mismatch

    i havent done any autoing for a long time and i decided to go back and run a script today
    but i have come across an error
    Line 661: [Error] (22242:58): Type mismatch in script C:\Program Files\SCAR 3.21\includes\SRL\SRL\Reflection\Characters.Scar

    this line is Result.MS := TileToMS(Result.Tile, Result.Height * 2 / 3);
    and from what i can see is that is perfectly correct

    could it be scar 3.22?

    ~shut

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

    Default

    ... do you have the developers revision of reflection?

  3. #3
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  4. #4
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Do you have the Developer's Reflection?

    Damn. I need to not open so many tabs and read everything. >.>

  5. #5
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  6. #6
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  7. #7
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    ok new problem
    Line 18: [Error] (27616:1): Duplicate identifier 'TWorld' in script C:\Program Files\SCAR 3.21\includes\srl\SRL\core\WorldSwitcher.scar

    and i did delete my whole includes folder before i checkedout with the new revision

    ~shut

  8. #8
    Join Date
    Feb 2009
    Location
    Hungary (GMT + 1)
    Posts
    1,774
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It happens when you still include WorldSwitcher.scar.
    If the script includes it then delete that line if not then I am out of ideas.

    EDIT:
    SCAR Code:
    program New;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/Core/WorldSwitcher.scar}

    begin
      SetupSRL;
    end.
    Same error with dev rev, latest scar.

  9. #9
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by Sabzi View Post
    It happens when you still include WorldSwitcher.scar.
    If the script includes it then delete that line if not then I am out of ideas.

    EDIT:
    SCAR Code:
    program New;
    {.include SRL/SRL.scar}
    {.include SRL/SRL/Core/WorldSwitcher.scar}

    begin
      SetupSRL;
    end.
    Same error with dev rev, latest scar.
    Well, yeah. You're not supposed to include anything in the core folder along side SRL.scar, since SRL.scar already includes them.

  10. #10
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

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
  •