Results 1 to 3 of 3

Thread: cant find magic trees

  1. #1
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default cant find magic trees

    Hello i recently got involved in scripting and i am not very good at it yet, but i am still trying to learn. As of right now i am writing very simple scripts to play with. I have been able to easily make a script to find any tree so far except for magic trees. For some reason the P07_FindObjCustom function will not work on magic trees. It will just move the mouse around like crazy. I have tried using every unique color i could find on the tree but it will never recognize it. Is there something i can do to fix this or a different function i can use to find a magic tree on my screen. Ive also played around with the tolerance and multiple other varaibles brightness etc and nothing seems to work.

  2. #2
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    can you post the script

  3. #3
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah sry here is the procedure that is being used to find and chop the tree

    procedure chopYew;
    begin
    P07_MakeCompassNorth
    if P07_FindObjCustom(x,y, ['Magic', 'op Ma'], [1847606 , 4749185 ], 10) Then
    ClickMouse2(mouse_left);
    MouseSpeed := 12;
    Wait (RandomRange(10000,11000))
    end;

    it seemed to work with all the other trees like i was saying above

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
  •