Results 1 to 17 of 17

Thread: Help with my fletcher.

  1. #1
    Join Date
    Aug 2007
    Location
    Vancouver
    Posts
    394
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Help with my fletcher.

    I probably wont realese this when i finish. Its more of a project for me to play around with dtms.

    anyways im getting acess violations for some reason...not sure what they are.
    My main concern is why arent my dtms working? i have set the color thing to 65536 and the tolerance to 250.

    well here it is.

  2. #2
    Join Date
    Jun 2007
    Posts
    246
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you need to call loginplayer and declareplayers so it can create a bitmap of the nickname and then you shouldnt get the access violation if i remmeber right.

  3. #3
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    did you made a dtm of the 'black lines only!' around the item?
    (the first dot need to be in a black line 2)

  4. #4
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by MasterKill View Post
    did you made a dtm of the 'black lines only!' around the item?
    (the first dot need to be in a black line 2)
    No it doesn't and shouldn't. The first dot should be in the middle of the object with the rest on the outline of the object you're trying to locate.
    :-)

  5. #5
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Metho D View Post
    No it doesn't and shouldn't. The first dot should be in the middle of the object with the rest on the outline of the object you're trying to locate.
    yes, the center but it schould be in a black line! couse else the dtm cant be found after re-loading runescape.

    e: you should only use the collor '65536' in your dtm

  6. #6
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    A brief lesson on DTM's:

    1) Pick a startpoint, near the middle of the object. The color doesn't matter. Set the colortolerance of that point to 255
    2) Place a lot of dots on the black lines of the object (Preferably not upper left corner, because there is the text describing how many of that item there is)
    3) DTM to Text
    4) Use.

    Your scripts error though, is not because of your DTM's. You have the procedure "DeclareDTMs" but you never use it. So your script gives you access violation because the DTMs havent been declared.

    -Knives

  7. #7
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    dont forget to
    step 2.b
    save it on your destkop(or somewhere) and then click the test menu and then do finddtm and then select your dtm if not found theb do it again or try somthing else
    ~Hermen

  8. #8
    Join Date
    Aug 2007
    Location
    Vancouver
    Posts
    394
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Ive done everything....including the 65536 for color. still wont worked, it says it can find the dtm as well.

  9. #9
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Read the last few lines of King of Knives' post.
    :-)

  10. #10
    Join Date
    Aug 2007
    Location
    Vancouver
    Posts
    394
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    like i said already did it.

  11. #11
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Can you reupload or post the script then? It's hard to help if you've got a non-functional one uploaded/posted.
    :-)

  12. #12
    Join Date
    Aug 2007
    Location
    Vancouver
    Posts
    394
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    updated it ^^

  13. #13
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    put a declare players procedure in i think that might be causing it.

  14. #14
    Join Date
    Aug 2007
    Location
    Vancouver
    Posts
    394
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    added declare players seemed to fix it. Now i can get it to find the willow dtm in the bank and take them out, but when it goes to find the knife dtm or willow dtm in inventory it randomly clicks around. I updated it, someone else try it and tell me if the same thing happends to them.

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

    Default

    this is sort of offtopic just a tip,Make sure to realese the dtm to reduce lag!

    sorry i couldnt have been more of help

  16. #16
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    The parent-point in the DTM has tolerance 255 (Or willow-logs color + tol 20-30).
    The BLACK outlines shall be given NO tolerance AT ALL!

    That should make it work. And yeah, remember to free the DTM after use.

    -Knives

  17. #17
    Join Date
    Aug 2007
    Location
    Vancouver
    Posts
    394
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Edit: i get the X on the item, but it still cant find it in the inventory!


    EDIT,EDIT: i realised what i did wrong it should be
    SCAR Code:
    if (FindDTM(DTM, x, y, MIX1, MIY1, MIX2, MIY2)) then//notice the MI instead of MS MI searched inventory.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help with fletcher
    By Richard in forum OSR Help
    Replies: 0
    Last Post: 02-09-2008, 02:09 PM
  2. SRL Fletcher
    By Jens in forum RS3 Outdated / Broken Scripts
    Replies: 9
    Last Post: 02-26-2007, 12:52 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
  •