So PkHonor removed the uptext for certain NPC's to prevent botting, if an NPC is the same color as the environment and has no uptext, what's the best way to go about efficiently clicking on them?
So PkHonor removed the uptext for certain NPC's to prevent botting, if an NPC is the same color as the environment and has no uptext, what's the best way to go about efficiently clicking on them?
I assume you can still right click?
Also which NPCs specifically?
If the NPC is the same color as the environment, how do you see it?
What I mean by that is his shirt is the same color as the flooring and his pants are a solid black, meaning he has no unique colors to him.
Another problem I've run into is PkHonor has also made the empty furniture slots lacking uptext as well. An empty bench slot is just a see through white color, which unfortunately also matches a lot of colors in the room.
have you tried using DTM and trying some nice ATPA and TPA grouping ??
Formerly known as Undorak7
That's the worst anti-bot technique I've ever heard of... it'll only end up affecting legitimate players.
In the absence of UpText, you've got to find an alternative second method for verifying that a given object is indeed the object that you want to click.
Since this is a private server, I'd advocate a somewhat brute-force method: refine your colors very well, then right-click on everything and read the chooseOption menu. If the correct option exists, click it. If not, move onto the next object.
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols
Well, click the yellow dot on the minimap and then right click where your character is since it's a rsps shouldn't matter lol
Tsunami
right click them lol
Use a mmtoms formula (if it still shows as a yellow dot on minimap), then right click it and search for a bitmap of the attack option, then click it
p.s. your alotic thiever was dank back in the day
right clicks him here everytime perfectlySimba Code:program script;
{$I SRL-6/SRL.Simba}
var
rsps_mainscreen: tbox;
position: Tpoint;
function FindObject(Color, Tol, pixels: integer; Hue, Sat: Extended): boolean;
var
Tpa: TpointArray;
ATPA: T2DPointArray;
I: Integer;
begin
rsps_mainscreen := intToBox(7, 7, 626, 266);
if findcolorstolerance(Tpa, Color, rsps_mainscreen, 3, colorsetting(2, Hue, Sat)) then
begin
ATPA := ClusterTPA(Tpa, 10);
atpa.sortfromMidpoint(rsps_mainscreen.getmiddle);
if (length(ATPA) <= 0) then
begin
result := False;
exit;
end;
for I := 0 to high(ATPA) do
begin
if (length(ATPA[I]) >= PIXELS) then
begin
position := MiddleTPA(ATPA[I]);
result := True;
exit;
end;
end;
end
else
result := False;
end;
begin
if FindObject(331099, 7, 25, 0.08, 0.69) then
begin
mouse(position);
fastClick(mouse_right);
wait(5000)
end;
end;
and btw the numbers are different because I accidentally refreshed it so started over. Also change the mainscreen tbox bounds
I'd rather avoid using the minimap and extra clicking, I'm trying to make this script as fast as possible.
And thanks! It was a lot of work though to upkeep with Alotic's continuous updates to get rid of thieving bots. Feel free to fix it up though and get thief botting alive again in Alotic XD
Cheers, I'll get reading.
sadly alotic (best rsps imo) was shut down along with soulsplit, btw here is a video tut https://www.youtube.com/watch?v=HLfSFesd9-Q
This one should find it perfectly every time, it combines the black color of his pants and the red of his shirt. It also filters out too low or too high TPA:s, so it shouldn't click on the floor or other things with similar colors. You'll have to replace MSX1, MSY1, MSX2, MSY2 and MSCP with the coordinates of your servers (if you use an include this should be included, such as Aerolib). Also, you'll need the and_tpa plugin for this, download and put in your plugin folder (just put the dll file there, that's it).
Simba Code:program new;
{$I Aerolib/aerolib.simba} // if you don't want to use aerolib replace this with:
//{$loadlib AND_TPA}
Function findNPC(var foundPNT : TPoint) : boolean;
var
UpperBodyTPA : TPointArray;
LowerBodyTPA : TPointArray;
ATPA : T2DPointArray;
begin
SetColorToleranceSpeed(2);
SetToleranceSpeed2Modifiers(0.05, 0.35);
FindColorsTolerance(UpperBodyTPA, 462430, 3, 10, 303, 325, 10);
SetToleranceSpeed2Modifiers(0.93, 2.54);
FindColorsTolerance(LowerBodyTPA, 1447437, 3, 10, 303, 325, 10);
FilterTPADistTPAEx(UpperBodyTPA, 10, 6, LowerBodyTPA);
FilterTPADistTPAEx(LowerBodyTPA, 10, 6, UpperBodyTPA);
AppendTPA(UpperBodyTPA, LowerBodyTPA);
DebugTPA(upperbodyTPA, '');
if Length(UpperBodyTPA) > 50 then
begin
ATPA := ClusterTPAEx(UpperBodyTPA, 5, 10);
FilterTPAsBetween(0, 50);
FilterTPAsBetween(500, 10000);
if ATPA = [] then Exit;
SortATPAFromMidPoint(ATPA, MSCP);
FoundPNT := MiddleTPA(ATPA[0]);
Result := True;
end;
end;
begin
findnpc;
end;
It will return the midpoint of the NPC, which you can use with your mouse procedures. Let me know if you have any questions
/Kristi
"Once you begin to think, you can't stop."
Life > 0
There are currently 1 users browsing this thread. (0 members and 1 guests)