SRL Archive - Senior Scripts and Snippets

[SS] Nature Rune Crafter


Town

2007-09-30 20:08:55

I made this pretty much in one day (today), and I just wanted to get it out for some suggestions/bug checks real quick.

Tomarrow I'll try to add in options for talismans, but right now you will need to use a tiara (which should be easy to buy, but I forgot how to get it normally).

It's extremely sloppy and probably hard to read/understand, I'll interprete if you need >.>

I know it can do at least 1 run how it is. It can probably do up to 3 pretty easily, but I havn't tested much. Walking is pretty much only possible because of the locked map and then I use trees and a symbol or two to guide it. There are plenty of extra/unused steps because of the NPC that stops you at times. He moves around so it's pretty hard to get around, but I think I avoid it pretty well.

I look forward to all the careless mistakes I made scripting, I know they're there. If you get a chance to actually run it I'll take progress reports/bugs too. I'd be surprised if you got more than 3-5 runs, but I believe in miracles.

Once I get a chance to work on this more and do some bug fixes I plan on releasing it to everyone.

– If you havn't gotten the newest version of Scarscape you'll need to get it off www.sythe.org.

Smartzkid

2007-10-01 20:26:23

First public nat runner I've seen, congrats.

I'd love to test it, but I don't have any members accounts.

Town

2007-10-03 18:50:15

Update. . .

It's doing at least over 5 loads now (I don't see any possible bugs, Scarscape is pretty straightforward). I'm pretty much out of rune essence if anyone else can give me a few test loads.

Thanks for whoever gave me the scripting rank (h)

Freddy1990

2007-10-04 10:33:22

I'd never think I'd see the day someone put [SS] infront of a script, reminds me of good times :)

Town

2007-10-04 20:03:34

I just read about that shop update. Wouldn't that make runecrafting completely useless? I must have heard it wrong. . .

RAM

2007-10-04 20:10:39

From: Town
I just read about that shop update. Wouldn't that make runecrafting completely useless? I must have heard it wrong. . .


It's actually designed to promote more buying and selling between players and stop bots from buying…

These changes will mean that autoshoppers and bots can no longer make a profit from abusing the shop system. We are sure you'll find this to be a very good thing - after all, we want RuneScape to be fun and not frustrating.


the prices of runes are now higher, that there is an infinite supply…

BTW, wish I was able to test this script for you, but I no longer have an account with high runecrafting…

~RAM

Town

2007-10-04 20:46:25

Oh, I didn't actually check on the update myself. I guess this will encourage even more runecrafting because there is no use in merchanting using a store.

I realize most people don't have or wouldn't want to risk an account with a decent runecrafting level, a members account at that. I'll probably go ahead and release the script as is to Junior Members and see if I can actually get some imput in there, at least in the next few days.

Pyro

2007-10-05 01:37:50

Hold up. I will soon. What level is rc have to be to do nats? I dont mind being a heavy tester for you

EDIT: WOOP! Just realised my main has 17k pure ess and 44 rc. Here comes the nats :p

EDIT2 : no woop. No one wants to sell tiara. SO imma sit this one out

EDIT3 ok tried and failed. First run took two steps logged - no debug.
Second and third try moved mouse MS then right clicked,then logged.

Town

2007-10-05 14:36:16

From: Pyro
Hold up. I will soon. What level is rc have to be to do nats? I dont mind being a heavy tester for you

EDIT: WOOP! Just realised my main has 17k pure ess and 44 rc. Here comes the nats :p

EDIT2 : no woop. No one wants to sell tiara. SO imma sit this one out

EDIT3 ok tried and failed. First run took two steps logged - no debug.
Second and third try moved mouse MS then right clicked,then logged.


You have to start it inside the general store.

function AtShop: Boolean;
var
Points: TPointArray;
begin
if (not (LoggedIn)) then Exit;
FindColorsTolerance(Points, 342107, MMCX - 20, MMCY - 20, MMCX + 20, MMCY + 20, 0);
Result := (GetArrayLength(Points) > 5);
if (not (Result)) then Exit;
Mouse(Points[0].x + ((Points[GetArrayLength(Points) - 1].x - Points[0].x) div 2), Points[0].y + ((Points[GetArrayLength(Points) - 1].y - Points[0].y) div 2), 4, 4, true);
Flag;
FindRandoms;
end;

That's what's catching you. If you aren't in ScarScape or for some reason it isn't working then you will have problems, or you just aren't in the right building. The right click is the script going directly to the next procedure, I should probably edit the main loop to look like this:

begin
Setup;
repeat
repeat
ProgressReport;
if (AtShop) then
begin
ToAlter;
MakeRunes;
ToShop;
end;
if (AtShop) then GetEss;
if (not (LoggedIn)) then Break;
until (Players[CurrentPlayer].Banked mod Players[CurrentPlayer].Integers[0] = 0);
NextPlayer(LoggedIn);
until (false);
end.

I don't think it's on my end :(

Pyro

2007-10-05 16:29:45

Was standing in shop in SS. What about the two steps? Were you looking for anvil? Because i couldnt quite make it. But yeah. Ill give it another go :p

Ok got further but got down to the shilo village barrier and kept clicking inside shilo village stuffing it up. So i Stopped walked to craft em. It crafted. Then Instead of clicking south where the portal is it clicked west.

Town

2007-10-05 19:29:37

I've never had any of that happen o.O

I never use the anvil. Clicking inside Shilo Village makes sense, I can fix that. The clicking out I can edit too even though I've never had that problem.

I'll post another version in another hour or so.

– Updated 1-2 things. I had it where after it went into the mysterious ruins it moved the mouse to the top of the screen and then hit a lag spike as it is going up there and the click registered before it should have. Then it couldn't click where it needed to and ended up going to the west side of the ruins where you said. If that's what's happening to you then change the MouseBox in MakeRunes into a MMouse, then a short wait, then a Mouse and it should work better.

Here's a video of how it's been running for me: http://s64.photobucket.com/albums/h182/Town_photos/?action=view¤t=clip0036.flv

Pyro

2007-10-06 17:51:34

Gah i started making my own. Ill give yours another go later today though

The Un-Named

2007-10-08 17:06:36

From: Freddy1990
I'd never think I'd see the day someone put [SS] infront of a script, reminds me of good times :)


Reminded me of Mad Cow's air crafter. :) Good times indeed.