Results 1 to 7 of 7

Thread: Think CountDots, GetMiniMapDots are broken

  1. #1
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default Think CountDots, GetMiniMapDots are broken

    I believe these functions are broken, I have been playing with them and tried every type of dot but always returns 0 value even though there are dots present. Don't know if it its just me or what.
    Finished B.S. Program in Radiology!!

    Projects: A big one! Total secret! hehe

  2. #2
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by Element17 View Post
    I believe these functions are broken, I have been playing with them and tried every type of dot but always returns 0 value even though there are dots present. Don't know if it its just me or what.
    Post the coding on how u use it?
    It works for me.

    Creds to DannyRS for this wonderful sig!

  3. #3
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Sorry, but I can confirm that they're not broken since I'm using them a lot in my script.
    Post me your code, I believe you're doing something wrong here.

  4. #4
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Not broken for me, using Ashamans Hunter script

    Forum account issues? Please send me a PM

  5. #5
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    I forgot to call it in the function I was using.....yeah epic fail on my part....
    Finished B.S. Program in Radiology!!

    Projects: A big one! Total secret! hehe

  6. #6
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Quote Originally Posted by Element17 View Post
    I forgot to call it in the function I was using.....yeah epic fail on my part....
    Just adding to that you can also always do something on the lines of
    Writeln(IntToStr(.....
    to debug the amount of dots found on the minimap.
    You'll find that it's very accurate.
    Best of luck with your scripting!

  7. #7
    Join Date
    Jun 2007
    Posts
    532
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    Simba Code:
    procedure FindMonster;
    var
      NPCTPA:TPointArray;
    begin
      NPCTPA := GetMiniMapDots('npc');
      if not(length(NPCTPA) = 0) then
      begin
        SortTPAFrom(NPCTPA, Point(MMCX, (MMCY - 20)));//wanted off center ;)
        Mouse(NPCTPA[0].x, NPCTPA[0].y, 2, 2, true);
      end
      else
        writeln('No NPC dot found.');
    end;

    This returns 0 npc found when there are npcs in the area.

    **Not my procedure but I am using it to test and its not working either
    Finished B.S. Program in Radiology!!

    Projects: A big one! Total secret! hehe

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
  •