SRL Archive - Help

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


rj

2012-12-23 23:50:30

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?

DannyRS

2012-12-23 23:53:58

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

rj

2012-12-23 23:55:47

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

DannyRS

2012-12-24 00:01:30

From: rjj95
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?

rj

2012-12-24 00:04:12

Whats Wrong with:

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

Gucci

2012-12-24 00:55:51

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

rj

2012-12-24 09:30:06

From: Gucci
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

P1ng

2012-12-24 09:38:09

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.

rj

2012-12-24 09:42:39

From: P1ng
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

Gucci

2012-12-24 19:59:10

From: rjj95
That's the thing it DID only highlight the 4


Mind posting the code?

rj

2012-12-24 20:18:59

Fixed i made a long ass dtm with like 15 points