Results 1 to 3 of 3

Thread: help and test

  1. #1
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default help and test

    omg i just spent that last hour making this function please test and tell me if it works i don't even want to look at it again ever!!! its supposed to click varrok east bank if you facing south if you see a problem you can fix please tell me
    SCAR Code:
    function doveb:boolean;
    var banker,i,o :integer;
        bankdots :tpointarray;
    begin
      setarraylength(bankdots,5)
      banker := DTMFromString('78DA63EC676260F06640017FFE30816946289' +
             'F11A4C68B809A3EC2E60000E64B0887');
      FindmmDtm(bankdots[5].x,bankdots[5].y,banker);
      repeat
        if (FindDTM(banker,bankdots[i].x,bankdots[i].y,bankdots[i].x+1,0,749,162)) then
        begin
          if (distance(bankdots[5].x,bankdots[5].y,bankdots[i].x,bankdots[i].y) < 20) then
          begin
            i := i+1;
          end;
          o := o+1
        end;
      until ((i=4) or (o=5));
      if (i=4) then
      begin
        mouse(bankdots[2].x,bankdots[2].y + 10,3,-3,true)
        result := true;
      end else
      begin
        result := false;
      end;
    end;
    "your always where you supposed to be"

  2. #2
    ronny.m.p Guest

    Default

    Good except looking through your code i noticed it might think another pc is that banker dpending on the position. Use FindDTMRotated. I'm writing a tut on it soon if you don't know how!

  3. #3
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    unless the only whey it would do that if there was like a frog or something because it has to find 5 npc within 20 pixles of each other witch isn't really that common i tryd rotated dtm but it wasnt 100% realiable like mine would be if it actually worked
    "your always where you supposed to be"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Speed Test [Test your connection and share!]
    By yanix in forum News and General
    Replies: 2
    Last Post: 12-17-2007, 09:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •