PDA

View Full Version : [AL] Pollnivneach Roof-hopper



Flight
02-16-2018, 03:34 AM
https://i.imgur.com/dmlizFU.png
By Flight
Current version: 1.0




Script complexity
Script stability
Script anti-bans


[||||||||||]
[||||||||||]
[||||||||||]



Core features:

Does the Pollniveach rooftop agility course
Up to 40K XP/hour and 15 marks of grace per-hour
Obstacle failure detection & correction
Auto-detects & eats fish when low on health
Light-weight anti-ban
On-screen reporting
Any client; SMART/OSRS official, ect... (Only tested via SMART)
Break system
100% color


Requirements:

AeroLib (2.1+) (http://villavu.com/forum/showthread.php?t=108953)
Simba 1.2-rc6 32-bit version (http://nala.villavu.com/downloads/master/05a0dc6397ebfbf77d10eae153e58a5050678f87/Simba.i386-win32.exe)
70+ Agility
Cooked fish of (almost) any kind [optional]
Camera zoom set to default and max brightness


How to use:
Place your character near the beginning of the Agility course and start the script. If you've opted to eat fish at low HP be sure to already have the chosen fish in your inventory.

Final notes:
This script does utilize RSWalker but only to return the player to the beginning of the course, the rest is done via simple DTMs. I decided to make an Agility script in this fashion to prove it's very possible to do without Reflection, without player location detection (such as RSWalker or SPS), and without convenient object overlays found on clients such as RSBuddy. And whereas I did use RSWalker for returning the player to the start, this is easily substituted with primitive methods such as static TPAs or linear walking. Actually my Seers Village script came before this one but since it's not as stable it's yet to be released, however that's on the agenda. This script does not revolve around this course only and could provide a stable template for any Agility course. In fact, I threw together a Rellekka rooftop course in minutes using the same template, only modifying XP modifiers, the starting title, obstacle DTMs and a couple static MM points.

StickToTheScript
02-16-2018, 03:30 PM
Awesome release! Looking forward to giving this a shot!

icyxen
02-16-2018, 08:43 PM
Hell yea, time to get agility up.

underforu
02-22-2018, 03:48 AM
awesome release. on this script you gave the antiban a 3 out of 10 can show me script that you would give a 10 out of 10. i want to know what makes great anti ban.

Aspect
02-22-2018, 03:51 AM
Awesome release. I was looking to make a canifis rooftop bot. I may just change yours up a bit :garfield:

Flight
02-23-2018, 12:49 AM
Awesome release. I was looking to make a canifis rooftop bot. I may just change yours up a bit :garfield:

I'd surely recommend it. The basics of the script are solid and fluid as far as modifications go. I've changed a few things in that template since this script was released. When the Seers Village version show consistent stability then I'll release it along with the slightly updated base.

justforfun
03-12-2018, 08:50 AM
Would anyone know how to modify this for falador version? It has alot of same type of obstracles like 'Ledge' consecutively. How should it be modified?

wit1
03-17-2018, 07:16 PM
If only other scripts were up to date so I can be 70 and use this one :q

Nixes
04-10-2018, 05:24 PM
I tried this script out for 20 minutes and it worked perfectly for me. Thanks a lot for sharing this great script Flight. :)
Edit: I tried it out once more for an hour and it worked flawlessly.

ghost619
04-19-2018, 09:09 PM
I'd surely recommend it. The basics of the script are solid and fluid as far as modifications go. I've changed a few things in that template since this script was released. When the Seers Village version show consistent stability then I'll release it along with the slightly updated base.

any update on camelot?

JSmooth
05-05-2018, 08:59 AM
Looks like there's a memory problem. Anyone else getting this?


Error: Exception ('TRSPosFinder.UpdateAddr: Unable to locate bitmap') at line 240
Execution failed.
The following DTMs were not freed: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
The following bitmaps were not freed: [0, 1, 2, 3]

randy marsh
05-08-2018, 02:42 PM
if anyone one could add in more locations would be sweeet!

Mew
06-12-2018, 11:58 PM
I'd surely recommend it. The basics of the script are solid and fluid as far as modifications go. I've changed a few things in that template since this script was released. When the Seers Village version show consistent stability then I'll release it along with the slightly updated base.

How did you get the coords of NextPnt


with obstacles[OBMARKETSTALL] do //gap1
begin
XP := 45;
NextPnt := [653,73];
MaxTime := 7000;

Talis
09-29-2018, 12:22 AM
Does this script auto bank for more food if necessary?

EZ41
01-15-2019, 03:46 AM
another awesome script flight! only issue i saw was that it attempts to hop worlds using the world switcher, and some of those aerolib functions seem to be broken, such as:

WS_switchRandomWorld
WS_toggle
even gametab(TAB_LOGOUT) seems broken. i had to disable the 'tabExists' check in GameTab.gameTab()

IMO these are quite significant because if a script has those world hopper functions, they were causing my bot to do the mouse actions of scrolling thru the world hopper etc. even though it is still on the inv tab.

In the meantime, users can set DOPLAYERCHECKS = false; and I replaced the code where it attempts to hop if it fails an obstacle X times with setAngle(), if you'd like that, replace your scriptLoop() function with the following:



procedure scriptLoop();
var
i,h,j,
index : Integer;
Res : ResultEx;
begin
if not isLoggedIn() then Exit;

if getHealthPercent() < CRITICALHEALTH then
begin
Shutdown := True;
SDReason := 'Critical health reached';
Exit;
end;

if (Fail_Count > 3) then
begin
takeScreen(obs_Names[index]+' NOT FOUND');
Shutdown := True;
SDReason := 'Obstacle '+obs_Names[index]+' never found';
Exit;
end;

if percentBlackMM() < 15 then
if not pointsInDist(Walker.getMyPos(), tile_Start, 7) then
begin
Walker.blindWalk(tile_Start);
if waitFunc(@isPlayerWalking, 70, 2200) then
while isPlayerWalking() do wait(120);
end;

for index:=0 to high(obstacles) do
begin
for i:=0 to 3 do
begin
if not isLoggedIn() then Exit;
h := max(index-1, 0);
Res := handleObstacle(obstacles[index]);
if Res = COMPLETE then
begin
Fail_Count := 0;
break;
end;

warn(obs_Names[index]+' '+toStr(Res)+' ['+toStr(Fail_Count)+']');
if Res = FAILED then
begin
checkHealth();
wait(randomRange(800,1400));
Walker.blindWalk(tile_Start);
FFlag(3);
exit;
end;
if Res = NOTFOUND then
begin
inc(Fail_Count);
case Fail_Count of
1: setCompass(0);
2: setAngle(0);
3: index := min(index+1, high(obstacles));
else
begin
takeScreen(obs_Names[index]+' NOT FOUND');
Shutdown := True;
SDReason := 'Obstacle '+obs_Names[index]+' never found';
Exit;
end;
end;
if (index=OBBASKET) then
if percentBlackMM() < 15 then
begin
if not pointsInDist(Walker.GetMyPos(), tile_Start, 10) then
Walker.WalkPath(path_ToStart);
end else
begin
handleObstacle(obstacles[OBDRYINGLINE]);
if not pointsInDist(Walker.GetMyPos(), tile_Start, 10) then
begin
Walker.WalkPath(path_ToStart);
Exit;
end;
end;
if (obstacles[h].NextPnt.X > 1) then
begin
for j:=0 to 2 do
if walkToPointMS(obstacles[h].NextPnt) then break;
end else
begin
clickNorth(False);
setAngle(ANGLE_HIGH);
end;
end;
end;
end;
end;

tristen8878
04-09-2020, 10:45 AM
This got me 99 agility btw I know its a old script but totally worked fine for me in 2020

Gruntzer
12-17-2021, 05:23 PM
would love to see an update on this amazing script flight <3

Flight
12-20-2021, 12:00 PM
would love to see an update on this amazing script flight <3

Certainly in the pipeline. Although my current account's Agility level is in the 50's so it'll be a minute before I'm able to rework this script. I was actually in the middle of creating a Falador roof-hopping script when the OSRS Christmas update happened. Since the textures of the Falador area temporarily changed I'm unable to move forward with development until that's back to normal. :thumbsdown: