Results 1 to 5 of 5

Thread: Hermpies DTM

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

    Default Hermpies DTM

    Hermpie asked for some help so i thought id post here



    That is how my Dtm editor looked for the room and all the points apart from the main one had a tolerance of 25, itll need tweaking im sure but should work..

    if anyone else has any suggestions for getting into the hider other than FindSymbol because the symbols move around alot and get covered etc... then post


    Test Script
    SCAR Code:
    program ByMatDeB;
    {.include srl/srl.scar}
    procedure FindRoom;
    var x,y,Room:integer;
    var WhichAngle:extended;
    begin
      Room := DTMFromString('78DA63CC676260D0654001137B1319FE03694' +
           '620FE0F048C39403539A86A1A7CCD1924A16A40803109A8C618D3' +
           '1C14353540352604D4B402D55812503301A8261DBF1A003605127' +
           'E');
        if(FindDTMRotated(Room,x,y,MMX1,MMY1,MMX2,MMY2,-pi*2,pi*2,0.2,WhichAngle))then
        begin
         if not(FindSymbolIn(x,y,'bank',x-25,y-25,x+25,y+25))then
         begin
           Mouse(x,y-10,2,12,True);
           Writeln('Found');
         end;
        end;

    end;

    begin
    SetupSRL;
    ActivateClient;
    PerfectNorth;
    FindRoom;
    end.
    The truth finally came out...


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

    Default

    nice work i only needed to see the dtm k nice work
    ~Hermen

  3. #3
    Join Date
    Oct 2006
    Posts
    1,071
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Use JAD's Jadsymbol, it looks for the symbol multiple times, so when people move off it you can find it. Or just make your own procedure. Also make sure the symbol bitmap in SRL works because a few of them don't, but otherwise just finding the symbol should work easily because there's not that much traffic in the tanner shop.


    If that REALLY never works, then you can use markers like the dead cactus to the north or something. Locate something on the minimap and then move the mouse the number of coords the tanner is in relation to your marker.


    EDIT: Herm grats on 700 posts

  4. #4
    Join Date
    Aug 2007
    Location
    England
    Posts
    734
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Id of thought the tanner would be fine too, but i got told other wise... Hermpie if you wanna check the FindSymbol do this

    SCAR Code:
    program New;
    {.include srl/srl.scar}
    var x,y:integer;
    begin
      if(FindSymbol(x,y,'tanner'))then
      begin
        Writeln('Found at:')
        Writeln('x : '+inttostr(x));
        Writeln('y : '+inttostr(y));
      end;
    end.
    The truth finally came out...


  5. #5
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Even when using a DDTM, the main point will change with the movement of the symbol (unless, of course, you are using a color of 0 and tolerance of 255for the main point).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. hermpies clay softner...
    By welshboy in forum Bot Information and Spottings
    Replies: 13
    Last Post: 04-19-2009, 12:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •