SRL Archive - RS3 Script Requests

Abyss Runecrafting - An ultimate joy to have


darklordnd

2012-01-02 05:43:08

Runecrafting using the Abyss and the Amulet of Glory teleport method is HEAPS of money. It's just something that can't be skipped, even when playing manually. If there's a bot to it, it would be just mind-blasting.
And why do I suggest this script? There are some reasons. First, it's beautiful money making method. Second, many people want to do it. Third, it's too difficult to make for beginners. As I read through the Script Request subforum I see too many scripts that are quite simple to make, may only take 10 - 15 mins if editing some existing scripts. So why waste time on those? People should take care of themselves when dealing with minor issues (I myself give much efforts to make scripts that I need). Our pro scripters should work on something appropriate for their level. That's my thought, I hope many people agree with me.
Anyway, If this script is to be made, no one can refuse the cheese it brings.

Grihmm

2012-01-02 05:46:07

Highly profitable/difficult/good scripts are Members+. I wouldn't be surprised if their already is one of these, just not in the public. This won't be released, I guarantee you.

HT BaaFly

2012-01-02 06:22:38

all this seems possible apart from getting past the obstacles in the abyss. don't see how that's going to work.
i'll give it a go when i'm free just for fun

Flight

2012-01-02 08:13:19

Icefire (wanted) built one in color back in the past. I'm sure it's very out-dated now, but regardless it's definitely possible. I made one, only in reflection, a while back to start out making death and blood runes. It never really took off.

But yeah, the hardest part of the script is getting from the outer ring to the inner ring.

Grihmm

2012-01-02 08:15:21

Couldn't you just make it run around with the cursor on the wall until the uptext said "chop" or "mine" or whatever?

Flight

2012-01-02 08:31:20

From: Grihmm
Couldn't you just make it run around with the cursor on the wall until the uptext said "chop" or "mine" or whatever?


How would the script know which wall is the inner wall?

DemiseScythe

2012-01-02 14:26:32

Could make this but not priority at this time, got few things to take care of in advance, but I do guarantee a script like that would not be release to public, I'd probably be member+

Brandon

2012-01-02 14:36:18

From: Flight
Icefire (wanted) built one in color back in the past. I'm sure it's very out-dated now, but regardless it's definitely possible. I made one, only in reflection, a while back to start out making death and blood runes. It never really took off.

But yeah, the hardest part of the script is getting from the outer ring to the inner ring.


A user had pm'd me asking me to work on this with them.. I was shown a video.. They've gotten it working.. it actually runs and goes to the center of the abyss and crafts deaths.. He's realllllyyy new and asked that I worked on it with him but keep it secret so I will honor that..

But he has done it. His character weilds a hatchet and the rest of shit in toolbelt.. it then just finds whatever obstacle and clicks it.. walks in the center.. find the portal and there u go.

I also completed that part.. hardest part tbh.. is figuring out when u need a new forinthry bracelet AND glory AND dueling ring (as failsafe).. that's about it.. The new toolbelt makes all the rest soooo easy.

darklordnd

2012-01-02 15:07:36

can't our walking functions serve well to analyze the map? I'm quite noob and haven't learnt about those advanced walking yet, so I don't know. If the script can analyze the map roughly then it would be fine. When entering Abyss we ALWAYS appear near the agility or mining obstacle (between the two, I think). Therefore just find the corridor is enough, either way will lead to an obstacle. And (to my experience, unconfirmed) better pickaxe doesn't work faster than toolbelt pickaxe.
But why do you need a forinthry brace? Noone is trying to kill a character wearing nothing valuable. Glory is the only valuable thing on me, except for the essences. I never use forinthry when abyssing.

HT BaaFly

2012-01-02 17:58:20

the location of the obstacles changes automatically each time you enter the abyss making it impossible to use methods such as the SPS system.

Idk if this is possible but it simba able to take in 3d images and search for them? we could have an editor outside of simba create this 3d image and have simba scan for the object in screen

DemiseScythe

2012-01-02 18:00:56

3D DTMs and you can see stuff from most angles

[Nathan]

2012-01-02 18:08:19

From: ggzz
A user had pm'd me asking me to work on this with them.. I was shown a video.. They've gotten it working.. it actually runs and goes to the center of the abyss and crafts deaths.. He's realllllyyy new and asked that I worked on it with him but keep it secret so I will honor that..

But he has done it. His character weilds a hatchet and the rest of shit in toolbelt.. it then just finds whatever obstacle and clicks it.. walks in the center.. find the portal and there u go.

I also completed that part.. hardest part tbh.. is figuring out when u need a new forinthry bracelet AND glory AND dueling ring (as failsafe).. that's about it.. The new toolbelt makes all the rest soooo easy.

Thats what I was thinking, with the new toolbelt, you have so many options for getting to the center that it shouldnt be too terribly difficult to do

belbn

2012-01-02 18:16:46

Indeed!

DemiseScythe

2012-01-02 18:24:02

http://puu.sh/cfeZ

It is fine to keep your script for yourself but using these lines:

"My script is perfect, and my script is private. Rather than share, I'm profiting in the thousands of dollars."

Makes you seem despicable in my opinion. This is a nice community and you should be nicer/supportive to others instead of discouraging them and rubbing stuff on their face. Probably make Public Abyss Runecrafter and crash prices so you cant profit in the thousands of dollars.

Hundred of hours? lol thats adorable.

Scripting doesn't take hundreds of hours, and dont bad mouth Flight, he is a nice guy and deserves everyone's respect for supporting the public community at SRL.

This is not a business, this is a scripting and learning community, as far as I know SRL doesn't support goldfarming, keep this kind of information to yourself.

MJF94

2012-01-02 18:33:31

I love this place, and demise has a zmi script that's pretty damn sexy!!

Brandon

2012-01-02 18:38:29

@Demise I think he just doesn't want anyone (Including flight) to release one.. I wouldn't blame him as all rune prices WOULD definitely crash.. if this was to be done it should indeed be members or higher even though I'm not a member..

Think about it.. the amount of views this thread already has.. if indeed one is made.. would you keep it to yourself? Or would you release it?

DemiseScythe

2012-01-02 18:41:25

I would release it because when I script, I script for SRL and the community, I don't script to get rich or for profits. I believe the common good is more important than his personal greed.

Don't take me wrong, I am being understanding, just the way he said it changed my mind on this post.

Besides, if I make one, it is my script, my work, my time, my dedication, and my willpower. I can release anything I make if that is my decision. It is not like Abyss Runecrafting is a "secret" method that I am leaking. Everyone knows that Blood and Death runecrafting makes money.

One last note, I despise goldfarming because it is my personal opinion that it ruins the game. Botting should be used to advance our accounts and to gain experience, profiting should not be a goal, not even in real life.

I make this, profits drop to 200k/hr. Everyone does this for experience instead of money. Runecrafting gains more fans, RS accounts have better RC stats, RC doesn't get goldfarmed, I win, the game wins.

Brandon

2012-01-02 18:51:38

ZMI is the fastest XP in the game.. Well besides a tiara maker <– costs money to do. if deaths and bloods were 200k an hr, no one would do them lol farmers would buy them all out on ge and hoard them till it goes up. That's right you can do what you want with your script.. IMO your both right.. he's right to hold onto a script HE made.. whereas your right in that you can release a script YOU made.

One problem though.. when you release a script, you never know who's going to use it.. goldfarmers can also use the script and still profit despite your efforts to keep the prices safe.

As far as I know.. Gold farmers depend on us.. if they really made there own scripts, prices right now won't be what they are.

quazzymodem

2012-01-02 19:14:52

From: Flight
How would the script know which wall is the inner wall?


If you had the script set a compass direction correctly, the inner wall would always be on one side of the middle of main play window. That part would be fairly simple as long as the script could detect where in the outer circle it is.

DemiseScythe

2012-01-02 19:33:17

