Results 1 to 11 of 11

Thread: Problem with reflections!!

  1. #1
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Problem with reflections!!

    The simple test :
    SCAR Code:
    program Tester;
    {.Include SRL\SRL\Misc\SMART.SCAR}
    {.include SRL/SRL.Scar}
    {.includes srl/srl/reflection/reflection.scar}

    Begin
      SmartSetup('157', True, True, False); {World prefix. Use low detail. Use unsigned Java.}
      SetTargetDC(SmartGetDC);
      SetupSRL;
      SetupReflection;
    End.

    Gives the error :
    Line 10: [Error] (15587:1): Unknown identifier 'SetupReflection' in script C:\Program\SCAR 3.15\Scripts\Tester.scar
    Failed when compiling
    I know what this means, But i got all the files right so i cant really see where it breaks :/.

    My Reflection.scar
    SCAR Code:
    {.Include SRL\SRL\Reflection\Hooks.Scar}
    {.Include SRL\SRL\Reflection\Core.Scar}
    {.Include SRL\SRL\Reflection\Walking.Scar}
    {.Include SRL\SRL\Reflection\Characters.Scar}
    {.Include SRL\SRL\Reflection\Objects.Scar}

    In Hooks.scar ive got SetupReflection, i post Hooks.scar on request.

    Thanks, N1ke!

  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What about First setting up srl then smart and then reflection or First srl, reflection, Smart
    ~Hermen

  3. #3
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Smart needs to be loaded first :/
    Then ive tried switching SetupSRL and SetupReflection without result

  4. #4
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Smart haves to be later because you setuip srl and you kind of write smart over it ???
    ~Hermen

  5. #5
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Still same problem :/

  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    .Include SRL\SRL\Reflection\Hooks.Scar}
    {.Include SRL\SRL\Reflection\Core.Scar}
    {.Include SRL\SRL\Reflection\Walking.Scar}
    {.Include SRL\SRL\Reflection\Characters.Scar}
    {.Include SRL\SRL\Reflection\Objects.Scar}
    ^^
    DO you have those files in the right direction?
    ~Hermen

  7. #7
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes, Also if i didnt it would give me an error.

  8. #8
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Do you have SetupReflection in one of your reflection.scar shit?
    ~Hermen

  9. #9
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Fixed Look at first post.

    Ive spelled includes <--

    Thanks for all the help!

  10. #10
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    189
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    can't get this right:S
    i got all the things
    nothing spelled wrong
    it can find all the scripts, but can't setupreflection not even:
    SCAR Code:
    program Tester;
    {.Include SRL\SRL\Misc\SMART.SCAR}
    {.include SRL/SRL.Scar}
    {.include srl/srl/reflection/reflection.scar}

    Begin

      SetupSRL;
      SetupReflection;
    End.
    Failed when compiling
    Line 9: [Error] (17425:1): Unknown identifier 'SetupReflection' in script
    We merely play "against the rules". We cheat. Thats what we are good at, thats what we do.
    http://www.frement.net/srl/simba_user4.png

  11. #11
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nielskool View Post
    can't get this right:S
    i got all the things
    nothing spelled wrong
    it can find all the scripts, but can't setupreflection not even:
    SCAR Code:
    program Tester;
    {.Include SRL\SRL\Misc\SMART.SCAR}
    {.include SRL/SRL.Scar}
    {.include srl/srl/reflection/reflection.scar}

    Begin

      SetupSRL;
      SetupReflection;
    End.
    Failed when compiling
    Line 9: [Error] (17425:1): Unknown identifier 'SetupReflection' in script
    SetupReflection is not needed anymore.


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. What are Reflections?
    By freebullets in forum OSR Help
    Replies: 8
    Last Post: 03-05-2009, 06:51 AM
  2. Trying to install reflections....
    By Pure1993 in forum OSR Help
    Replies: 1
    Last Post: 08-03-2008, 03:57 PM

Posting Permissions

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