SRL Archive - Jr. Member OSR Outdated Scripts

Abyss Runecrafter [Reflection]


Wetish

2014-07-01 20:36:46

Abyss Runecrafter :p


Introduction
I made this script because there is a lack of runecrafting scripts. Runecrafting makes a lot of money and I like money. Almost as much as potatoes.

Features
  • Crafting natures
  • Pouch support
  • Pouch repairing
  • Restoring health
  • Navigates the abyss using rocks and eyes. (Mining and thieving)
[INDENT]And most importantly,[/INDENT]
From: Haxz
Fast detection of everything :garfield:


Requirements:
  • Large, medium, and small pouches
  • Lots of pure essence
  • Lots of amulet of glorys(4)
  • Cooked trout

Bank, Inventory, and Equipment Setup
For equipment I highly recommend dragonhide. You need high mage defence. Make sure you have a pickaxe equipped. A higher level pickaxe does not improve your chances of success.

Script Requirements:
  • Reflection
  • AL_Functions
  • OSR Include
  • SMART

Video of script
[video=youtube;cKpKb6QrU-4]https://www.youtube.com/watch?v=cKpKb6QrU-4[/video]

Problems
This script is fairly stable by itself. It has only failed to randoms and pkers. Detection of rocks and eyes in the abyss is alright. I could have done it better.
A couple of functions could be rewritten to be much more efficient.

Updates
7/1/14 - 1.0 - Initial release
7/2/14 - 1.01 - Reverted a small change to teleporting
7/8/14 - 1.02 - Implemented right click repair for repairing pouches. Now enters the nature rift at any camera angle. Varied pouch amount and support for 4 pouches.
7/22/14 - 1.03 - No more spam clicking to traverse obstacles. Multiple types of food supported. Varying bank slots. Improved functions to looking for items in the player's inventory.
8/18/14 - 1.04 - Fixed broken pouch repair for the medium pouch. Changed mage colors to prevent accidental detection of red dhide. Option to lower camera using the middle mouse button. Improved antiban while walking. Teleports while in the wild if lower than 80% hp. Hovering over the next pouch to empty while crafting runes. Hoving over the glory in equipment tab after crafting.

Future Updates:
  • Different food types
  • Energy potions
  • Cosmic and law support
  • Recharging glories via the hero's guild


Progress Reports
Time running: 06:00:36
current lvl: 72
xp: 72099
xp/hour: 11996
crafted: 8011
crafted/hour: 1333
glorys used: 46
glorys used/hour: 8
Time running: 05:07:40
current lvl: 73
xp: 64134
xp/hour: 12507
crafted: 7126
crafted/hour: 1390
glorys used: 41
glorys used/hour: 8

Time running: 02:15:08
current lvl: 63
xp: 27423
xp/hour: 12176
crafted: 3047
crafted/hour: 1353
glorys used: 18
glorys used/hour: 8
Time running: 01:27:52
current lvl: 70
xp: 16938
xp/hour: 11566
crafted: 1882
crafted/hour: 1285
glorys used: 11
glorys used/hour: 8

Credits
  • @Flight; for his amazing mouse movement procedures.
  • @Turpinator; and @Frement; for helping me over irc.
  • @Krazy_Meerkat; for his walking and banking procedures.
  • @Mat; for his abyss crafting script that got me started.

Ethics
If you download this script, post here and give me some feedback

Also available on my github. https://github.com/Wetish/AbyssRunecrafter

rj

2014-07-01 20:40:03

Gratz on release!

Flight

2014-07-01 20:53:08

Very nice release buddy. Do you have plans to make this an AIO Abyssal runecrafter?

Wetish

2014-07-01 21:12:28

From: Robert
Gratz on release!

Thanks ;)

From: Flight
Very nice release buddy. Do you have plans to make this an AIO Abyssal runecrafter?


I plan on adding some more features, but I doubt it will get to the point where I could call it aio.

Haxz

2014-07-01 22:47:05

How on earth am I quoted there? LOL :f:

Wetish

2014-07-01 22:53:08

From: Haxz
How on earth am I quoted there? LOL :f:


What you said was funny so I added it to my post.

Haxz

2014-07-01 23:02:35

I actually planned on making an Abyss runecrafter since there's reflection now and I had an astral crafter that I could copy and paste some functions, but for a long run in abyss you need a start up cash to buy lots of pure essence and glories. So I'm actually trying out a method which gives me about 140k-200k an hour. You just saved me my time to make a new script!

Based on the video, this script in fact is fast lol. Might as well use it in the future, nice script!

Harrier

2014-07-02 04:06:54

Just wondering if you'll add the agility shortcut in a future update? That would be epic :D Other than that epic script!

Hoodz

2014-07-02 05:02:29

Nice work wetish!

wetish4presidentpotatoes

EvilCabbage

2014-07-02 06:31:01

Amazing. I'm going to enjoy testing this out :) Thank you, Wetish!

Wetish

2014-07-02 16:01:51

From: arm2
Just wondering if you'll add the agility shortcut in a future update? That would be epic :D Other than that epic script!


It would be hard to detect the agility obstacles with color. If I can get reflection models working I would be able to easily.

Sin

2014-07-02 16:06:13

Everyone use Mithril Pickaxes!!! Mith picks are the lightest of all them and saves you run energy!

Harrier

2014-07-02 16:37:46

From: Sin
Everyone use Mithril Pickaxes!!! Mith picks are the lightest of all them and saves you run energy!


Best setup
D'hide, Coif, Boots of lightness, Holy book and RoL

If you're high def use Graahk or Larupia to keep your weight as 0kg

From: Wetish
It would be hard to detect the agility obstacles with color. If I can get reflection models working I would be able to easily.


Dam, I really dislike thieving. It's the only skill I seem to get banned at :(

Wetish

2014-07-02 16:51:06

From: arm2
Dam, I really dislike thieving. It's the only skill I seem to get banned at :(


The time it takes to attempt the thieving obstacle is really short. You could get away with 35 thieving.

And for as light armor goes, its not really needed. I wrote the script to not run in all areas. It only runs in the abyss and sometimes in the wilderness. You could change this if you have a decent setup to preserve run energy.

Haxz

2014-07-02 18:07:35

How did you get your pouches? I've been killing the monsters inside abyss for half an hour now, none of them is dropping :(

EDIT: Nvm, I got all the pouches suddenly lol. Gotta test the script soon.

EDIT2: Just finished reading the script. Very well written! Didn't know there's so many other reflection functions.

Harrier

2014-07-02 18:16:16

From: Wetish
The time it takes to attempt the thieving obstacle is really short. You could get away with 35 thieving.

And for as light armor goes, its not really needed. I wrote the script to not run in all areas. It only runs in the abyss and sometimes in the wilderness. You could change this if you have a decent setup to preserve run energy.

It's odd when you get my thieving level correct in that O_o

From: Haxz
How did you get your pouches? I've been killing the monsters inside abyss for half an hour now, none of them is dropping :(

Did you get your small pouch from the dark mage? and do you have it on you when you're killing them?
Edit: Do you have a high enough RC level for them?

Harrier

2014-07-08 08:06:34

One problem so far it thinks the white of my glory is an obstacle and spam clicks on where my player is :/

Wetish

2014-07-08 08:52:00

From: arm2
One problem so far it thinks the white of my glory is an obstacle and spam clicks on where my player is :/

Wear less eye colored clothing.

Harrier

2014-07-08 09:58:48

From: Wetish
Wear less eye colored clothing.

I don't think anything there other than the glory would mess it up :/

Wetish

2014-07-08 11:17:01

From: arm2
I don't think anything there other than the glory would mess it up :/


Try without the book or edit the eye colors.

Harrier

2014-07-08 14:50:51

From: Wetish
Try without the book or edit the eye colors.

