Results 1 to 8 of 8

Thread: inventory.scar

  1. #1
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default inventory.scar

    SCAR Code:
    procedure DropAll;
    var i: integer;
    begin
      for i:= 0 to 2 do
      begin
        DropPattern(Random(2) + 1);
        if InvCount = 0 then
          break;
      end;
    end;
    0 to 28,
    Oh Hai Dar

  2. #2
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Main_Ftw View Post
    SCAR Code:
    procedure DropAll;
    var i: integer;
    begin
      for i:= 0 to 2 do
      begin
        DropPattern(Random(2) + 1);
        if InvCount = 0 then
          break;
      end;
    end;
    0 to 28,
    ^.^
    Last edited by Bionicle; 03-08-2010 at 11:06 PM.
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

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

    Default

    Quote Originally Posted by bionicle1800 View Post
    I lol'd
    good catch
    I believe it is like that because it is supposed to loop through the drop patterns. SRL is suppose to have 3 different drop patterns I believe. Which, in that case, it makes perfect sense...

  4. #4
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    I believe it is like that because it is supposed to loop through the drop patterns. SRL is suppose to have 3 different drop patterns I believe. Which, in that case, it makes perfect sense...
    That really doesn't make much sense...why wouldn't it stick to one drop pattern? Why would it need to loop back?
    (i just kind of glanced at it first, but now i see what you mean)
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  5. #5
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    drop pattern is below thou
    SCAR Code:
    DropPattern(Random(2) + 1);

    DW NCDS, I still like ya, blame the person edited this line. *Cough*RM*Cough*

    *Cough*Myself*Cough*
    Last edited by Main; 03-08-2010 at 11:24 PM.
    Oh Hai Dar

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

    Default

    Quote Originally Posted by bionicle1800 View Post
    That really doesn't make much sense...why wouldn't it stick to one drop pattern? Why would it need to loop back?
    (i just kind of glanced at it first, but now i see what you mean)
    Well it wouldn't loop back through..The only reason I can see that it is in a loop is to make sure all items are dropped. It randomly picks one of the drop patterns, goes through it, then if the Inv is empty, as it should be, it Breaks. Otherwise, it would go back through and make sure everything is dropped using another pattern.

    The reason for more than 1 pattern is just for randomness/antiban reasons.

    @MainFTW, I'm quite sure I'm right on this, though I apologize if I'm not.
    Last edited by NCDS; 03-08-2010 at 10:59 PM.

  7. #7
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No.

  8. #8
    Join Date
    Sep 2007
    Location
    British Columbia, Canada
    Posts
    4,047
    Mentioned
    1 Post(s)
    Quoted
    2 Post(s)

    Default

    okey my bad
    Oh Hai Dar

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
  •