SRL Archive - RS3 Outdated / Broken Scripts

Any-Rune Rune-Buyer


Jason2gs

2007-03-07 17:50:41

'Allo

I made this in Betty's Rune Shop at Port Sarim. I'm not sure if it works with any other rune shop, but I don't see why it wouldn't.

Just set the const for whatever RuneType you want, and SCAR will buy that rune until 1) You ran out of coins. Or 2) The shop ran out of stock.

Just added a new version.

It now let's you say when how many runes you want to buy.

Tell me how it works!

Thanks,

Mike.

Hey321

2007-03-07 17:53:35

One thing, your inventory won't be full if your buying runes -.-.

Forcemaster

2007-03-07 17:56:27

Any chance you could set it up to buy a set amount of runes? Like I only buy waters till there are 3000 in stock (and they hit 12ea), using your script it'd buy them all :O

Jason2gs

2007-03-07 18:04:49

Ah, I see your problem.

I can have it check and see how much the rune costs every time, that'll work.

I realize that your inventory will most likely not be full, I guess I just added that as a failsafe.

Forcemaster

2007-03-07 18:08:21

From: Jason2gs
Ah, I see your problem.

I can have it check and see how much the rune costs every time, that'll work.

I realize that your inventory will most likely not be full, I guess I just added that as a failsafe.


Yup, that would work, an ideal thing would be to have it check how many are in stock (if that's a function), then make it substract 3000 from that, divide that by 10, and click the "buy 10" thing accordingly.

Offcourse I don't know how flexible SCAR is.

Hey321

2007-03-07 18:22:03

From: Forcemaster
Yup, that would work, an ideal thing would be to have it check how many are in stock (if that's a function), then make it substract 3000 from that, divide that by 10, and click the "buy 10" thing accordingly.

Offcourse I don't know how flexible SCAR is.


Plausible but very unlikely.

Jason2gs

2007-03-07 20:40:36

Most likely possible, but it would be easier to just have it check the value every maybe… Fifth time?

Hey321

2007-03-07 21:09:26

Why not just make a dtm of the 2900 thing, and then make it search for it every 3rd time, if it found it it stopped.

Jason2gs

2007-03-07 22:11:26

Good idea, but I'd have to make several DTMs for that. Whereas with checking the value, I can just make a few if(InChat commands.

Sp0rky

2007-03-07 22:24:37

Nice release. Been waiting for a rune buyer because im far too lazy to code one myself :)

Jason2gs

2007-03-07 22:34:36

Thanks :)

I'll probably be upgrading it in a day or two. Keep an eye out ;)

Edit:

Just tested out my script for the first time, and found a bug.

I suggest taking the "InvFull" part out of the script. Otherwise it will try and click back to the inventory every time after buying. That's not a good thing.

I'll upgrade this tomorrow, gotta go to bed now.

Sp0rky

2007-03-07 22:42:23

Edited the waits because I thought 1 second + random half a second was wayy too long. Im an impatient person :P

Deni_mulic

2007-03-08 01:48:20

Could make an update to auto detect betty/aubury, like say in an ess miner, then when the rune is out of stock such as deaths/chaos it could hop worlds?

kushal

2007-03-08 02:22:32

not a gr8 script, havnt tried it yet but by looking at the script its not that good, you should make it wait when the shop is out of stock, then buy them. and make the mouse go to a colour, not specific co-ordinates.

the scar noob

2007-03-08 14:59:02

From: Jason2gs
Good idea, but I'd have to make several DTMs for that. Whereas with checking the value, I can just make a few if(InChat commands.


Doesn't there cists a function to return the amount of runes ;)
Going to check it out, i'll tell you when it excists :)

Jason2gs

2007-03-08 15:09:41

I saw that, but it has "area" as a string, and I'm not sure what it wants me to put down.

the scar noob

2007-03-08 15:36:50

k but i don't find that anymore ;)
I had to clean up here :)

the scar noob

2007-03-08 15:39:01

maybe you can use
function getamount(itemx, itemy: Integer): Integer
?
But then, yes, you've got to work with coords and i never used that to.
I wanne ask someone for more info about this, it searches for the amount at coords, but what's the width of the pixels to search for?:confused: > it says: //font is identical except 2 pixels shorter, isn't that a little to small?
I know that this function can only be used in trade :( but maybe you can edit it or use
function Amount(area: String; i: Integer): Integer;

What's the area? well here are valid argruments:
inv, shop, bank and trade.
EDIT: or maybe you can use:
function ItemCoordsColor(area: String; color, tol: Integer): TPointArray;
and change the finding color part in finding bitmap? Btw, NO DTM's aren't the DTM's from all the runes the same? :) lol ;)
>> NVM, there already excists something like that ;) I posted to quikly :):
function ItemCoordsBmp(area: String; bmp, tol: Integer): TPointArray;


LAST EDIT: omfg it seems to be that i really post to quikly!! This one is the ultimate function you can use!:
function RuneAmount(area, runetype: String): Integer;
area: inv (inventory), shop, bank and trade
runetype: valid argruments: air, blood, body, chaos, cosmic, death, earth, fire, law, mind, nature, soul and water :) lol ;)

Jason2gs

2007-03-08 15:45:32


program New;
{.include SRL/SRL.scar}
{.include SRL/SRL/Misc/Amount.scar}
begin
GetAmount(280, 82);
end.

That worked, but I'm not sure how to make it tell me the amount.

the scar noob

2007-03-08 15:54:14

runes:= GetAmount(280, 82);
;)
But use the last thing i posted ;) the last edit :) lol

Btw, i really were thinking that getamount is very usefull, i thought about for using to make a merchanter from it, a long time ago ask sumilion i told him that a long time ago ;)

Jason2gs

2007-03-08 15:59:55