Edited the eye colours thanks :) also you can right click repair the pouches which would speed it up (I'm getting 50 nats p/h more when I changed it :p)

Al_FastClick(mouse_right);
sleep(randomrange(200,400));
MarkTime(t);
Al_ChooseOption('Repairs');

Wetish

2014-07-08 18:21:30

Version 1.02
  • Implemented right click repair for repairing pouches.
  • Now enters the nature rift at any camera angle.
  • Varied pouch amount and support for 4 pouches.

Hoodz

2014-07-08 18:53:10

From: Wetish
Version 1.02
  • Implemented right click repair for repairing pouches.
  • Now enters the nature rift at any camera angle.
  • Varied pouch amount and support for 4 pouches.


Nice work wetish!
Any support for potatoes soon?

Wetish

2014-07-08 19:11:47

From: hoodz
Nice work wetish!
Any support for potatoes soon?


I'll have to add them as a food type.

Wetish

2014-07-22 14:54:09

Version 1.03
  • No more spam clicking to traverse obstacles
  • Multiple types of food supported.
  • Varying bank slots.
  • Improved functions to looking for items in the player's inventory.

Not everything has been tested, but it should work.

Flight

2014-07-22 21:16:38

Nice updates Wetish. This script inspired me to make my own for AL and I used a couple things from your script, such as the colors for the rocks & eyes in the Abyss, as well as your offsettile function for entering the Nature rift. Should I ever release it I will of course give you credit for that. :smile:

toxjq

2014-08-01 20:41:03

nice script

leeds4eva

2014-08-03 09:41:30

hi can anyone help me with this error: [Error] C:\Users\Michael\Downloads\Abyss Runecrafter V1.03.simba(1613:7): Unknown identifier 'GetHealthPercent' at line 1613 Compiling failed.

leeds4eva

2014-08-03 13:36:34

is this lape coz i compiles on lape but then ends

EvilCabbage

2014-08-10 06:06:22

From: leeds4eva
is this lape coz i compiles on lape but then ends



Cage

2014-08-16 07:10:22

Fantastic script. Some things though.

1. Upon entering the alter, there needs to be a delay before commencing clicking on the nature alter. Otherwise the function can miss the presence of the alter and would then continue to empty ess pouches even when ess is present in the players inventory. A simple sleep+random would fix this.

2. After crossing the ditch your program periodically checks for the presence of the mage. However, this segment of code has too low of a count before proceeding as it detects red dragon hide as the mage and thus tries interacting with my player as if I am the mage. I adjusted the min count to 40 and that appeared to have fixed the issue.

3. Some basic anti pker protection would be awesome. Maybe just an attempt at teleporting if detecting below say 80% health before reaching the abyss. Maybe followed by a random world switch?

 if  count >  15 then    
begin
Writeln('Found Mage');

Apart from that, it is a great script. Well done :)

EDIT: Pouch repair does not appear to be working with 2 pouches. :)

Noob King

2014-08-17 23:38:09

From: Cage
Fantastic script. Some things though.

1. Upon entering the alter, there needs to be a delay before commencing clicking on the nature alter. Otherwise the function can miss the presence of the alter and would then continue to empty ess pouches even when ess is present in the players inventory. A simple sleep+random would fix this.

2. After crossing the ditch your program periodically checks for the presence of the mage. However, this segment of code has too low of a count before proceeding as it detects red dragon hide as the mage and thus tries interacting with my player as if I am the mage. I adjusted the min count to 40 and that appeared to have fixed the issue.

3. Some basic anti pker protection would be awesome. Maybe just an attempt at teleporting if detecting below say 80% health before reaching the abyss. Maybe followed by a random world switch?

 if  count >  15 then    
begin
Writeln('Found Mage');

Apart from that, it is a great script. Well done :)

EDIT: Pouch repair does not appear to be working with 2 pouches. :)


Replace the TeleportMage function with this and it won't confuse red dhide with the mage
function TeleportMage: boolean;
var
MageNPC: TNPC;
TempNPC: array of TNPC;
MSLoc: TPoint;
CTS, X, Y, t: Integer;
TPA: TPointArray;
ATPA: array of TPointArray;
begin
Writeln('TeleportMage');
FindRandoms;
if CheckHealth then Exit;
Writeln(R_GetAllNPCs);
TempNPC := R_GetNpcs('null');
if not (length(TempNPC) = 0) then
begin
MageNPC := TempNPC[0];
MSLoc := R_TileToMS(MageNPC.Tile);
if (PointInBox(MSLoc, MSBox)) then
begin
CTS := GetColorToleranceSpeed;
SetColorToleranceSpeed(2);
SetToleranceSpeed2Modifiers(0.07, 0.68);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 858746, MSX1, MSY1, MSX2, MSY2, 5);
ColorToleranceSpeed(CTS);
ATPA := ClusterTPA(TPA, 10);
SortATPASize(ATPA,true);
SetColorToleranceSpeed(CTS);
if DoDebug then
SMART_DebugATPA(true, atpa);
if (length(ATPA) > 0) then
begin
MiddleTPAEx(ATPA[0], X, Y);
AL_BrakeMMouse(Point(x, y), 7, 7,false);
AL_FastClick(mouse_right);
if (Al_ChooseOption('Teleport')) then
begin
F_SetRun(true);
sleep(400);
MarkTime(T);
while (TimeFromMark(t) < 4000) and not InAbyss do
begin
sleep(200);
end;
end;
end;
end
else
begin
R_PerfectPath([MageNPC.Tile]);
end;
end;
end;

Wetish

2014-08-18 00:01:48

From: Noob King
Replace the TeleportMage function with this and it won't confuse red dhide with the mage
;


In the current version it uses the function MageTest to find the mage instead of the original reflection method.

Noob King

2014-08-18 00:08:23

