Results 1 to 2 of 2

Thread: help whit reflection please

  1. #1
    Join Date
    Nov 2008
    Location
    Norway, Alesund
    Posts
    924
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default help whit reflection please

    Ok i am learning reflection i am totally new here, i am reading

    http://www.villavu.com/forum/showthread.php?t=46636

    i testing this script.


    PHP Code:
    program New;
    {.include 
    srl/srl/misc/smart.scar}
    {.include 
    srl/srl.scar}
    {.include 
    srl/srl/reflection/reflection.scar}
    //-----------------------------------------------
    //-----------------------------------------------


    procedure DeclarePlayers;
    begin
      HowManyPlayers 
    := 1;
      
    CurrentPlayer := 0;
      
    NumberOfPlayers(HowManyPlayers);

      
    Players[0].Name := 'xxxx';
      
    Players[0].Pass := 'xxxx';
      
    Players[0].Nick := 'xxxx';
      
    Players[0].Active := true;
    end;
    //-----------------------------------------------
    procedure FindGuide;
    var
      
    NPCCTNPC;
    begin
      
    If(FindNPC('Lumbridge',NPCC))then
        writeln
    ('Found the Guide! woot');
    end;
    //-----------------------------------------------

    procedure MainLoop;
    begin
    DeclarePlayers
    ;
    LoginPlayer;
      
    repeat

        
    //xxxxx
           
    FindGuide;
        
    //xxxxx

      
    Until False
    end
    ;

    //-----------------------------------------------
    //-----------------------------------------------
    //-----------------------------------------------
    begin
    Smart_Server 
    := 152;//World to load?
    Sart_Members := False;//Members?
    Smart_Signed := True;//Signed client?
    Smart_SuperDetail := False;//SMART high detail?
    SetupSRL;
    MainLoop;


    end
    then i press run i getting this error
    Code:
    Failed when compiling
    Line 661: [Error] (22229:58): Type mismatch in script C:\Program Files\SCAR 3.21\includes\SRL\SRL\Reflection\Characters.Scar
    and it opens Characters.Scar in new tab.


    reflection downloaded by Zasz's Scar Updater 2.0 Vista (I got xp btw xp version doesn't want to work for me.)
    Last edited by Laimonas171; 07-30-2009 at 02:48 AM.

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

    Default

    just use svn to download the newest rev.

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
  •