Well, I am a consumer, not a producer, so I would prefer Cheaper Ice Barrages.

belbn

2012-01-02 19:39:32

Deleted.

Kyle Undefined

2012-01-02 19:43:19

From: belbn
Your comments make zero sense. You also haven't answered my question: Why?

As far as you've indicated, you are doing this strictly for karma. You want to be "cool" in the "community". You think botting ruins the game? The existence of this website ruins the game. I don't even play. Runescape is for 13 year olds.



Really? Let me cut you a check for $2000 monthly, then we'll talk about greed. You're on the wrong side of the fence my friend.


Lol, they make perfect sense. Also, Demise is doing it because that's what this community is all about. It's NOT about making profit off of a game, but learning something much greater. Botting doesn't ruin the game, you gold farmers ruin the game.

$2K monthly check? That's it? Ha! Wow, you actually think that's a good profit? You're the one who's on the wrong side of the fence buddy.

GTFO gold farmer.

Mat

2012-01-02 19:46:57

^^^^:thumbsup:^^^^
Edit:At Kyles Post Btw :)

[Nathan]

2012-01-02 19:49:43

From: Kyle Undefined
Lol, they make perfect sense. Also, Demise is doing it because that's what this community is all about. It's NOT about making profit off of a game, but learning something much greater. Botting doesn't ruin the game, you gold farmers ruin the game.

$2K monthly check? That's it? Ha! Wow, you actually think that's a good profit? You're the one who's on the wrong side of the fence buddy.

GTFO gold farmer.


I argee with your intentions, but you don't think $2k a month is a lot??? What world are you living in????

belbn

2012-01-02 19:51:02

Deleted.

Kyle Undefined

2012-01-02 19:57:47

From: [Nathan]
I argee with your intentions, but you don't think $2k a month is a lot??? What world are you living in????


I make more than that in a month at my job ;)


From: belbn
You've stated what it isn't. But what is it?

$2k is a taste. Enough to change a child's mind about doing hard work for FREE. But of course, you make $0, so you wouldn't have any idea. I won't get into specifics, and I don't wish to insult anyone!

I still don't understand. What is the overall goal? Let's say you've honed your programming skills to the max, where do you go from there? You can only "learn" for so long. You have to put those skills to good use. I decided to profit. Should I just not profit, because it's "wrong"?


Ha! You have no clue. I make over $2k a month at my job, that I love doing. This is a hobby for me. Want to try to and down talk me again?

There is far more programming knowledge than any one person can learn, you constantly learn, every day. I do put the skills to good use, by doing something that I think is fun and letting other admire my work.

SRL is only the tip of the iceberg when it comes to programming, there are so many languages out there to learn.

If you want to profit off of your programming, why not put it to good use and get a job?

Narcle

2012-01-02 20:00:16

Move discussion guys… plz

belbn

2012-01-02 20:03:03

Deleted.

kanah

2012-01-02 20:03:12

I'd be willing to help develope an abyss rcing script; it shouldn't be too hard.

Kyle Undefined

2012-01-02 20:10:28

From: belbn
Agreed. I also have a programming job, and this started out as fun. I just see an opportunity here, and I feel you are passing it by.

As I meant in my last comment, red pill or blue pill. I can hand you $5k right now. Would you throw it into the wind or stick it in your pocket? Call it greed, call it wrong, look at it however you want. I look at it like that.

You are flushing money down the toilet, while I'm placing it deep into my pocket. Excuse my analogy! I hope that makes sense…


This community has been, and will always be about free and public scripts. I'm not passing up anything, just abiding by the terms setup here.

If you gave me $5k right now, I'd give it to the people who need it. I make all the money that I need.

If you want to make money off of this game, then that's fine, but don't come here and troll a thread for your own profits. Go to Sythe for that.

PatDuffy

2012-01-02 20:22:12

I now want someone to develop a script just to spite that guy…

Not often is it that I get angry, but everything stated by him goes against every reason why I think someone would be at SRL.

I suggest you leave, good sir, your kind are not welcome here.

If you wish to profit, do so quietly and privately, and with dignity.

belbn

2012-01-02 20:25:31

From: Kyle Undefined
This community has been, and will always be about free and public scripts. I'm not passing up anything, just abiding by the terms setup here.

If you gave me $5k right now, I'd give it to the people who need it. I make all the money that I need.


I can't argue with that. Let's empty our bank accounts and donate it all to the Red Cross!

Good day folks. I enjoyed talking with all of you, and I don't think I'll be back. Just to clarify, I'm not "trolling". I came here to disagree, that is all.

Don't be one of those hive-minds like Reddit that instantly kills any ideas that don't "fit in" with what you all believe in. Agree to disagree, part as friends.

@PatDuffy: Don't be angry, buddy!

butterlyr

2012-01-02 22:11:38

belbn, bullshit. if you 'honed' your programming skills, go get a proper job where 2k a month is pennys, become an engineer or some shit, what you talk is complete bullshit, i call your bluff and say you make pennys from runescape if anything at all.

edit: yes i am abit jealous people have this script and i dont :P would be excellent, and push my runecrafting career forward!!

Flight

2012-01-02 22:29:06

Alrighty guys let's tone this down a bit. We have a complete section here on the forums dedicated to bashing other people. It's best if you move the discussion there. This thread, however, is related to an Abyssal Runecrafter idea, so let's keep it on that subject, shall we?

Wanted

2012-01-03 03:56:17

http://www.youtube.com/watch?v=WJD92RxWkxI

Basic principles still work, I'm actually revisiting this.

Kyle Undefined

2012-01-03 05:23:31

Oh man, I remember that script. Those were the good 'ol days.

darklordnd

2012-01-03 07:53:54

belbn, people have different preferences. you want to keep your script, fine. But you have no right to prevent others from making their scripts and release them. Don't you see that it's childish to do so? you're just one person. You can't change the view of a society only for the reason that if they earn more, you earn less. In addition, many people out there want cheaper runes, and so do I, that's one of the reason I want this script.
I made this topic to arouse interest in people who want such a script and people who can make it. Therefore you don't belong here, because you're just trying to quarrel about other things. I think this irrelevant discussion should end here.
People, let's talk back to making this script. I'm a noob so I hope to learn from all you guys. Even walking functions are a huge mystery to me :) but I'm always full of ideas and creativity; I mean, inexperienced in coding, resourceful in solution-finding. so I do hope I could be a most humble helper to anyone who make this script.

quazzymodem

2012-01-03 12:00:16

EVERYONE BACK ON TOPIC…

So for detecting the inner circle I propose that we first find out where we are in the outer circle, then move the angle of play to the correct angle to make the inner circle wall appear on one half of the visible play field.

Wanted

2012-01-03 15:54:51

From: quazzymodem
EVERYONE BACK ON TOPIC…

So for detecting the inner circle I propose that we first find out where we are in the outer circle, then move the angle of play to the correct angle to make the inner circle wall appear on one half of the visible play field.


You make me lol seriously

All you have to do is run detection for a yellow point who's nearest neighbor is further away then X number of pixels.

This isn't a script for some chum to make, it almost takes a certain level of obsession from someone with tons of experience, good luck trying to persuade someone qualified to do this with a thread like this. :rolleyes:

gaetano

2012-01-03 16:15:20

I found this on Pastebin o.O

belbn

2012-01-03 17:50:11

Is it possible to release to SRL members only? How many of them are there? Realistically, how many of them would use the script?

I respect those of you here for reasons other than leeching. The kids with absolutely no programming skills coming here begging for scripts is tiring. If staff could instruct me how, and ensure privacy, I'm open to a very small release candidate.

Something I must point out: Please learn correct grammar. If you cannot spell, cannot press the shift key, and constantly use the world "lol", I'm not even going to read it. The insults are also uncalled for. I don't appreciate it, and it simply makes you look foolish. Not to mention, you give me the overwhelming sensation the maximum age is around 14.