From: Wetish
In the current version it uses the function MageTest to find the mage instead of the original reflection method.


Hmmm guess so. could have swore that was the function I fixed when it kept clicking my red dhide.

Noob King

2014-08-18 00:13:31

From: Wetish
In the current version it uses the function MageTest to find the mage instead of the original reflection method.


Oh I also meant to tell you that the broken id for the large pouch is 5516.

Flight

2014-08-18 00:28:33

From: Noob King
Oh I also meant to tell you that the broken id for the large pouch is 5516.


Or you could go the color route:

col_DamagedPouch.create(2830904, 4, 0.33, 0.40);
If that color is found in the inventory you have yourself a damaged pouch.

Noob King

2014-08-18 12:04:48

From: Flight
Or you could go the color route:

col_DamagedPouch.create(2830904, 4, 0.33, 0.40);
If that color is found in the inventory you have yourself a damaged pouch.

That is true as well. I just noticed he only had the first two pouch id's.

Wetish

2014-08-18 18:52:10

From: Noob King
Hmmm guess so. could have swore that was the function I fixed when it kept clicking my red dhide.


Woops I was wrong. For some reason it uses both of them. :unsure: Actually I have 3 functions to teleport with the mage.

Wetish

2014-08-18 19:07:27

Version 1.04
 Fixed broken pouch repair for the medium pouch
Changed mage colors to prevent accidental detection of red dhide.
Option to lower camera using the middlemouse button.
Improved antiban while walking.
Teleports while in the wild if lower than 80% hp.
Hovering over the next pouch to empty while crafting runes.
Hoving over the glory in equipment tab after crafting.
More randomness for when to perform actions.

Not everything has been thoroughly tested so please say if it doesn't work.

Version 1.045
 Fixed a couple of things I broke in 1.04

Noob King

2014-08-18 20:09:01

From: Wetish
Version 1.04
 Fixed broken pouch repair for the medium pouch
Changed mage colors to prevent accidental detection of red dhide.
Option to lower camera using the middlemouse button.
Improved antiban while walking.
Teleports while in the wild if lower than 80% hp.
Hovering over the next pouch to empty while crafting runes.
Hoving over the glory in equipment tab after crafting.
More randomness for when to perform actions.

Not everything has been thoroughly tested so please say if it doesn't work.


Ahh glad I wasn't just crazy haha. I'll give the new version a test and let you know how it goes. I've been slowly adding other runes to this, do you want me to post them here for you when I get a few more done?

Edit: Been running for about 30 minutes so far and no problems.

FYI if anyone else wants to use the amulet of glory(6)'s the id is 11979.

Wetish

2014-08-18 20:34:36

From: Noob King
Ahh glad I wasn't just crazy haha. I'll give the new version a test and let you know how it goes. I've been slowly adding other runes to this, do you want me to post them here for you when I get a few more done?


Go ahead and post them once you get them working. :)

Noob King

2014-08-18 21:45:55

From: Wetish
Go ahead and post them once you get them working. :)

Will do. Chaos is the only one I've really tested a bunch.

Noob King

2014-08-18 23:20:26

Here is the tiles for a few altars, I will get the paths tomorrow.


//Don't have quests done for the death and law altar tiles. I'll try to find someone who does.

'Death': //
begin
RiftTile := Point (3050, 4837);
RiftCompassDirection := 90;
AltarTile := Point(0, 0);
end;


'Law': //
begin
RiftTile := Point (3049, 4839);
RiftCompassDirection := 90;
AltarTile := Point(0, 0);
end;


'Chaos': //
begin
RiftTile := Point (3044, 4842);
RiftCompassDirection := 365;
AltarTile := Point(2271, 4842);
end;


Cage

2014-08-20 09:45:29

[Error] C:\Users\User\Desktop\Abyss Runecrafter V1.045.simba(1716:3): comma (',') expected at line 1716
Compiling failed. Looked for the comma and can't seem to be able to find it.

Noob King

2014-08-20 11:19:16

From: Cage
[Error] C:\Users\User\Desktop\Abyss Runecrafter V1.045.simba(1716:3): comma (',') expected at line 1716
Compiling failed. Looked for the comma and can't seem to be able to find it.

The lines with the paths on them are broken up into more then one line. Just put them back on their right line and it will solve the problem.

Cage

2014-08-20 11:50:17

From: Noob King
The lines with the paths on them are broken up into more then one line. Just put them back on their right line and it will solve the problem.


Thanks that fixed it. :)

Wetish

2014-08-20 13:02:11

From: Noob King
Here is the tiles for a few altars, I will get the paths tomorrow.


