• Log in or sign up for an account here: https://www.sythe.org/login

Finding DTM

vincamous

Newcomer
Joined
Jun 26, 2011
Sythe Gold
0
Messages
6
Ok so i was trying to usebitmap and that wasn't working so i'm trying to use DTM and i'm getting alittle more success but not entirely. It wont find the DTM in Google Chrome in the game. I ran it while googling images that looked like it and it found them. How do i get it to find in the gamer? Here's my script

Code:
program red;

var
x,y: Integer;
tar1d: Integer;


procedure loadtarget;

begin

    LoadDTM('C:\Users\kelsy\Documents\photoshopstuff\tar1d.DTM');


   end;


 procedure find;
 begin
     if(FindDTM(tar1d,x,y,1,7,1225,601)) then
      WriteLn ('target found');

     end;
     
begin
loadtarget;
      ClickMouse(477,331, true);


find;


end.
 
It looks like you keep loading the DTM all the time, this is no good. Load it once then run your script. DTM works well if there is a constant color bordering the image. ie use DTM when looking for items in your inventory, otherwise it doesnt/won't work too well ingame with a non-constant border.
 
Ok thanks i got it working. but the game i'm playing detects the bot or something. after i use it for awhile a screen pops up saying"Unfair advantage, Game must be played with a mouse" Is there around that?
 
if you need more help please let us know
glad it works :)
 
Runescape Gamblingrunescape gambling
Back
Top