Thanks :p

I will use RuneAmount, but I'm still not sure how to make it Writeln the amount with GetAmount…

the scar noob

2007-03-08 16:09:37

From: Jason2gs
Thanks :p

I will use RuneAmount, but I'm still not sure how to make it Writeln the amount with GetAmount…


Why would you need/use a Writeln(s :String;) function?
It just returns the amount of runes at 'runes' ;)

Jason2gs

2007-03-08 16:11:46

No reason, I guess. I just want it to tell me :p

the scar noob

2007-03-08 16:13:27

From: Jason2gs
No reason, I guess. I just want it to tell me :p


Oh ok, why not using the 'runes' ? (the thing you used to save the getramount in it :)lol) ;)

Jason2gs

2007-03-08 16:14:44

I think I tried that, not sure if it worked.

No big deal. I got RuneAmount to work :)

Thanks for all your help!

Mike

the scar noob

2007-03-08 16:19:52

From: Jason2gs
I think I tried that, not sure if it worked.

No big deal. I got RuneAmount to work :)

Thanks for all your help!

Mike


Np;)
2 questions:
1. why not working togethe in future?
2. How did you get that "Community Member" status??

Jason2gs

2007-03-08 16:23:21

Working together? Sure :)

I don't know, I just looked one day and saw "Community Member" up there :p

I think it has something to do with my post count and activity bar.

the scar noob

2007-03-08 16:36:33

From: Jason2gs
Working together? Sure :)

I don't know, I just looked one day and saw "Community Member" up there :p

I think it has something to do with my post count and activity bar.


Working together: ok, thanks ;)
"Community Member" thingy (status): :) lol

Forcemaster

2007-03-09 10:42:49

From: kushal
not a gr8 script, havnt tried it yet but by looking at the script its not that good, you should make it wait when the shop is out of stock, then buy them. and make the mouse go to a colour, not specific co-ordinates.


I believe it's pretty secure, used this for 2 days on a spare acc, no banning or whatsoever, it makes the mouse click in a certain area, it doesn't always go to a colour, it clicks randomly inside the rune ;)

Hey321

2007-03-09 10:45:36

If(Not(SRLMember)And(PostCount=300))Then
Status:=Community Member
Else
Status:=L33ch3r N33b

Lol, joking. I'll try this, i have about 115k i want to get rid of with runes for cursing ;).

Jason2gs

2007-03-09 16:48:26


If(Not(SRLMember)And(PostCount=300))Then
Status:=Community Member
Else
Status:=L33ch3r N33b


Heh :p

I made a change to the version I have on my end, I'll add it to the release.

It's just a small one. Lets you decide how many runes you want to buy, and stops when it hits that point.

Smartzkid

2007-03-09 16:57:53

Nice script! Only thing I can think of is world hopping with bmp's…

Jason2gs

2007-03-09 16:59:16

World hopping… That would be a bit hard, woudln't it? Unless the script runner uses SCSS (I don't)…

av4td182

2007-03-20 04:04:06

Nice script!!! i used it on a spare accoutn too and there wasnt any bans my way!!! I was gunna make one myself but you did a pretty good job i must say.

Jason2gs

2007-03-20 13:45:32

Thank, mate :p

As far as I know, there's going to be one with forms soon. Someone was working on it. I havn't heard from then in a while…

3Garrett3

2007-03-26 15:32:33


Line 26: [Error] (18312:25): Type mismatch in script C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files\Content.IE5\WH6ZKDYF\RuneBuyer%202[1].0.scar
??? I bought the runes by myself because i could not understand why it wouldnt work and didnt want to waste time trying to figure it out…

the scar noob

2007-03-27 11:40:15

You guys dunno why??
He putted it as a string, it has to be an integer…

mine or die4

2007-03-28 03:13:33

nice i just tryed it i hate those lvl 3's nubs using this script tho drives me INSANE

nice job on the autotalk feature look foward to the yew

*BANNED* lol my nooby lvl 29 got banned for using this lmao

???

just got that random

he dident give me anything

il try

Hey All I Was Wondering If Any1 HAd A Seers Willow Chopper and banker?





ALSO if anyone has a script that cuts Normal Logs and Bank it Would Be APPRECIATED




:fiery: :fiery: :fiery: :fiery: :fiery: :fiery: PEACE OUT :fiery: :fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery::fiery: :fiery: :fiery: :fiery: :fiery: :fiery:

u helped alot ty

lol very nice i eish i could do that


am i noobinsh


Yes, when you make 10 posts in 20 minutes…you are quite noobish !!!! ~RAM
.

EL_TYCHO

2007-04-02 13:36:47

I get the same error, and I dont understand the string to integer thing can, you explain what I have to change?

Jason2gs

2007-04-02 13:44:45

Ye, I accidently put one of the consts at the top as a string, as opposed to an integer. I shall fix that, and put up the new fixed version.

EL_TYCHO

2007-04-02 14:08:48

I checked my copy of the script and I dont see any string :s there is 1 cons and thats Runes = integer

Jason2gs

2007-04-02 15:16:39

That must be the old version. Get the new version.

EL_TYCHO

2007-04-02 16:09:49

lol that was the new version, but ill take this version now

Jason2gs

2007-04-02 16:12:42

Hmm, don't know what was wrong with it.

Tell me how it works!

Spork was making a formed-up version of this last I checked. Not sure what happened to that :confused:

EL_TYCHO

2007-04-02 16:34:19

Well i think you just upload it under the same name, cuz i downloaded it again, overwrited it and know it works, but you gotta check the earth runes thing cuz it looks like it uses random postioning cuz it buys minds sometimes

Dumpin

2007-07-04 10:07:59

would be UBER UBER pwnage with worldhopper :D I changed it bit so its very fast now :) very good job