laakerules
03-15-2012, 02:37 AM
Which one, since atpa seems to be slower for me. if theres any way to speed up i would like to know also.
YoHoJo
03-15-2012, 02:47 AM
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 :D
laakerules
03-15-2012, 02:54 AM
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
Nemesis3X
03-15-2012, 02:54 AM
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.
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;
ATPA is the way to go, i've written combat scripts (GSK), and it's a MUCH more visible difference.
x[Warrior]x3500
03-15-2012, 03:20 AM
all of my scripts(public+private) involving objects are found with ATPAs . they are just too reliable/fast to pass up.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.