Page 2 of 9 FirstFirst 1234 ... LastLast
Results 26 to 50 of 207

Thread: Yohojo's DTM Tut 1(Item finding with DTMs)

  1. #26
    Join Date
    Nov 2006
    Location
    California, USA
    Posts
    336
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Actually I was trying it for a kebab and it wouldn't find it until yohojo told me to add an area of 2.

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

    Default

    yea i added an are of 2 and it works well now
    another DTM successfully made!

  3. #28
    Join Date
    Apr 2006
    Posts
    207
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    tarajunky, thanks very much for sorting that out! I could never figure that one out, but now i finally know
    Anyway, why would someone ever use a cross or x as the area shape?

  4. #29
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    The only reason to use a cross is if you know the color is going to be in a vertical or horizontal line around that area. Let's say that there will be a wall on the minimap within 20 pixels of a symbol you're looking for. Well, the symbol will move around, so the wall might be 5 pixels away, or it might be 20. If you put a size 20 square, SCAR will have to search 20x20 = 400 pixels every time it tests a point for your DTM. If you use a 20 pixel cross it would only have to search 80 pixels instead of 400.

    That said, I don't think I've ever used a cross or an x. Even if it worked, I always ended up changing the DTM around until it worked better with just squares.

  5. #30
    Join Date
    Apr 2006
    Posts
    207
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh, ok, thanks

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

    Default

    New people of the community, LEARN DTMs!
    bump

  7. #32
    Join Date
    Feb 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yohojo this is from ur wc scrip wat does it mean man

    line 166: [Error] (3520:4) unkown identifier 'find0bjex' in scrip..

  8. #33
    Join Date
    Jan 2007
    Posts
    448
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by dario69er View Post
    yohojo this is from ur wc scrip wat does it mean man

    line 166: [Error] (3520:4) unkown identifier 'find0bjex' in scrip..
    i didnt look at the script yet but im guessing that is supposed to be findobj

    not sure though i'll check for you
    Wizzup threatened to rape me unless I removed my signature.

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

    Default

    Quote Originally Posted by dario69er View Post
    yohojo this is from ur wc scrip wat does it mean man

    line 166: [Error] (3520:4) unkown identifier 'find0bjex' in scrip..
    That script is three years old... it doesn't work.

  10. #35
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well its a good tut. but you left out 1 thing for noobs like me :P when i press print screen, where does it save picture too? and for pressing it, do you have to hold print screen or just tap it and let go? its a good tut, if i could ever find the picture i think i took :P

  11. #36
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Saves to memory. Just paste and it will be there. Tap.

  12. #37
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    how do i open memory? lol. sorry I'm new to the whole print screen thing.

  13. #38
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Pressing printscreen is like highlighting a picture and pressing ctrl+c. It's saved into the memory, so all you have to do is paste (crtl+v) like usual

  14. #39
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh OK awesome! thanks ALOT Boreas for helping me with that, and thanks for making tut yohojo for making this uber tut this really helped me and now i added DTM's to my dropping procedure for my power miner

  15. #40
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    You people here at villu seem to make very good TUTs.
    Every TUT you look at here you know right at the moment whats going on.
    GGGOOOOOOOOOOOOOOOOOOOOODDD!!!!

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

    Default

    Gheeheehee Thanks,
    maybe I should make more =).

  17. #42
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by yohojo8 View Post
    Gheeheehee Thanks,
    maybe I should make more =).
    you should this tut was the uberist ever lol.

  18. #43
    Join Date
    Jan 2007
    Location
    Skaville, Jamaica
    Posts
    1,117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Cool! Awesome tutorial. Helped me a load.

    But here's the question. What can I use these for? I could just use

    SCAR Code:
    DropTo(2,28)

    to drop things, so I don't necessarily need it for that.

    To autobuy something possibly?

    What else could you use it for?

  19. #44
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Well once you get past writing powerminer/choppers you will want to drop or use certain items, and you won't know what spot there are in, so you will use DTMs (mostly of the black (65536) outline).

    Yes you can use for buying in the same way.

    For withdrawing from banks you can use them in the same way (or you can use BlackLists which work similarly, link in sig).

    You can also use them for finding things on the minimap (theres a knack to making good ones) and sometimes on the mainscreen (even bigger knack).

  20. #45
    Join Date
    Jul 2006
    Posts
    152
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great Script! Using DTM's now in a "smelter" that will probably die eventually because I will get bored but... still, it's a start :-p

  21. #46
    Join Date
    Mar 2007
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice tut. Helped me out a ton on making DTM's! Rather easy

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

    Default

    Quote Originally Posted by IEatJ00erBaybees View Post
    Cool! Awesome tutorial. Helped me a load.

    But here's the question. What can I use these for? I could just use

    SCAR Code:
    DropTo(2,28)

    to drop things, so I don't necessarily need it for that.

    To autobuy something possibly?

    What else could you use it for?
    DropTo(2,28) drops all items from slot 2 to 28.
    This would include
    money
    gems
    random event items
    extra pics
    extra axes.

    Using dtms would only drop specific items instead of everything.

    And to everyone else.
    Im glad you like this tutorial im happy it's so helpful to you all =).

  23. #48
    Join Date
    Feb 2007
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    honestly, your teaching skills are impressive. great tut. say, in an autofighter, how would you use dtms? also, a) do they take longer to find than colors (compare finddtm to findcolor), and b) if you can't use them on the mainscreen, that means you can only find them for inventory items and randoms i guess. this is probably very useful for randoms, but for inventory items, you will rarely need this because color-finding can do the same, that is unless the answer to a) = false ^^ this is not criticism on your tut, which is amazing, just on the use of dtms to regular scripters. thanks!
    EDIT: can this be used for things like coins and arrows, that as they stack, their picture grows? and i also just tested it. your tut is so clear, got it on first try! and i'll remember not to do top-left corner and set to 255 to make it universal. such a great tut omg!
    EDIT AGAIN: can you help me with dtms to make this function better...

    SCAR Code:
    {*******************************************************************************
    function PopUp(Option: String): Boolean;
    By: RsN
    Description: Finds Popup menu, then clicks Option.
    *******************************************************************************}


    function PopUp(Option: string): Boolean;
    var
      Top, Bottom: TPoint;
      dtmTop, dtmBottom, x, y: Integer;
    begin
      dtmTop := DTMFromString('78DA63146464606801622C0026CA28006435A' +
        '3AA890D7147552345841A90393D04D4880259DD04D4880359ED04' +
        'D4280059AD04FC2504644DC4AF06000DC909E0');
      dtmBottom := DTMFromString('78DA635CCCC8C070198891406C883B9886893' +
        '22E02B22EA1AA8101B89A8540D64522CCB948843984EC02B9F910' +
        '01BBA610E1AF6944D80572F311026AE6005967F0DB05007BD4134' +
        '5');
      if (FindDTM(dtmTop, Top.x, Top.y, 10, 10, 764, 502) and FindDTM(dtmBottom,
        Bottom.x, Bottom.y, Top.x, Top.y, 764, 502)) then
        if (FindText(x, y, Option, upchars, 0, 0, Bottom.x, Bottom.y)) then
        begin
          Result := True;
          Mouse(x + Length(Option) * 3, y + 2, 4, 3, True);
          Wait(150 + Random(200));
        end else
          if (FindText(x, y, 'Cancel', upchars, Top.x, Top.y, Bottom.x, Bottom.y))
            then
            Mouse(x + 3, y + 2, 4, 3, True);
      FreeDTM(dtmTop);
      FreeDTM(dtmBottom);
    end;
    i'm not entirely sure where the dtms are and how to use them when using a popup, but this function doesnt always work for me. pls help.

    "Impressive" - Star

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

    Default

    The pop up function works fine.

    What do you need help with,
    All you need to do is something like:

    If FindDTM(Logs) Then
    Mouse(x,y,3,3,false)
    PopUp('Drop')

    And im glad you liked my tut =).
    Happy you found it easy to understand.
    That was the point, very clear, explain everything, even where the Print Screen button is

  25. #50
    Join Date
    Feb 2007
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok, got a real question about dtm for u.
    i made a rune arrow dtm:
    SCAR Code:
    DTM := DTMFromString('78DA63DCCEC0C0308B910119B86BB032B0026' + // rune arrow
           '990E87F2060DC07644C445503918591407A3790E827A0662B9058' +
           '4240CD0620B118BF1A004D7F0B1F');
    i set the tolerance to 5, then when i tried it on the mithril arrow, it also worked, which isn't really what i want. how can i make it specific to the arrow i want?

    "Impressive" - Star

Page 2 of 9 FirstFirst 1234 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help finding GE Item Text
    By Bad Processor in forum OSR Help
    Replies: 9
    Last Post: 10-30-2008, 12:04 PM
  2. finding DTMs
    By TheChineseMan in forum OSR Help
    Replies: 2
    Last Post: 08-30-2008, 01:03 PM
  3. Cooking Item DTMs or BMPs
    By travo in forum OSR Help
    Replies: 5
    Last Post: 12-07-2007, 11:46 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
  •