PatDuffy

2012-01-03 18:01:46

From: belbn
Is it possible to release to SRL members only? How many of them are there? Realistically, how many of them would use the script?

I respect those of you here for reasons other than leeching. The kids with absolutely no programming skills coming here begging for scripts is tiring. If staff could instruct me how, and ensure privacy, I'm open to a very small release candidate.

Something I must point out: Please learn correct grammar. If you cannot spell, cannot press the shift key, and constantly use the world "lol", I'm not even going to read it. The insults are also uncalled for. I don't appreciate it, and it simply makes you look foolish. Not to mention, you give me the overwhelming sensation the maximum age is around 14.


Yes, many people only release scripts to Members+, it's where we keep the scripts that would be overly-leeched and the high gp/hour scripts. Realistically, I would say the max amount of people that would use any given script is ~2-12 in the Members section, depending on the script. To release there, however, you would need to become a Member (unless someone releases it for you with your permission).

Itankbots

2012-01-03 19:51:46

Yeah i like the idea, but members+ please. Hate to see gold farmers kill the market =/
(look at sorccers garden, green dragons etc)

darklordnd

2012-01-03 21:11:01

as I observed, the obstacles are randomized every time (for example where there was an agility obstacle may later become a woodcutting obstacle), but the map remains the same. Can we crop a piece of the minimap to search a map file for it? We can know our position that way, I think.
I have yet another simple solution: upon entering the abyss, search around for an obstacle. If none exists on screen, try clicking a far part on a minimap (for example, furthest to the west). Within 0.5 second if a red flag appears near where we clicked (which means we can actually walk there), let it walk and search for obstacles there. If red flag is not there or appears elsewhere, that means we can't walk that way, so try another direction (if west is not possible then try north or south). The point of my idea is: obstacle will always be in reach after walking 1 minimap reach, so try to walk that distance by trying the red flag.

PatDuffy

2012-01-03 21:18:27

From: darklordnd
as I observed, the obstacles are randomized every time (for example where there was an agility obstacle may later become a woodcutting obstacle), but the map remains the same. Can we crop a piece of the minimap to search a map file for it? We can know our position that way, I think.
I have yet another simple solution: upon entering the abyss, search around for an obstacle. If none exists on screen, try clicking a far part on a minimap (for example, furthest to the west). Within 0.5 second if a red flag appears near where we clicked (which means we can actually walk there), let it walk and search for obstacles there. If red flag is not there or appears elsewhere, that means we can't walk that way, so try another direction (if west is not possible then try north or south). The point of my idea is: obstacle will always be in reach after walking 1 minimap reach, so try to walk that distance by trying the red flag.


What was done in the previous abyss crafter, I believe, was checking the distances from the player to the outer ring on the MM, then to the center, and it involved calculation of Black Pixels I think. I never actually saw the script, it was before my time, but I have heard that was how it was done.

belbn

2012-01-03 22:31:07

From: darklordnd
as I observed, the obstacles are randomized every time (for example where there was an agility obstacle may later become a woodcutting obstacle), but the map remains the same. Can we crop a piece of the minimap to search a map file for it? We can know our position that way, I think.
I have yet another simple solution: upon entering the abyss, search around for an obstacle. If none exists on screen, try clicking a far part on a minimap (for example, furthest to the west). Within 0.5 second if a red flag appears near where we clicked (which means we can actually walk there), let it walk and search for obstacles there. If red flag is not there or appears elsewhere, that means we can't walk that way, so try another direction (if west is not possible then try north or south). The point of my idea is: obstacle will always be in reach after walking 1 minimap reach, so try to walk that distance by trying the red flag.


I use SPS with a custom image.

You have the right idea, walk an SPS path around the outer ring, but I don't see where you're going with this. Are you a scripter?

darklordnd

2012-01-04 20:30:44

i'm a super super noob scripter, only learnt pascal in secondary school, and that's it. but I really want to contribute something, at least with my ideas if not with coding. Of course helping with coding is still better :D so i'm learning.

