Results 1 to 5 of 5

Thread: Help finding Daemonheim Banker

  1. #1
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default Help finding Daemonheim Banker

    Title says it all. Having a really hard time find the banker.

    Simba Code:
    Function BankFind(var x, y: Integer): Boolean;
    Var
      CTS, I: Integer;
      BankTPA: TPointArray;
      ATPA: Array of TPointArray;
    Begin
    If(Not(LoggedIn))Then Exit;
    CTS := GetColorToleranceSpeed;
    ColorToleranceSpeed(2);
    SetColorSpeed2Modifiers(0.14, 0.81);
    FindColorsSpiralTolerance(MSCX, MSCY, BankTPA, 2175542, MSX1, MSY1, MSX2, MSY2, 6);
    ATPA := TPAToATPAEx(BankTPA, 5, 5);


      For I := 0 To High(ATPA) Do
      Begin
        MiddleTPAEx(ATPA[i], x, y);
        MMouse(x, y, 2, 2);
        If(IsUpTextMultiCustom(['Bank','Fre'])) Then
        Begin
          Writeln('Found Bank');
          GetMousePos(x, y);
          Result := True;
          Break;
        End;
      End;
    End;

    Procedure OpenFreBank;
    Var Tries: Integer;
     Begin
      Repeat
       If(Not(LoggedIn))Then Exit;
         Tries := Tries + 1;
       If(Tries = 5) Then
         Writeln('Failed Five times');
         Logout;
       If BankFind(x, y) Then
         Mouse(x, y, 0, 0, False);
         WaitOption('ank', 500);
       Until(BankScreen or(Tries = 5));
       If Bankscreen Then
       Begin
        Writeln('Opened bank, deposit ores...');
    //Haven't written this yet//
       End Else
         Writeln('Failed to open bank');
         Logout;
     End;

  2. #2
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    You have to look for unique colors, try a necklace or watch or something...

  3. #3
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    Alright, I was using the blue cloth, but there is another NPC that has the same color and I think that might be confusing it, other than that do you see any flaws in my failsafes etc?

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

    Default

    Remember to set ACA to 2, and then click Mark Best Color, a lot of him should be colored.

  5. #5
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    I had it sent on two already.

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
  •