Results 1 to 7 of 7

Thread: Help!!! i got a problem with some DTMs!!!!!!!!!

  1. #1
    Join Date
    Mar 2007
    Location
    In your computer
    Posts
    244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help!!! i got a problem with some DTMs!!!!!!!!!

    Hello, i need some help with my PieBsMaker that iam making now the problem is it opens the bank but it does not find flax i got DTM for flax.But it just sits there...Help?

    SCRIPT HERE.
    SCAR Code:
    program PieBsMaker;
    {.include SRL/SRL.scar}

    Const
    Loads = 9;//How many loads you want to do
    BankBoothColor = 5865356;//Only change if doesn't find bank booth at all.


    Var
    Flax: Integer;
    LoadsA: Integer;


    Procedure DeclarePlayers;
    begin
      HowManyPlayers := 1; //Number of players.
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0; //Player to start on.

      Players[0].Name := '';
      Players[0].Pass := '';
      Players[0].Nick := '';
      Players[0].Active := True;

      NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
    end;


    Procedure Bank;
    begin
    repeat
    If FindColor(x,y,BankBoothColor,0,0,450,450)then
    MMouse(x,y,3,3);
    Wait(300+random(700));
    Until (IsUpText('oth'));
    If (IsUpText('oth'))then
    Mouse(x,y,1,1,false);
    Wait(500+random(600));
    ChooseOption(x,y,'kly');
    end;


    Procedure WithrawFlax;
    begin
      Flax := DTMFromString('78DA638C65646010056220606680014606393' +
           '0C9C0F01F0818D3812C3154359CD17C7035601DA940161FAA9AB8' +
           'A32751D40000D3D7082D');
      if(FindDTM(Flax,x,y,MSX1,MSY1,MSX2,MSY2))then
      begin
    Mouse(x,y,2,2,false);
    Wait(1000+random(300));
    ChooseOption(x,y,'all')
    end;
    end;


    Function FindFastRandoms: Boolean; //By WT-Fakawi.
    var
      i: Integer;
    begin
      for i := 1 to 8 do
      begin
        case I of
          1: if FindDead then
              Result := True;
          2: if FindMod then
              Result := True;
          3: if FindMime then
              Result := True;
          4: if FindMaze then
              Result := True;
          5: if FindQuiz then
              Result := True;
          6: if FindDemon then
              Result := True;
          7: begin
              if NoGameTab then
              begin
                Result := True;
                Players[CurrentPlayer].loc := 'No GameTab';
                Logout;
                Exit;
              end;
            end;
          7: begin
              if InBlack then
              begin
                Result := True;
                Players[CurrentPlayer].loc := 'InBlack';
                Logout;
                Exit;
              end;
            end;
          8: RC;
        end;
        wait(1);
      end;
    end;


    Procedure FindRandoms;
    begin
      FindFastRandoms;
      FindNormalRandoms;
    end;


    begin
    SetupSRL;
    DeclarePlayers;
    If Not LoggedIn Then
    LoginPlayer
    repeat
    Bank;
    WithrawFlax;
    Until(Loads = LoadsA);
    If (Loads = LoadsA)then
    Exit;
    TerminateScript;
    end.

  2. #2
    Join Date
    Apr 2007
    Location
    The Buckeye State
    Posts
    482
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Try re-doing your DTM, referring to DTM tutorials to ensure you are doing everything correctly. If that doesn't work, try making a BitMap of Flax instead.
    I like my coffee black just like my metal.

  3. #3
    Join Date
    Mar 2007
    Location
    In your computer
    Posts
    244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I tried to remake it i followed the tutorial but now all it does is clicks left up corner and down right corner doesn not find bank booth at all, i tryed changing colors of the bank booth still doesn't work help?


    Scripts made by me.
    PieChoper.Version 0.1. 100%Done.
    PieBoner.Version 0.1. 100%Done.
    PieChestThiever.Version 0.1. 100%Done.
    PiePcAirRuneBuyer.Version 0.1. 100%Done.
    PieStringer.Version 0.1. 100%Done.
    PieShafter.Version 0.2. 100%Done.

    Currently working on.
    PieAirRuneBuyer.Version 0.2. 20%Done.//Stupid DTMs hold on, got a problem.
    PieBowFletcher.Version 0.1. 10%Done.//Just started.
    PieBsMaker.Version 0.1. 15%Done.//DTMs again...hold on, got a PROBLEM.


    PIE OWNZ ALL!!!-Even me .

  4. #4
    Join Date
    May 2007
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    one thing about ur script... u put antirandoms as procedures, but not in ur main loop =p

    Most bsmakers require flax in first invent sooo, u cud just draw a msbox for the first invent, wud save u alll ur lil troubles
    Originally Posted by YoHoJo
    I like hentai.

  5. #5
    Join Date
    Mar 2007
    Location
    In your computer
    Posts
    244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I know that i had put Anti-randoms procedures i did do that cause i will continue the script later
    Even If You Are On Your Way, You Will Get Run Over If You Just Sit There.
    -ILikePie1995.

    My Best Script I Yet Made, Go Check It Out, Its In The Fighting Section. Look For UndeadKiller!

    GET FREE CASH!!!READ ALL ABOUT IT!!!
    http://www.AdPaid.com/ptr/pages/join...d=ilikepie1995

    JOIN AdPaid.Com NOW!!!ITS OWNAGE!!!
    http://www.AdPaid.com/ptr/pages/conf...d=ilikepie1995

  6. #6
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alrighty, dtms should work, and that a much better way to do it, rather than having the all be in the first slot, thats just lazy. Try putting more debug comments into you script so you know exactly what its trying to do that is making it do something. Then see if its finding the dtm in to many places, or just not finding it at all, and make some adjustments to the dtm. Or perhaps you could have it lok for the dtm first (once you have it unique enough), and as a backup if it doesnt find it, have a bitmap.
    Oh, if you realy want to be able to control ure dtms, make a n outocolor method for the flax, and then use a ddtm :P
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  7. #7
    Join Date
    Mar 2007
    Location
    In your computer
    Posts
    244
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Kk tnx Greg
    Even If You Are On Your Way, You Will Get Run Over If You Just Sit There.
    -ILikePie1995.

    My Best Script I Yet Made, Go Check It Out, Its In The Fighting Section. Look For UndeadKiller!

    GET FREE CASH!!!READ ALL ABOUT IT!!!
    http://www.AdPaid.com/ptr/pages/join...d=ilikepie1995

    JOIN AdPaid.Com NOW!!!ITS OWNAGE!!!
    http://www.AdPaid.com/ptr/pages/conf...d=ilikepie1995

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem with DTMs
    By Griff in forum OSR Help
    Replies: 6
    Last Post: 08-31-2008, 05:08 PM
  2. DTMs
    By Jackrawl in forum OSR Help
    Replies: 6
    Last Post: 11-25-2007, 09:00 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
  •