//Don't have quests done for the death and law altar tiles. I'll try to find someone who does.

'Death': //
begin
RiftTile := Point (3050, 4837);
RiftCompassDirection := 90;
AltarTile := Point(0, 0);
end;


'Law': //
begin
RiftTile := Point (3049, 4839);
RiftCompassDirection := 90;
AltarTile := Point(0, 0);
end;


'Chaos': //
begin
RiftTile := Point (3044, 4842);
RiftCompassDirection := 365;
AltarTile := Point(2271, 4842);
end;



Awesome :D

Noob King

2014-08-20 14:47:22

From: Wetish
Awesome :D

I think these are all the ones worth using the abyss for. If anyone wants another rune for some reason just let me know and I'll make a path for it. Also if you're doing deaths or laws you will have to insert the tile for the middle of the altar as I can't find anyone to get it for me.


//AcrossX is the X cord of the tile directly across from the desired portal
'Death':
begin
AcrossX:= 4832;
Top:= Point(3027, 4833), Point(3030, 4841), Point(3044, 4843), Point(3052, 4834);
Bottom:= Point(3030, 4823), Point(3041, 4820), Point(3049, 4825), Point(3052, 4834);
end;

'Law':
begin
AcrossX:= 4830;
Top:= Point(3027, 4833), Point(3030, 4841), Point(3044, 4843), Point(3049, 4841);
Bottom:= Point(3030, 4823), Point(3041, 4820), Point(3049, 4825), Point(3049, 4841);
end;

'Chaos':
begin
AcrossX:= 4821;
Top:= Point(3030, 4823), Point(3027, 4833), Point(3030, 4841), Point(3044, 4843);
Bottom:= Point(3041, 4820), Point(3049, 4825), Point(3052, 4834), Point(3044, 4843);
end;


alexes

2014-09-07 11:22:35

I'm getting this error:

The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge, 2]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap]

I've searched the forums and I've done everything that people said: reinstalling some includes, adding SetScreenName(Players[0].Nick); to the script….

But I'm still getting the error. Anyone knows how to fix this?

Thanks

Noob King

2014-09-08 20:35:19

From: alexes
I'm getting this error:

The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge, 2]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap]

I've searched the forums and I've done everything that people said: reinstalling some includes, adding SetScreenName(Players[0].Nick); to the script….

But I'm still getting the error. Anyone knows how to fix this?

Thanks

I believe the hooks for uptext are still broken and is causing this.

The Mayor

2014-09-08 20:37:38

From: alexes
I'm getting this error:

The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge, 2]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap]

I've searched the forums and I've done everything that people said: reinstalling some includes, adding SetScreenName(Players[0].Nick); to the script….

But I'm still getting the error. Anyone knows how to fix this?

Thanks


That's not actually an error per se, that is just telling you some DTMs/bmps were not freed at termination. The error, if there was one, would have occurred before this.

alexes

2014-11-21 10:30:38

Seems that the script has some errors with banking, to detect the items tabs must be disabled. And the script does not closes the bank properly crashing many times. Does anybody had the same problem? Anyone knows how to solve it?

Thank you so much

EDIT: SOLVED

icode

2014-12-15 20:39:24

Can you please make it work wit only 2 pouches (small and med) ? I'm not 50 yet so i can't have the 3rd pouch thanks.

alexes

2015-01-11 14:46:08

After the latest reflection update, the script is not working.

The script is outdated

Harrier

2015-02-17 16:14:59

=====================================
Script version: 1.045
Time running: 01:04:41
Current lvl: 50
XP: 10368(9616)
Crafted: 1152(1068)
Glorys Used: 8(7)
=====================================

Very nice script :)

icode

2015-02-17 22:46:50

From: Hawker
=====================================
Script version: 1.045
Time running: 01:04:41
Current lvl: 50
XP: 10368(9616)
Crafted: 1152(1068)
Glorys Used: 8(7)
=====================================

Very nice script :)


so you got this running? I finally have 50 rc just haven't tried it out yet.

vashanddou

2015-02-28 00:11:24

Anyone able to quote me there stats?
Agility, Thieving & Mining levels?

jstemper

2015-04-11 12:02:45

Script does not work anymore, getting this error:

(957:14): Unknown identifier 'GetChooseOptions2' at line 958
Compiling failed.

godzassassin

2015-06-05 04:20:33

Hmmmmmmmmmmm cant seem to get this running I feel stupid :(

AFools

2015-06-05 05:47:08

Mate, this an old script and outdated. would need to be re-written to accommodate newer includes.