Results 1 to 7 of 7

Thread: i must be an idiot....DTM help please

  1. #1
    Join Date
    Jun 2007
    Location
    ~~Earth~~
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    i must be an idiot....DTM help please

    i realize this may sound noobish but at least i tried many times on my own before seeking help. ive looked and looked through tutorial after tutorial and i still cant seem to grasp how to work a DTM. ive done everything up to the point where you put it to text into the debug window and actually use it in the script, but when i do, it has an "unknown identifier '' in..." can anyone please tell or show me how you put a DMT in your script? this is what im working with, please help.


    DTM := DTMFromString('78DA638C666060B06200034606046085F2F F0' +
    '301631490E18C5B0D583C9A08357144A88927D21C3B026A62 8184' +
    '3D7E3500DE9A0880');



    all help will be very much appreciated, thank you!

  2. #2
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    did you put
    SCAR Code:
    var
      DTM: Integer;
    at the top of your script?


  3. #3
    Join Date
    Jun 2007
    Location
    ~~Earth~~
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i have it up there, but im not sure what else im supposed to do

  4. #4
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    post the script


  5. #5
    Join Date
    Jun 2007
    Location
    ~~Earth~~
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    program PotBot;
    {.include SRL/SRL.scar}


    //$$$$$$$$$$$$$$$$$$$$$$$\\
    //$$$$$$$$ Setup $$$$$$$$\\
    //$$$$$$$$$$$$$$$$$$$$$$$\\


    var
    i,DTM: Integer;

    const
    JadeColor = 8299987;
    WindowColor = 2070783;
    PotColor = 4903378;
    LillyColor = 11912613;


    //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\\
    //$$$$$$$$ UNSECURE BANK $$$$$$$$\\
    //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\\


    function DidWeFindColor : boolean;
    begin
    result := false;
    If(FindColor(x,y,JadeColor,154,96,230,183))then result := true
    end;

    procedure LoadBank;
    begin
    if(DidWeFindColor= true)then
    FindDTM(DTM,x,y,134,155,243,220)
    Mouse(x,y,0,0,true);
    end;

    procedure ExitWindow;
    begin
    i >= 0;
    if(DidWeFindColor= false)then
    wait(1500 + random(2000));
    repeat
    LoadBank;
    until(isfkeydown(12))

    MoveMouseSmoothEx(x,y,885,-136,True)
    end;

    begin
    SetupSRL;
    repeat
    OpenBank;
    until(FindColor(x,y,WindowColor,183,34,335,46))
    end.

  6. #6
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

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


    //$$$$$$$$$$$$$$$$$$$$$$$\\
    //$$$$$$$$ Setup $$$$$$$$\\
    //$$$$$$$$$$$$$$$$$$$$$$$\\


    var
    i,DTM: Integer;

    const
    JadeColor = 8299987;
    WindowColor = 2070783;
    PotColor = 4903378;
    LillyColor = 11912613;

    procedure DeclareDTMS;
    begin
      try
        DTM := DTMFromString('78DA638C666060B06200034606046085F2F F0' +
        '301631490E18C5B0D583C9A08357144A88927D21C3B026A62 8184' +
        '3D7E3500DE9A0880');
      except
       end;
    end;
    //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\\
    //$$$$$$$$ UNSECURE BANK $$$$$$$$\\
    //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\\


    function DidWeFindColor : boolean;
    begin
    result := false;
    If(FindColor(x,y,JadeColor,154,96,230,183))then result := true
    end;

    procedure LoadBank;
    begin
    if(DidWeFindColor= true)then
    FindDTM(DTM,x,y,134,155,243,220)
    Mouse(x,y,0,0,true);
    end;

    procedure ExitWindow;
    begin
    if(DidWeFindColor= false)then
    wait(1500 + random(2000));
    repeat
    LoadBank;
    until(isfkeydown(12))

    Mouse(x,y,3,3,True);
    end;

    begin
    SetupSRL;
    DeclareDTMS;
    repeat
    OpenBank;
    until(FindColor(x,y,WindowColor,183,34,335,46))
    end.

    Try that but your DTM still may not work as DTM's of the main screen are hard to make


  7. #7
    Join Date
    Jun 2007
    Location
    ~~Earth~~
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    wow, thank you so much, that has been bugging me for like the past day and a half

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. what an idiot -.- lol its hilarious
    By Camaro' in forum Semi Stupid Pictures
    Replies: 10
    Last Post: 04-06-2009, 03:39 PM
  2. This guys an idiot imo.
    By Sandstorm in forum Semi Stupid Pictures
    Replies: 22
    Last Post: 04-06-2009, 08:54 AM
  3. Sick and Tired of Idiot Depressed Babies!
    By LordGregGreg in forum The Bashing Club / BBQ Pit
    Replies: 66
    Last Post: 01-24-2009, 11:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •