NEW PROBLEM, look at my last post
NEW PROBLEM, look at my last post
1: I would use DDTMs
2: Yes, just use your own DTMs/BMPs and set the coords so it only finds the northern most one.
3: Yes, but make them at least 5 to make them random.
1. DDTMs, use ladder+rocks
2. FindAllSymbolsIn, then sort them
3. If you use high enough randomness I believe it isn't
I made a new script, check it out!.
HAHA THAT IS THE Funny thing coords are not more banable lol!
if a dtm is found then it also will be stored as coords so where you all complaining about, the point is you must not let it click on the same coord on the mm that is a ban but a randomness works
btw you could use that brown yellow color where you are walking on, and make it search from right to left for the to north click and for the west click a easy static or dynamic dtm
Hermpie
~Hermen
Having another problem (instead of making a new thread I'll post here).
I have a DDTM...
SCAR Code:procedure LoadCenterDDTM;
var
CenterMP: TDTMPointDef;
CenterSP: array[0..2] of TDTMPointDef;
CenterDDTMskel: TDTM;
CenterTol, CenterArea: Integer;
begin
CenterTol:=30;
CenterArea:=1;
CenterMP.x := 585;
CenterMP.y := 122;
CenterMP.areasize := 1;
CenterMP.areashape := 0;
CenterMP.color := 2252936;
CenterMP.tolerance := CenterTol;
CenterSP[0].x := 579;
CenterSP[0].y := 137;
CenterSP[0].areasize := CenterArea;
CenterSP[0].areashape := 0;
CenterSP[0].color := 5193797;
CenterSP[0].tolerance := CenterTol;
CenterSP[1].x := 572;
CenterSP[1].y := 110;
CenterSP[1].areasize := CenterArea;
CenterSP[1].areashape := 0;
CenterSP[1].color := 5193797;
CenterSP[1].tolerance := CenterTol;
CenterSP[2].x := 604;
CenterSP[2].y := 121;
CenterSP[2].areasize := CenterArea;
CenterSP[2].areashape := 0;
CenterSP[2].color := 15262962;
CenterSP[2].tolerance := CenterTol;
CenterDDTMSkel.MainPoint:=CenterMP;
CenterDDTMSkel.SubPoints:=CenterSP;
CenterDDTM:=AddDTM(CenterDDTMSkel);
end;
Here's my procedure...
SCAR Code:procedure SouthernCoal;
var looked,tried, rx,ry: integer;
begin
looked:=0;
repeat
if DTMrotated(CenterDDTM, x,y,x1,y1,x2,y2) then
begin
mouse(x,y,2,2,true);
break;
end
else
begin
Centertol:=Centertol+3;
Centerarea:=Centerarea+1;
looked:=looked+1;
if (looked=6) then
begin
Writeln('Could not find the mining spot');
Disguise('Waiting for Next Player');
NextPlayer(false);
Disguise('DwarfMiner - Running');
end;
end;
until (looked=6);
repeat
if FindSymbolIn(rx, ry,'mining spot', 578, 87, 631, 120) then
begin
mouse(x,y,2,2,true);
break;
end;
wait(1000);
tried:=tried+1;
until (tried=25);
Writeln('We''''re at the mine!');
end;
I've tried 4 different DDTMs. Non worked. Any idea on what I could be doing wrong?
EDIT: I'm trying to get to the southern red box
![]()
i think you are searching with the wrong name try this, CenterDDTMSkel
~Hermen
Umm try.
MaybeSCAR Code:If FindColorSpiral(x,y,FindRockColor,co-ord here) then
Ok Glad I could help.
Oh and i like rep.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)