Results 1 to 7 of 7

Thread: Error with Reflection

  1. #1
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Error with Reflection

    Identifier expected in line 38 in script:

    SCAR Code:
    type //this line
      TNPC = record
        TileX, TileY, MSX, MSY: integer;
        NPCType, height, animation: integer;
        Name : string;
        InFight, IsMoving: boolean;
      end;
      TPlayer = record
        TileX, TileY, MSX, MSY:integer;
        animation, speed: integer;
        HPRatio, height, level: integer;
        Name: string;
      end;
      TMe = record
        TileX, TileY, MSX, MSY:integer;
        animation, speed, LoginIndex: integer;
        HPRatio, height, level: integer;
        Name: string;
        Experience, Levels: array[0..23] of Integer;
      end;

    What's wrong with it?

    this is in characters.scar

  2. #2
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    maybe another TNPC is used?

  3. #3
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Revision 35 compiles fine for me when I include Reflection\Reflection.scar. Try deleting the files inside the Reflection folder then updating to revision 35 again.
    :-)

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

  5. #5
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    can you post your reflection files?

  6. #6
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

  7. #7
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thank you.

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
  •