Adblock breaks this site

Finding DTM

Discussion in 'Scar/Simba Help' started by vincamous, Jun 30, 2011.

  1. vincamous

    vincamous Newcomer

    Joined:
    Jun 26, 2011
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0
    Finding DTM

    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.
     
  2. iWoodKart

    iWoodKart Active Member
    Banned

    Joined:
    Apr 29, 2011
    Posts:
    162
    Referrals:
    0
    Sythe Gold:
    0
    Finding DTM

    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.
     
  3. vincamous

    vincamous Newcomer

    Joined:
    Jun 26, 2011
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0
    Finding DTM

    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?
     
  4. vincamous

    vincamous Newcomer

    Joined:
    Jun 26, 2011
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0
    Finding DTM

    nevermind, I got it :)
     
  5. p0werpete

    p0werpete Member

    Joined:
    Aug 31, 2011
    Posts:
    26
    Referrals:
    0
    Sythe Gold:
    0
    Finding DTM

    if you need more help please let us know
    glad it works :)
     
< Rs2bot help | how do i get srl? >


 
 
Adblock breaks this site