Which one, since atpa seems to be slower for me. if theres any way to speed up i would like to know also.
Which one, since atpa seems to be slower for me. if theres any way to speed up i would like to know also.
My Scripts:
Cafinated Killer|~~| Ghoul Killer With Bank|~~|CraftingGuild
First TuT, Objonscreenfinder!
Is atpa slow?
I've never used (or can't remember) using just TPA.
With just TPA you risk cycling the mouse quickly in the samish location vs with atpa you can break into boxes and use pixel counts to be more specific, have mouse move only to the monster for sure, and each time it moves/cycles (assuming you hovered something wrong) it will move further away rather than sameish location over and over.
On phone and super tired![]()
Ya, but half the time when it gets to the monster it moves leaving nothing there for uptext check and then moves to the next one which has also moved and continues usually not finding one since it takes soo long for it to get to one that hasnt moved, that it would eventually of moved! :P
My Scripts:
Cafinated Killer|~~| Ghoul Killer With Bank|~~|CraftingGuild
First TuT, Objonscreenfinder!
If your ATPA is slow, it must be because sometime is not working like it is supose it. I am using ATPA in my abyss script to find the mage and he is always in mouvement,but my script still find it very fast
The way you have to make your atpa is simple, it moves the mouse, if the uptext is not the good one, You need to make your script doing back the function and get ATPA again. This is my most advance technique to findNPC that I will update soon in my tutorial I made 2 weeks ago.
Simba Code:Function TalkingToMagesR: Boolean;
Var
TPAA: T2DPointArray; //Declare the variables
TPA: TPointArray;
CTS, I, T: Integer;
Begin
MageTalk := MageTalk + 1;
if (MageTalk = 4) then
begin
MageTalk := 0;
MovingToFindMage;
Exit;
end;
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 1384080, MSX1, MSY1, MSX2, MSY2, 80);
ColorToleranceSpeed(CTS);
TPAA := SplitTPA(TPA,1);
SortATPASize(TPAA, True);
HpCheckEmergency ;
For I := 0 To High(TPAA) Do
If GetArraylength(TPAA[i]) > 0 Then
Begin
MiddleTPAEx(TPAA[i], X, Y);
MMouse(X, Y, 1, 1);
wait(100 + random(100));
if (IsUpTextMultiCustom(['age', 'amorak'])) then
Begin
GetMousePos(X, Y);
mouse(x,y,0,0,false);
HpCheckEmergency ;
wait(100 + random(200));
if (ChooseOption('elep')) then
begin
ChooseOption('elep');
wait(1000 + random(1000));
Marktime(T);
repeat
wait(50 + random(100));
until (FindDTMRotated(FailSafe[2],x,y,MSX1,MSy1,MSx2,MSY2, -Pi/4, Pi/4, Pi/60, afound) or (TimeFromMark(t) > 6000));
Writeln('We are Getting Inside');
Result := true;
Exit;
end else
begin
TalkingToMagesR;
end;
end else
begin
TalkingToMagesR;
Break;
end;
end else
begin
MovingToFindMage;
Exit;
end;
end;
Last edited by Nemesis3X; 03-15-2012 at 03:00 AM.
Color Scripts : Gnome Stronghold Agility Course ~ Al Kharid Mining Unstrung Symbol Crafter
ATPA is the way to go, i've written combat scripts (GSK), and it's a MUCH more visible difference.
all of my scripts(public+private) involving objects are found with ATPAs . they are just too reliable/fast to pass up.
There are currently 1 users browsing this thread. (0 members and 1 guests)