Results 1 to 5 of 5

Thread: DTM not workin =S

  1. #1
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default DTM not workin =S

    sum1 please help and thxxx....
    you know the DTM editor? when we printscrn the runescape screen to paint, do we then delete everything and only leave the item (in this case a picture of an iron ore)? then wen we open DTM editor we press edit paste rite??... and im not shurr why but wen i keep tryin this script out it never seems to find the ironore.... this is the script sum1 plezzz help and THANKs!:

    ScarScript: By Drunkenoldma
    program Dtmtest;
    {.include SRL/SRL.scar}
    function Loadiron: Integer;
    var
    ironMP: TDTMPointDef;
    ironSP: array of TDTMPointDef;
    ironDDTM: TDTM;

    begin
    SetArrayLength(ironSP, 5);

    ironMP.x := 20;
    ironMP.y := 17;
    ironMP.areasize := 1;
    ironMP.areashape := 0;
    ironMP.color := 2305870;
    ironMP.tolerance := 9;

    ironSP[0].x := 6;
    ironSP[0].y := 23;
    ironSP[0].areasize := 1;
    ironSP[0].areashape := 0;
    ironSP[0].color := 65536;
    ironSP[0].tolerance := 0;

    ironSP[1].x := 13;
    ironSP[1].y := 7;
    ironSP[1].areasize := 1;
    ironSP[1].areashape := 0;
    ironSP[1].color := 65536;
    ironSP[1].tolerance := 0;

    ironSP[2].x := 24;
    ironSP[2].y := 8;
    ironSP[2].areasize := 1;
    ironSP[2].areashape := 0;
    ironSP[2].color := 65536;
    ironSP[2].tolerance := 0;

    ironSP[3].x := 30;
    ironSP[3].y := 15;
    ironSP[3].areasize := 1;
    ironSP[3].areashape := 0;
    ironSP[3].color := 65536;
    ironSP[3].tolerance := 0;

    ironSP[4].x := 18;
    ironSP[4].y := 26;
    ironSP[4].areasize := 1;
    ironSP[4].areashape := 0;
    ironSP[4].color := 65536;
    ironSP[4].tolerance := 0;

    ironDDTM.MainPoint := ironMP;
    ironDDTM.SubPoints := ironSP;
    result := AddDTM(ironDDTM);


    end;
    var x,y: integer;
    begin
    SetupSrl;
    ActivateClient;
    Loadiron;
    if FindDTM(Loadiron,x,y,1,1,200,200) then
    writeln('braaapp');
    if not FindDTM(Loadiron,x,y,1,1,200,200) then
    writeln('crappp');
    end.

  2. #2
    Join Date
    Jan 2008
    Location
    Alberta
    Posts
    727
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use [scar] tags.

    You don't have to cut out everything but your item.

    Maybe try this.

    SCAR Code:
    program Dtmtest;
    {.include SRL/SRL.scar}

    var
      x, y : integer;


    function Loadiron: Integer;
    var
      ironMP: TDTMPointDef;
      ironSP: array of TDTMPointDef;
      ironDDTM: TDTM;

    begin
      SetArrayLength(ironSP, 5);

      ironMP.x := 20;
      ironMP.y := 17;
      ironMP.areasize := 1;
      ironMP.areashape := 0;
      ironMP.color := 2305870;
      ironMP.tolerance := 9;

      ironSP[0].x := 6;
      ironSP[0].y := 23;
      ironSP[0].areasize := 1;
      ironSP[0].areashape := 0;
      ironSP[0].color := 65536;
      ironSP[0].tolerance := 0;

      ironSP[1].x := 13;
      ironSP[1].y := 7;
      ironSP[1].areasize := 1;
      ironSP[1].areashape := 0;
      ironSP[1].color := 65536;
      ironSP[1].tolerance := 0;

      ironSP[2].x := 24;
      ironSP[2].y := 8;
      ironSP[2].areasize := 1;
      ironSP[2].areashape := 0;
      ironSP[2].color := 65536;
      ironSP[2].tolerance := 0;

      ironSP[3].x := 30;
      ironSP[3].y := 15;
      ironSP[3].areasize := 1;
      ironSP[3].areashape := 0;
      ironSP[3].color := 65536;
      ironSP[3].tolerance := 0;

      ironSP[4].x := 18;
      ironSP[4].y := 26;
      ironSP[4].areasize := 1;
      ironSP[4].areashape := 0;
      ironSP[4].color := 65536;
      ironSP[4].tolerance := 0;

      ironDDTM.MainPoint := ironMP;
      ironDDTM.SubPoints := ironSP;
      result := AddDTM(ironDDTM);
    end;


    begin
      SetupSrl;
      ActivateClient;
      Wait(1000 + Random(1000));
      Loadiron;
      if FindDTM(Loadiron, x, y, mix1, miy1, mix2, miy2) then
      writeln('braaapp');
      if not FindDTM(Loadiron, x, y, mix1, miy1, mix2, miy2) then
      writeln('crappp');
    end.

  3. #3
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Iron man ftw View Post
    Use [scar] tags.

    You don't have to cut out everything but your item.

    Maybe try this.

    SCAR Code:
    program Dtmtest;
    {.include SRL/SRL.scar}

    var
      x, y : integer;


    function Loadiron: Integer;
    var
      ironMP: TDTMPointDef;
      ironSP: array of TDTMPointDef;
      ironDDTM: TDTM;

    begin
      SetArrayLength(ironSP, 5);

      ironMP.x := 20;
      ironMP.y := 17;
      ironMP.areasize := 1;
      ironMP.areashape := 0;
      ironMP.color := 2305870;
      ironMP.tolerance := 9;

      ironSP[0].x := 6;
      ironSP[0].y := 23;
      ironSP[0].areasize := 1;
      ironSP[0].areashape := 0;
      ironSP[0].color := 65536;
      ironSP[0].tolerance := 0;

      ironSP[1].x := 13;
      ironSP[1].y := 7;
      ironSP[1].areasize := 1;
      ironSP[1].areashape := 0;
      ironSP[1].color := 65536;
      ironSP[1].tolerance := 0;

      ironSP[2].x := 24;
      ironSP[2].y := 8;
      ironSP[2].areasize := 1;
      ironSP[2].areashape := 0;
      ironSP[2].color := 65536;
      ironSP[2].tolerance := 0;

      ironSP[3].x := 30;
      ironSP[3].y := 15;
      ironSP[3].areasize := 1;
      ironSP[3].areashape := 0;
      ironSP[3].color := 65536;
      ironSP[3].tolerance := 0;

      ironSP[4].x := 18;
      ironSP[4].y := 26;
      ironSP[4].areasize := 1;
      ironSP[4].areashape := 0;
      ironSP[4].color := 65536;
      ironSP[4].tolerance := 0;

      ironDDTM.MainPoint := ironMP;
      ironDDTM.SubPoints := ironSP;
      result := AddDTM(ironDDTM);
    end;


    begin
      SetupSrl;
      ActivateClient;
      Wait(1000 + Random(1000));
      Loadiron;
      if FindDTM(Loadiron, x, y, mix1, miy1, mix2, miy2) then
      writeln('braaapp');
      if not FindDTM(Loadiron, x, y, mix1, miy1, mix2, miy2) then
      writeln('crappp');
    end.
    OMG Yesss finally LOL...THANKS SOO MUCH rep++

  4. #4
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You don't even make dtms that way. You drag crosshair and then open editor and make points. For help just pm me and i'll gladly help you.

  5. #5
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Da 0wner View Post
    You don't even make dtms that way. You drag crosshair and then open editor and make points. For help just pm me and i'll gladly help you.
    actualy from wat i know this is another way to make dtms i was jus tryin both out...ye i know therz another simpler one but yea..

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. DDTM not Workin??
    By kingstun in forum OSR Help
    Replies: 3
    Last Post: 02-27-2009, 12:17 PM
  2. DDTM not Workin??
    By kingstun in forum OSR Help
    Replies: 2
    Last Post: 02-27-2009, 02:20 AM
  3. please help nothing is workin
    By reddevil12312 in forum OSR Help
    Replies: 5
    Last Post: 08-05-2008, 01:01 PM
  4. Need workin flax picker
    By maxius in forum RS3 Outdated / Broken Scripts
    Replies: 1
    Last Post: 08-06-2007, 06:04 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
  •