Results 1 to 5 of 5

Thread: UseMysteryBox(): Boolean;

  1. #1
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default UseMysteryBox(): Boolean;

    Wasn't detecting the Box. Redid DTM.

    Tested.

    Simba Code:
    function UseMysteryBox(): Boolean;
    var
      DTM: Integer;
      x, y: Integer;
    begin
      if (not LoggedIn) then
        Exit;

      DTM := DTMFromString('78DA639CC6C4C0F0940105CC891603D38C503' +
           'EE322A09A7BA86AC2857830D5BC425533355C1455CD74A09A8FA8' +
           '6A5A7D8551D57403D5BC25600E48CD7D543593C3D0D44C02AAB98' +
           '5AAA62B400455CD0CA09ADB04EC9A0054F31E554DB31916373F23' +
           '60CE224C35186E9E836917BA1A00409C1D23');

      {$IFDEF SIMBA}
        SetDTMName(DTM, 'Mystery Box');
      {$ENDIF}


      if (FindDTM(DTM, x, y, MIX1, MIY1, MIX2, MIY2)) then
      begin
        MMouse(x, y, 5, 5);
        if (WaitUptext('ster', 200)) then
        begin
          Result := True;
          GetMousePos(x, y);
          Mouse(x, y, 0, 0, True);
          Wait(RandomRange(200, 500));
          Writeln('Clicked mystery box');
        end;
      end;

      FreeDTM(DTM);
    end;
    Last edited by Wyn; 11-25-2011 at 12:17 AM.

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

    Default

    Can anyone else confirm this?

  3. #3
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Note this is the box that Gambles you the reward.

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

    Default

    I can test it.... just a minute.

    Edit: Tested and committed. Thanks!
    Last edited by NCDS; 11-25-2011 at 01:39 AM.

  5. #5
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    I can test it.... just a minute.

    Edit: Tested and committed. Thanks!

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
  •