Results 1 to 7 of 7

Thread: PinScreen:Boolean; addition

  1. #1
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default PinScreen:Boolean; addition

    Simba Code:
    function PinScreen : Boolean;
    begin
      Result := FindTextTPA(2070783, 0, 105, 62, 150, 75, 'Please', UpCharsEx, Nothing);
      if not (Result) then
        if FindTextTPA(2070783,3,MBX1,MBY1,MBX2,MBY2,'set',UpCharsEx,Nothing) then
          MouseBox(105,158,205,194,mouse_Left);
    end;

    This addition is to combat this screen, since it's screwing me over T_T


  2. #2
    Join Date
    Dec 2012
    Posts
    191
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Silly question (or not), wasn't this already implemented?

  3. #3
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

  4. #4
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    You didn't return a result afterwards, so even if it found that screen, it'd still return false?

    Edit: 2k post. YAY

  5. #5
    Join Date
    Sep 2012
    Location
    Legolan, Ireland
    Posts
    542
    Mentioned
    0 Post(s)
    Quoted
    50 Post(s)

    Default

    Quote Originally Posted by NKN View Post
    You didn't return a result afterwards, so even if it found that screen, it'd still return false?

    Edit: 2k post. YAY
    Result := FindTextTPA(2070783, 0, 105, 62, 150, 75, 'Please', UpCharsEx, Nothing);
    Have you felt the whale lately?
    .__________.
    Whale so hard.

  6. #6
    Join Date
    Jun 2008
    Location
    United States
    Posts
    818
    Mentioned
    60 Post(s)
    Quoted
    90 Post(s)

    Default

    Quote Originally Posted by NKN View Post
    You didn't return a result afterwards, so even if it found that screen, it'd still return false?

    Edit: 2k post. YAY
    Which you would want. Otherwise, if 'PinScreen' starts returning true without there actually being the numpad on screen, scripters assuming they can use 'InPin' after 'PinScreen' returns true will be in trouble.
    [10/14/13:19:03] <BenLand100> this is special relatively, just cleverly disguised with yachts

  7. #7
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    As Euphenism said.

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
  •