Results 1 to 6 of 6

Thread: Why is this code commented out in the Box Handler?

  1. #1
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default Why is this code commented out in the Box Handler?

    Simba Code:
    {if (Length(Trim(srl_Implode(Players[CurrentPlayer].BoxRewards, ''))) = 0) then
      begin
        SRL_Warn('OpenRewardBox', 'No preferences for BoxRewards... dropping box', Warn_AllVersions);
        Mouse(fx, fy, 0, 0, False);
        Result := WaitOption('rop', 500);
        Wait(3000 + Random(2000));
        Exit;
      end;   }

    According to this
    http://runescape.wikia.com/wiki/Random_event_gift
    it is still dropable, so why not drop it if an option is'nt found?

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

    Default

    Not sure.

    This wouldn't solve the problem's we're having with it, though. It still chooses the reward, just doesn't confirm for whatever reason. May not be a bad idea to just drop it if the solving fails, though.

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

    Default

    Yeah shortly after I made that post I added the box dropping. I forgot all about thsi thread

  4. #4
    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
    Yeah shortly after I made that post I added the box dropping. I forgot all about thsi thread
    Think you removed his post? lol

  5. #5
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    460
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    Think you removed his post? lol
    I removed it after I checked the dates.
    Varrock gTanner
    Previously known as England155.

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

    Default

    Quote Originally Posted by Geo View Post
    I removed it after I checked the dates.
    Hmm, usually I can see deleted posts

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
  •