Page 1 of 2 12 LastLast
Results 1 to 25 of 46

Thread: Any-Rune Rune-Buyer

  1. #1
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default Any-Rune Rune-Buyer

    '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.

  2. #2
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  3. #3
    Join Date
    Feb 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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

  4. #4
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    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.

  5. #5
    Join Date
    Feb 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    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.

  6. #6
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Forcemaster View Post
    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.

  7. #7
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

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

  8. #8
    Join Date
    Sep 2006
    Posts
    916
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  9. #9
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    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.

  10. #10
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

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

  11. #11
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    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.

  12. #12
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

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

  13. #13
    Join Date
    Sep 2006
    Location
    Australia
    Posts
    425
    Mentioned
    0 Post(s)
    Quoted
    34 Post(s)

    Default

    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?

  14. #14
    Join Date
    Nov 2006
    Posts
    157
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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.

  15. #15
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    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
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

  16. #16
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

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

  17. #17
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

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

  18. #18
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    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? > 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

  19. #19
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    SCAR Code:
    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.

  20. #20
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    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

  21. #21
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks

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

  22. #22
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    Thanks

    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'

  23. #23
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

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

  24. #24
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Jason2gs View Post
    No reason, I guess. I just want it to tell me
    Oh ok, why not using the 'runes' ? (the thing you used to save the getramount in it lol)

  25. #25
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

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

    No big deal. I got RuneAmount to work

    Thanks for all your help!

    Mike

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ali Morrison Rune Buyer
    By Woody in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 08-02-2007, 05:07 PM
  2. Madness Rune Buyer
    By MylesMadness in forum RS3 Outdated / Broken Scripts
    Replies: 14
    Last Post: 07-13-2007, 03:42 PM
  3. Rune Buyer
    By Forcemaster in forum RS3 Outdated / Broken Scripts
    Replies: 5
    Last Post: 03-07-2007, 10:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •