Results 1 to 6 of 6

Thread: DTM help please.

  1. #1
    Join Date
    Sep 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default DTM help please.

    SCAR Code:
    program New;
    var BronzePlate,BronzeSq,BronzeSword,X,Y:Integer;
    begin
      BronzePlate := DTMFromString('78DA6314616060106440018E86B20CFF81342' +
           '310FF0702466E20838D010D302291405A8108354A40429A801A51' +
           '22D4701056030075890688');
      if FindDTM(BronzePlate,x, y, 556,209,687,242) then
      writeln('FOUND BRONZE PLATE.')


      BronzeSq := DTMFromString('78DA63146560601062400196DA920CFF81342' +
           '310FF07024625208387010D302291405A1848B01350C30624A409' +
           'A81103128AF8D500008577064E');
      if FindDTM(BronzeSq,x, y, 556,209,687,242) then
      writeln('FOUND BRONZE SQ.')


      BronzeSword := DTMFromString('78DA63146360601060400111CE860CFF81342' +
           '310FF0702464520838D010D302291405A1C48081250230A24F808' +
           'A8E1001232F8D50000B6020692');
      if FindDTM(BronzeSword,x, y, 556,209,687,242) then
      writeln('FOUND BRONZE SWORD.')
    end.

    Error.
    "SRL is the best SCAR community in the World, with the most talented programmers: adjust your volume."
    -Wizzup?

  2. #2
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

  3. #3
    Join Date
    Sep 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Thanks...
    "SRL is the best SCAR community in the World, with the most talented programmers: adjust your volume."
    -Wizzup?

  4. #4
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by uncfan1119 View Post
    Thanks...
    LOL
    sorry.
    just a hint, if it says semicolon expected in the error message in the debug box, a semicolon is expected.
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  5. #5
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    Don't forget to free your DTMs.

  6. #6
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by mormonman View Post
    Don't forget to free your DTMs.
    Yes, this is very important, otherwise the DTM will load over and over again, causing your computer/script to lag tremendously.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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