Results 1 to 4 of 4

Thread: Finding Furnace

  1. #1
    Join Date
    Jun 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Finding Furnace

    Hey i'm making my first script which is a crafting script and got everything working well except the furnace finding part. The script runs from Edgeville bank, to the furnace but it cant not find the furnace, or it finds it and miss clicks and goes behind the furnace. I've tried dtm with up text and bitmaps. The Dtm is for the red part of the furnace with colour tolerance.

    Code:
    procedure FindingFurnace;
    Begin
      If finddtm (furnacedtm, x, y, msx1, msy1, msx2, msy2 ) Then
      If (IsUpTextMultiCustom(['rnace', 'melt', 'urnace', 'nace', 'elt'])) Then
      Mouse(x, y, 0, 0, Mouse_left);
      wait (500+(250));
    End;

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    DTMs are not very reliable at all for the main screen, they are best for static and 'flat' items like in the bank or inventory.

    FindObject would be the easiest way to do it and using ACA (auto color aid) would help a lot with that too.

    This video I made should help you out:
    http://youtu.be/98wVrr6GwyU

  3. #3
    Join Date
    Jun 2012
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks Yohojo for quick response, it works perfectly now. ++rep

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Oh wow very nice/quick fix glad I could help you out, and great effort/initiative!
    Mind posting the code or just saying what you ended up doing?

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
  •