darklordnd

2012-01-07 01:29:55

anyone started on this yet?

belbn

2012-01-07 16:13:12

From: darklordnd
anyone started on this yet?


No, and I don't imagine they will.

Please stop leeching and begging. If you have something to contribute, please do. I'll even answer any questions you have.

Why not try your hand at programming it yourself? There are ton of resources here and at scar-divi.com. I picked up Pascal in a very short time.

davx

2012-01-07 16:48:34

From: Wanted
http://www.youtube.com/watch?v=WJD92RxWkxI

Basic principles still work, I'm actually revisiting this.


Nom from that video you wouldnt think it was a colour based bot :p

momotron

2012-01-09 19:33:50

Anyone know when the new SPS is out? was just wondering cause maybe it'd work better there

viorath

2012-01-09 21:38:33

Id pay for an abyss runecrafting bot. This would be an amazing script.

illuminatiswag

2012-01-09 21:49:14

So would i to bad no selling or buying scripts :( i wish you could buy SRL for like $50 USD lol

darklordnd

2012-01-10 01:03:40

From: belbn
No, and I don't imagine they will.

Please stop leeching and begging. If you have something to contribute, please do. I'll even answer any questions you have.

Why not try your hand at programming it yourself? There are ton of resources here and at scar-divi.com. I picked up Pascal in a very short time.


I'm neither leeching nor begging. I'm asking for a hand. This is a community, so one doesn't have to make the whole script, many can work together. I'm looking for someone to work with and help them with this script.

HT BaaFly

2012-06-22 11:13:17

Attempting this over the summer holidays. Wish me luck! (Sorry for the grave dig)

Andres

2012-06-22 12:44:06

From: HT BaaFly
Attempting this over the summer holidays. Wish me luck! (Sorry for the grave dig)


I totally came here to call you on the gravedig (expecting it to be some new user).

I'm pleasantly surprised to see it's someone actually attempting the script! Best of luck!

Mat

2012-06-23 08:52:20

I have a working one, on my desktop, just need to add a death walk, then debating to sell for members it.

King

2012-06-23 12:32:45

Im working on one right now, not as hard as I thought :P

Flight

2012-06-23 13:01:22

Now that I have the OGLInterception successfully running, something like this will be quite possible. The hardest part of this script would be getting from the outer ring to the inner ring, yes? The problem lies with the obstacles always being at random locations, along with our player's own random teleported location.

Luckily with OGL or DirectX we can find these obstacles on-screen by a certain ID, like previous reflection & injection techniques.


There's an example of different model IDs between common trees in RS.

Mat

2012-06-23 13:07:03

With OpenGL, if it could be made to work on simba, with a good API behind it'll be good, Tribot is OpenGL but no API and its near impossible to do anything.

Flight

2012-06-23 13:14:57

From: Mat
With OpenGL, if it could be made to work on simba, with a good API behind it'll be good, Tribot is OpenGL but no API and its near impossible to do anything.


That image is Simba & the RS loader, not Tribot. Apologies for the off-topic posts.

Mat

2012-06-23 13:20:50

What I meant by that was how simba has many useful functions, and it extremely good.
But if we had OGL and DirectX it'll make it a lot better for things like abyss :).

Olly

2012-06-23 13:43:57

You plan on making a Simba plugin Flight? :P

HT BaaFly

2012-06-23 14:26:03

Determining the layer the player is in is not that hard, to be honest. I used SPS along with Mat's image of the abyss to calculate the magic coords, as I like to call them. They are basically the coords of the area around the center. From the the outer layer, a certain part of the abyss center (with the mage of zamorak) is always invisible, meaning no matter where you are in the outer layer, it is impossible to see it. However, in the inner layer, this portion of the minimap is always visible in every corner (tested and confirmed).

As for obstacles, I'm only using the mine and theiving blockades as they have distinct colours that can be easily be recognised by pure colour methods. My player just runs around the abyss until he detects those colours

Code so far if anyone is interested:

program RCAbyss;
//{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}

var
Wall, FailAtMage: integer;
aFound: Extended;

procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Active := True;
end;

procedure StartUp;
begin
ClearDebug;
SetupSRL;
DeclarePlayers;
If not Loggedin then
begin
LoginPlayer;
Wait(4000 + Random(1000));
end;
SetAngle(0);
MakeCompass(0);
end;

procedure SetDTMs;
begin
Wall := DTMFromString('mlwAAAHicY2eAgFVArAzEmWiYF4i1gFgYiLmgalmBmA+IVZVkGISEhBjkpMXBGMSHsSWB8rgwIx4MBQBIogXS');
end;

procedure FreeLoadedDTMs;
begin
FreeDTM(Wall);
end;

function InInnerRing: boolean;
begin
SPS_Debug := true;
SPS_Setup(runescape_other, ['0_2']);
result := (SPS_PosOnMM(Point(235, 1051))) or (SPS_PosOnMM(Point(251, 1051)))
end;

procedure WalkToDitch;
begin
SPS_Setup(runescape_surface, ['10_6']);
If SPS_PosOnMM(point(4243, 2563)) then SPS_WalkToPos(point(4243, 2563)) else SPS_BlindWalk(point(4243, 2563));
while ismoving do wait(100);
end;

procedure CrossDitch;
var
x, y: integer;
begin
SetDTMs;
SPS_Setup(runescape_surface, ['10_6']);
while SPS_PosOnMM(point(4243, 2623)) do
begin
if FindDTMRotated(Wall, x, y, MSX1, MSY1, MSX2, MSY2, -Pi/4, Pi/4, Pi/60, aFound) then
begin
writeln('Found the wall. Clicking on it.');
Mouse(x, y, 20, 5, true);
Wait(3250 + random(500));
Mouse(643, 26, 10, 5, true);
wait(randomrange(1000, 1300));
end;
end;
end;

procedure WalkToMage;
begin
SPS_Setup(runescape_surface, ['10_6']);
If SPS_PosOnMM(point(4258, 2418)) then SPS_WalkToPos(point(4258, 2418)) else SPS_BlindWalk(point(4258, 2418));
end;

procedure TeleportToAbyss; //2698882, 5042406 Talk-to Mage of Zamorak
label label1;
var
x, y, c: Integer;
begin
MarkTime(c);
repeat;
label1:
If (FindColorSpiralTolerance(x, y, 1318281, MSX1, MSY1, MSX2, MSY2, 10)) or (FindColorSpiralTolerance(x, y, 5042406, MSX1, MSY1, MSX2, MSY2, 10)) then
begin
SPS_Setup(runescape_other, ['0_2']);
If not (SPS_GetMyPos = point(-1, -1)) then exit;
MMouse(x, y, 5, 5);
Wait(100 + random(200));
if (IsUpTextMultiCustom(['Mage', 'Talk', '-to', 'Zamorak', 'of Zam', 'age of'])) then
begin
FailAtMage := 0
GetMousePos(x, y);
Mouse(x, y, 0, 0, false);
wait(400 + random(200));
Mouse(x, (y + 61), 20, 3, true);
Wait(4100+random(1000));
end;
end else
begin
MakeCompass(randomrange(0, 360));
FailAtMage := FailAtMage + 1
If FailAtMage >= 5 then
begin
writeln('Failed to find mage colour 5 times in a row');
Terminatescript;
end;
GoTo Label1;
end;
until((not (SPS_GetMyPos = point(-1, -1))) or (TimeFromMark(c) >= 30000))
end;

procedure FindBlockade; //1548449 for Distract Eyes 4414328 for Mine Rock
var
MyTPA: TPointArray;
MyPoint: TPoint;
x, y, i, c: Integer;
begin
x := MSCx;
y := MSCy;
FindColorsSpiralTolerance(x, y, MyTPA, 4414328, MSX1, MSY1, MSX2, MSY2, 3);
if Length(MyTPA) = 0 then FindColorsSpiralTolerance(x, y, MyTPA, 2389603, MSX1, MSY1, MSX2, MSY2, 3);
MarkTime(c);
for i := 0 to High(MyTPA) do
begin
If InInnerRing then exit;
MyPoint := MyTPA[i]
MMouse(MyPoint.x, MyPoint.y, 5, 5);
Wait(100 + random(200));
if (IsUpTextMultiCustom(['Mine', 'Rock', 'ine', 'ock', 'ine R', 'Distract', 'Eyes', 'istract', 'yes', 'tract Ey'])) then
begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, True);
Wait(500+random(250));
If InInnerRing then exit;
end;
end;
end;


