Results 1 to 7 of 7

Thread: Unkown declaration "IsMember "

  1. #1
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default Unkown declaration "IsMember "

    Hello all,

    i try to setup my player stats but get the error unkown declaration for IsMember.

    My procedure

    Simba Code:
    procedure SetupPlayer;
    begin
      locPlayer.Create;  

      LocPlayer.Username   := Players[CurrentPlayer].Username;
      LocPlayer.Password   := Players[CurrentPlayer].Password;
      LocPlayer.Pin        := Players[CurrentPlayer].Pin;
      LocPlayer.Active     := Players[CurrentPlayer].Active;
      LocPlayer.IsMember     := Players[CurrentPlayer].IsMember;



    Altough in the Reflection include Clobals.simba it is declared.

    Simba Code:
    {Players}
    type
      TReflectPlayer = record(TReflectActor)
    {$IFNDEF CODEINSIGHT}
        _Index: Integer;
        Username, Password, Pin: string;
        Active, IsMember: Boolean;
    {$ENDIF}
    end;
    Last edited by fre; 10-22-2016 at 02:34 PM.
    ~Fre

  2. #2
    Join Date
    Sep 2014
    Location
    C:\Simba\
    Posts
    565
    Mentioned
    9 Post(s)
    Quoted
    71 Post(s)

    Default

    Well it's saying isMemb, not isMember so...
    Feel free to ask me any questions, I will do my best to answer them!

    Previously known as YouPee.

  3. #3
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Simba Code:
    {LocalPlayer}
      type
        TReflectLocalPlayer = record(TReflectActor)
        Username, Password, Pin: string;
        Active: Boolean;
      end;

  4. #4
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    Simba Code:
    {LocalPlayer}
      type
        TReflectLocalPlayer = record(TReflectActor)
        Username, Password, Pin: string;
        Active: Boolean;
      end;

    This does not works.
    Oke, now i am totally confused how should this work by NOT declaring the variable :O
    Last edited by fre; 10-22-2016 at 02:39 PM.
    ~Fre

  5. #5
    Join Date
    Sep 2014
    Location
    C:\Simba\
    Posts
    565
    Mentioned
    9 Post(s)
    Quoted
    71 Post(s)

    Default

    He meant this: https://github.com/KyleHunter/OSR-Re...als.simba#L149

    You probably have a really old version of reflection or something. Who knows
    Feel free to ask me any questions, I will do my best to answer them!

    Previously known as YouPee.

  6. #6
    Join Date
    Apr 2007
    Posts
    373
    Mentioned
    2 Post(s)
    Quoted
    24 Post(s)

    Default

    Quote Originally Posted by Joopi View Post
    He meant this: https://github.com/KyleHunter/OSR-Re...als.simba#L149

    You probably have a really old version of reflection or something. Who knows
    I see...
    For most public scripts Aerolib is used in addition to Reflection, is this adviced?
    ~Fre

  7. #7
    Join Date
    Sep 2014
    Location
    C:\Simba\
    Posts
    565
    Mentioned
    9 Post(s)
    Quoted
    71 Post(s)

    Default

    No point if you know what you're doing and given that no hooks are broken.

    I use color scripts when hooks are outdated and for some simpler tasks. Otherwise I only use reflection, which is usually for bigger projects like zulrah.
    Feel free to ask me any questions, I will do my best to answer them!

    Previously known as YouPee.

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
  •