+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 26 to 30 of 30

Thread: /MSI/Skill functions

  1. #26
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    By wrappers we mean:
    SCAR Code:
    function MSI_WaitWhileMining(): Boolean;
    begin
      Result := MSI_WaitWhileChopping();
    end;
    Which by the looks of it would work for MineRock and MineInvFull. Also, I get a lot of errors like that in Simba. It highlights a line that's nowhere near the error.

    Probably something that should be reported.

    Good job, though.

  2. #27
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    By wrappers we mean:
    SCAR Code:
    function MSI_WaitWhileMining(): Boolean;
    begin
      Result := MSI_WaitWhileChopping();
    end;
    Which by the looks of it would work for MineRock and MineInvFull. Also, I get a lot of errors like that in Simba. It highlights a line that's nowhere near the error.

    Probably something that should be reported.

    Good job, though.
    Yeah I know what you meant by wrappers, I just wanted to avoid it.

    You could definitely use that for MineInvFull, I don't know as you would want to for MineRock though.

    If you do want to however, I will just have to change around WaitWhileMining();

  3. #28
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    you're calling WaitWhileChopping, but you have WaitWhileMining just above..

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  4. #29
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Rasta Magician View Post
    you're calling WaitWhileChopping, but you have WaitWhileMining just above..

    ~RM
    Typo!

    Fixed.

  5. #30
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    Yeah I know what you meant by wrappers, I just wanted to avoid it.

    You could definitely use that for MineInvFull, I don't know as you would want to for MineRock though.

    If you do want to however, I will just have to change around WaitWhileMining();
    If they're different, leave them different. Just at a glance they looked the same.

    But yeah, no sense in repeating code, use a wrapper for MineInvFull.

+ Reply to Thread
Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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