procedure NavigateOutterRing;
var
T: integer;
begin
MarkTime(T);
SPS_Setup(runescape_other, ['0_2']);
If InInnerRing then
begin
writeln('In inner ring');
exit;
end;
repeat
If SPS_PosOnMM(Point(291, 1139)) then //01
begin
SPS_WalkToPos(point(291, 1139));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(327, 1095)) then //02
begin
SPS_WalkToPos(point(327, 1095));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(339, 1055)) then //03
begin
SPS_WalkToPos(point(339, 1055));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(331, 1019)) then //04
begin
SPS_WalkToPos(point(331, 1019));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(295, 975)) then //05
begin
SPS_WalkToPos(point(295, 975));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(243, 959)) then //06
begin
SPS_WalkToPos(point(243, 959));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(199, 975)) then //07
begin
SPS_WalkToPos(point(199, 975));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(163, 1007)) then //08
begin
SPS_WalkToPos(point(163, 1007));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(151, 1043)) then //09
begin
SPS_WalkToPos(point(151, 1043));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(151, 1095)) then //10
begin
SPS_WalkToPos(point(151, 1095));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(195, 1139)) then //11
begin
SPS_WalkToPos(point(195, 1139));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
If SPS_PosOnMM(Point(255, 1147)) then //12
begin
SPS_WalkToPos(point(255, 1147));
While isMoving do wait(100);
FindBlockade;
If InInnerRing then exit;
end;
until((InInnerRing) or (not LoggedIn) or (TimeFromMark(T) > 40000))
end;

