Ranqers Posted November 12, 2012 Share Posted November 12, 2012 what's a DTM, and where can i learn about using them.. i think it has something to do with making paths right? Quote Link to comment Share on other sites More sharing options...
LordJashin Posted November 12, 2012 Share Posted November 12, 2012 SCAR...Tools->DTM Editor Then you can use the FindDTM function http://wiki.scar-divi.com/index.php?title=DTM Quote Link to comment Share on other sites More sharing options...
Ranqers Posted November 12, 2012 Author Share Posted November 12, 2012 (edited) i've looked at some of the functions and what little i can find on the internet. i opened the editor, too. it looks cool! Edited November 12, 2012 by Ranqers Quote Link to comment Share on other sites More sharing options...
Ranqers Posted November 12, 2012 Author Share Posted November 12, 2012 (edited) didnt mean for this post fml Edited November 12, 2012 by Ranqers Quote Link to comment Share on other sites More sharing options...
Ranqers Posted November 12, 2012 Author Share Posted November 12, 2012 (edited) i found a little tutorial and used DTM. [scar]program New; var x,y,DTM: Integer; procedure LoadDTM; begin DTM := DTMFromString('78DA63DCC4C4C010C5C80002AC0C10E015940' + '7A641A24C207A2B908C4555636E1B0457C300531305E34180A57D' + '288A1A00723005E6'); end; begin LoadDTM; if(FindDTM(DTM,x,y,0,0,1024,768)) then begin WriteLn('Armadyl Godsword FOUND'); MoveMouse(x,y); Wait(30); ClickMouse(x,y,False); end; end.[/scar] how's a DTM any different from a bitmap? they do the same thing, right? Edited November 12, 2012 by Ranqers Quote Link to comment Share on other sites More sharing options...
FHannes Posted November 12, 2012 Share Posted November 12, 2012 i found a little tutorial and used DTM. [scar]program New; var x,y,DTM: Integer; procedure LoadDTM; begin DTM := DTMFromString('78DA63DCC4C4C010C5C80002AC0C10E015940' + '7A641A24C207A2B908C4555636E1B0457C300531305E34180A57D' + '288A1A00723005E6'); end; begin LoadDTM; if(FindDTM(DTM,x,y,0,0,1024,768)) then begin WriteLn('Armadyl Godsword FOUND'); MoveMouse(x,y); Wait(30); ClickMouse(x,y,False); end; end.[/scar] how's a DTM any different from a bitmap? they do the same thing, right? No, a DTM essentially works with points at certain relative distances from each other, but it allows you to make it find points that are displaced as well. Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted November 12, 2012 Share Posted November 12, 2012 how's a DTM any different from a bitmap? they do the same thing, right?Not exactly. A bitmap is a (portion of an) image you are looking for. A dtm is a few points you are looking for. In theory uses less memory and is faster than bitmaps. Although I think Freddy has the bitmap functions pretty tweaked for speed/performance. Edit: Yet again Freddy beats me to it. Quote Link to comment Share on other sites More sharing options...
Ranqers Posted November 12, 2012 Author Share Posted November 12, 2012 oh i see. just watched a video on it. what is used for making paths? Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted November 12, 2012 Share Posted November 12, 2012 (edited) More for finding items/objects. I suppose it could be used for searching the minimap for walking but not really the intended purpose. Edit: Nvm. Just reread your post. Answered a question you didn't even ask. Generally you would use RadarRoadWalk for walking although it is tricky to get your mind wrapped around it at first. Sadly there is a lack of decent path maker tool for it. Have a look at the contents of Map.scar in the OSI includes. Edited November 12, 2012 by Bixby Sayz Quote Link to comment Share on other sites More sharing options...
LordJashin Posted November 12, 2012 Share Posted November 12, 2012 Is RadarRoadWalk reliable compared to SPS? Never tried it. Yeah DTMs are coming up on freddys hit list... Idk what he would do to improve them though? Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted November 12, 2012 Share Posted November 12, 2012 RadarRoadWalk is comparable to RadialWalk in SRL, with a few additional parameters. Like RadialWalk getting the correct path can be a serious pain in the butt but it works very well once you have it. SPS is a little more newbie friendly but I find when it goes wrong it goes horribly wrong so I don't entirely trust it. Quote Link to comment Share on other sites More sharing options...
LordJashin Posted November 12, 2012 Share Posted November 12, 2012 RadarRoadWalk is comparable to RadialWalk in SRL, with a few additional parameters. Like RadialWalk getting the correct path can be a serious pain in the butt but it works very well once you have it. SPS is a little more newbie friendly but I find when it goes wrong it goes horribly wrong so I don't entirely trust it. I'll try it out sometime maybe. The SPS system worked great, but yeah its just that...we can't seem to get it updated and working for the latest SCAR. One day I want to rewrite the whole thing. My first priority though is OSI. Just keep adding more functions/improving... Quote Link to comment Share on other sites More sharing options...