Results 1 to 11 of 11

Thread: Can't create a accurate DTM for super strength(4)

  1. #1
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default Can't create a accurate DTM for super strength(4)

    I can't create an accurate DTM for a super strength(4).. First my script drinks the Super strengths 4's and banks, then it withdraws them and brings out more, this time after it drinks a super strength 4 it continues to drink it until it's gona instead of moving on therfor defeating the purpose of the script(to make super strength (3).

    How the F to a make it not do that?

  2. #2
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Make sure the point in the white is not going to be white in the (3) and make sure the dtm gets alot of the vial edges?

    If its too small it will probably just pickup on the large white areas


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  3. #3
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    I tried to get the top were the super strength 4 shows the vail and the 3 does not but it stops working after 1 load

  4. #4
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    I tried to get the top were the super strength 4 shows the vail and the 3 does not but it stops working after 1 load
    If it works first load i'd say its a script problem not the DTM?


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  5. #5
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Whats Wrong with:

    Simba Code:
    procedure DrinkPots;
    var
      X, Y: Integer;
      begin
          if FindColorTolerance(X, Y, 14342875, 566, 215, 726, 454, 4) then
          begin
          if FindColorTolerance(X, Y, 14342875, 563, 212, 602, 460, 4) then
          begin
          mmouse(x, y,1,1);
          Wait(250 + Random(150));
          ClickMouse(x, y, mouse_Left);
          Wait((StrToInt(DrinkWait)+1)  + Random(50));
          end;
          if FindColorTolerance(X, Y, 14342875, 607, 212, 644, 460, 4) then
          begin
          mmouse(x, y,1,1);
          Wait(250 + Random(150));
          ClickMouse(x, y, mouse_Left);
          Wait((StrToInt(DrinkWait)+1)  + Random(50));
         end;
         if FindColorTolerance(X, Y, 14342875, 652, 212, 685, 460, 4) then
         begin
         mmouse(x, y,1,1);
          Wait(250 + Random(150));
          ClickMouse(x, y, mouse_Left);
          Wait((StrToInt(DrinkWait)+1)  + Random(50));
        end;
        if FindColorTolerance(X, Y, 14342875, 691, 212, 730, 460, 4) then
        begin
        mmouse(x, y,1,1);
        Wait(250 + Random(150));
        ClickMouse(x, y, mouse_Left);
        Wait((StrToInt(DrinkWait)+1)  + Random(50));
      end;
      repeat
          DrinkPots;
           until
           (FindColorTolerance(X, Y, 14342875, 566, 212, 726, 454, 4)=false)
          FindTheBank;
     end;
    end;


    For a pserver dont care about anti-ban, CBA to drink 3400 potions

    EDIT: FFS I FORGOT I CHANGED IT TO USE COLORS BUT IT HAS THE SAME RESULT

  6. #6
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Use DTM's as the colors for 4 and 3 dose would basically be the same. If I were you I would put some 4 and 3 dose potions in my inventory and try to create a DTM that only highlights the 4 doses as it seems the problem is due to it thinking the threes are fours
    Current Project: Retired

  7. #7
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Gucci View Post
    Use DTM's as the colors for 4 and 3 dose would basically be the same. If I were you I would put some 4 and 3 dose potions in my inventory and try to create a DTM that only highlights the 4 doses as it seems the problem is due to it thinking the threes are fours
    I did that it highlighted all the 4's and on the second load it started drinking 3's

  8. #8
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    Maybe try CountColorTolerance for each inventory slot if the RSPS uses the same inventory co-ords as RS?

    Obviously the 4 dose would contain a higher portion of white than the 3 dose.

    Alternatively, do as Gucci said and just play with getting points with both a 3 and a 4 in your inventory so that the DTM editor only highlights a 4 dose.

  9. #9
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by P1ng View Post
    Maybe try CountColorTolerance for each inventory slot if the RSPS uses the same inventory co-ords as RS?

    Obviously the 4 dose would contain a higher portion of white than the 3 dose.

    Alternatively, do as Gucci said and just play with getting points with both a 3 and a 4 in your inventory so that the DTM editor only highlights a 4 dose.
    That's the thing it DID only highlight the 4

  10. #10
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    That's the thing it DID only highlight the 4
    Mind posting the code?
    Current Project: Retired

  11. #11
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Fixed i made a long ass dtm with like 15 points

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
  •