procedure WalkToEntrance;
begin
SPS_Setup(runescape_other, ['0_2']);
If InInnerRing then
begin
If SPS_PosOnMM(point(195, 1047)) then SPS_WalkToPos(point(195, 1047)) else SPS_BlindWalk(point(195, 1047));
end;
end;

procedure EnterPortal;
var
MyTPA: TPointArray;
MyPoint: TPoint;
x, y, i, c: Integer;
begin
MakeCompass (90 + random(45));
x := MSCx;
y := MSCy;
repeat
FindColorsSpiralTolerance(x, y, MyTPA, 1774950, MSX1, MSY1, MSX2, MSY2, 3);
if Length(MyTPA) = 0 then FindColorsSpiralTolerance(x, y, MyTPA, 1578115, MSX1, MSY1, MSX2, MSY2, 3);
MarkTime(c);
for i := 0 to High(MyTPA) do
begin
MyPoint := MyTPA[i]
MMouse(MyPoint.x, MyPoint.y, 5, 5);
Wait(100 + random(200));
if (IsUpTextMultiCustom(['Blood', 'od ri', 'Blood rift', 'Exit-through Blood rift'])) then
begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, True);
Wait(500+random(250));
end;
end;
until(not ininnerring);
end;

begin
StartUp;
WalkToDitch;
CrossDitch;
WalkToMage;
TeleportToAbyss;
NavigateOutterRing;
WalkToEntrance;
{SPS_Debug := true;
SPS_Setup(runescape_surface, ['10_6']);
sps_getmypos; }
end.

This is nowhere near completion. This is a very basic outline of the script. Most likely everything will be rewritten to a higher standard along with a better failsafe system.

Just finished interacting with the mage but haven't tested it completely. Gonna take a break for a while