Finding DTM

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

Finding DTM
  1. Unread #1 - Jun 30, 2011 at 12:05 AM
  2. vincamous
    Joined:
    Jun 26, 2011
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0

    vincamous Newcomer

    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.
     
  3. Unread #2 - Jun 30, 2011 at 7:46 AM
  4. iWoodKart
    Joined:
    Apr 29, 2011
    Posts:
    162
    Referrals:
    0
    Sythe Gold:
    0

    iWoodKart Active Member
    Banned

    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.
     
  5. Unread #3 - Jun 30, 2011 at 3:18 PM
  6. vincamous
    Joined:
    Jun 26, 2011
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0

    vincamous Newcomer

    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?
     
  7. Unread #4 - Jun 30, 2011 at 9:27 PM
  8. vincamous
    Joined:
    Jun 26, 2011
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0

    vincamous Newcomer

    Finding DTM

    nevermind, I got it :)
     
  9. Unread #5 - Aug 31, 2011 at 3:29 PM
  10. p0werpete
    Joined:
    Aug 31, 2011
    Posts:
    26
    Referrals:
    0
    Sythe Gold:
    0

    p0werpete Member

    Finding DTM

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

Users viewing this thread
1 guest


 
 
Adblock breaks this site