Results 1 to 10 of 10

Thread: DTM Help

  1. #1
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default DTM Help

    Well im making a Oak Banker, How would i make it bank All the Oak longs using a DTM. I would also like some1 to edit it if u could.


    SCAR Code:
    program RayzOakBanker;
    {.include srl/srl.scar}
    {.include srl/srl/skill/Woodcutting.scar}

    var
     OakBit: integer;
     x, y: Integer;
     OakLog: integer;



    ////////////////////////////BitMaps///////////////////////

    Procedure BitmapsAndDMTs;
     OakBit := BitmapFromString(29, 1, '38401E48502A60604430380C' +
           '50602C60702E58603660703850603030401B28301A30381A50601' +
           'A50581828301A38481A5860186060365860184850264850163840' +
           '2428281B30381A40481A48502650583050603030380A');
           
      OakLog := DTMFromString('78DA6314666060106440017921460CBF80342' +
           '310FF0702460E20831B554DAEBF2A986684F21959808418013520' +
           '794954355D59F6A86AA481043FAA9AEC200354352033D850D5843' +
           '9A9A3AA910712A2A86A1A93AD50D40000FCCF0CB5');

    end;

    /////////////////////Oak Cutting/////////////////////////

    begin
     if FindBitmap(Oakbit, x, y, 2, 2) then
      begin
       Writeln('Found Oak!')
        Mmouse(x, y, 1, 1, True)
         if(IsUpText('illow'))then
          begin
          Mouse(x,y,2,2,true)
           Writeln('Clicked Tree!')
     If (InventoryFull)then

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    DTMs arent really editable.
    No one actually understands the
    Code:
    794954355D59F6A86AA481043FAA9AEC200354352033D850D5843
    Jibberish.

    Try reading my DTM tutorial. and make sure you follow all of the steps.
    http://www.villavu.com/forum/showthread.php?t=564
    You can also save the DTM from the DTM editor and attach it here for help.

  3. #3
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    llook at some scripts with banking in them to get the idea of how to doit
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  4. #4
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    and check the bank section of srl theres a function that stores everything or everything from inv space 2-28

  5. #5
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    repeat
    findinvdtm(oaklog,x,y);
    mouse(x,y,1,1,false);
    popup('all');
    until(findinvdtm(oaklog,x,y)=false);

    get it ,got it ,good
    also in divi dtms are editable
    "your always where you supposed to be"

  6. #6
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    NO!!!ur not supposed to actually help him...ur just supposed to point him in the right direction
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  7. #7
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    omg your not suppose to make useless posts just to get post count up and just because you dont know how to script and cant actually help any1 that doesn't mean i cant
    "your always where you supposed to be"

  8. #8
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    i was being serious...not that he's a leecher...but u dont want to directly help leechers...u want to point them sum where so that they might get interested by themselves...instead of just leeching

    i can help people...and im happy with my post count...no need to try to get up on use less posts....oh! and i can script
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  9. #9
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thx for help, And STOP FIGHTING . lol

  10. #10
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    sry bout that
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


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
  •