Results 1 to 15 of 15

Thread: DTM not detected sometimes

  1. #1
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default DTM not detected sometimes

    I made DTM for Potions in Runescape which work perfectly sometimes and fail sometimes, is this normal or I have messed something. I made DTM using YoHoJo Tutorials

  2. #2
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Set the tolerance for the main point (The point that's on the color part of the item) to about 5 ~ 7 when making the DTM, see if that helps you out.

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

    Default

    It you made DTMs for items using my tutorials they should work 100% of the time.
    Make sure the main point has a tolerance 255 (to work for ALL ores/logs/whatever item) or lower to only work for certain (around 30-50 as a guess).

    Make sure all sub points are the BLACK OUTLINE COLOR and nothing else.

  4. #4
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok now made new DTM using simba DTM Editor , but now its giving me Out of Memory at FinDTM function

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

    Default

    wat, weird.
    Show the script or the few lines about the dtm loading/finding please

  6. #6
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Can you show us your script, please?

    E: Ninja, YoHoJo.

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

    Default

    I feel like I've ninjad you a lot recently... or maybe I just ninja people in general a lot.

  8. #8
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    program New;
    var PrayPot,x,y:integer;
    begin
    PrayPot := DTMFromString('mlwAAAHicY2dgYOAEYj4gFgFiDgYIYAFibi AWh9JiQCwNpXmhaso2LgCSTFjxfwbcgBEPhgIAPSUDmQ==');

    if FindDTM(PrayPot, x, y, 545, 205, 740, 465) then
    writeln('Congratz! You have just found your first DTM!')
    end.

  9. #9
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Change the coords you have to: MIX1, MIY1, MIX2, MIY2. These are the inventory coordinates supplied by the SRL include. Or if you are trying to find the potion on the main screen, you'd use: MSX1, MSY1, MSX2, MSY2.

    Also make sure you are freeing the DTM when you are done using it. Probably right after you find it.
    Simba Code:
    FreeDTM(PrayPot);

    Quote Originally Posted by astoria1112000 View Post
    program New;
    var PrayPot,x,y:integer;
    begin
    PrayPot := DTMFromString('mlwAAAHicY2dgYOAEYj4gFgFiDgYIYAFibi AWh9JiQCwNpXmhaso2LgCSTFjxfwbcgBEPhgIAPSUDmQ==');

    if FindDTM(PrayPot, x, y, 545, 205, 740, 465) then
    writeln('Congratz! You have just found your first DTM!')
    end.
    I'm going to ninja you one day, YoHoJo!

  10. #10
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Its giving me Out of Memory Exception at my 'if' function so it wont go ahead to FreeDTM

  11. #11
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    You have a space in your DTM.
    Simba Code:
    PrayPot := DTMFromString('mlwAAAHicY2dgYOAEYj4gFgFiDgYIYAFibiAWh9JiQCwNpXmhaso2LgCSTFjxfwbcgBEPhgIAPSUDmQ==');

    That is the proper one.

  12. #12
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ^^ , Thanks

    EDIT: Still Out of Mem Excp

  13. #13
    Join Date
    Jan 2010
    Posts
    1,414
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    You are very welcome. If you have any more problems, please don't hesitate to request help with them, we love to help!

    So did the fixed DTM I provided work this time around?

    E: Nevermind. I see your edit. Hold on.

    Quote Originally Posted by astoria1112000 View Post
    ^^ , Thanks

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

    Default

    Noticed there is a space in your DTM, not sure if they are suppoed to have spaces so either 1) remove the space located here "i A" OR 2) Remake the DTM again !

  15. #15
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok, made the DTM again working now, Thank you all for helping

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
  •