Page 1 of 4 123 ... LastLast
Results 1 to 25 of 93

Thread: [R]Astralz (Astral Runecrafter)

  1. #1
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default [R]Astralz (Astral Runecrafter)


    Features:
    • Crafts Astral runes on MC Island
    • Run or teleport back to bank! (With option of "Spell" teleport or "Home" teleport)
    • Smart resting
    • Eating upon low health
    • Pouches (supports all pouches)
    • Repair pouches via 'Repair Pouch' spell only.
    • Improved banking for speed
    • Choice of WebWalk or WalkPath
    • Safe-player system (Absolute failsafes)
    • Solid breaking system (Echo_)
    • On-screen progress report
    • SRL Stats
    • Fail-safes to ensure endurance!
    • Multi-player support


    Anti-bans:
    • HumanMouse
    • Camera rotating


    Requirements:
    • Lunar Diplomacy quest
    • 40+ Runecrafting
    • Amour/weight-reducing items
    • Astral runes must be in first inventory slot


    For teleport-banking:
    • 69+ Magic
    • Law runes in second inventory slot
    • Earth runes in third slot OR wielding earth/lava/mud staff



    For using pouches:
    • Put what pouches you want to use in your inventory
    • You must have 'Repair Pouch' spell unlocked (via Livid Farm activity)
    • Must have Cosmic runes in your inventory


    Update log:
    V 1.1:
    • More efficient resting system (speed increased)
    • Accurate teleporting
    • Option to use WebWalking or regular WalkPath
    • Eat user-defined food when low on health
    • Profit-per-hour (Credits to TomTuff)

    V 1.2: {Huge thanks to Shuttleu for all his help, alot of the updates were his suggestions)
    • New WalkPath by Iamadam (Extreme reduction in CPU usage)
    • Multi-player support
    • Tele-banking updated (Spell teleport or Home teleport)
    • Tweaks with on-screen printing
    • More in-dept failsafe (If disturbed while walking between bank-alter,
      you will webwalk accordingly to the next destination)
    • Break countdown timer
    • Mis-Teleport failsafe
    • Small tweak to Bank-to-Alter path (Fast destination locating)
    • Break countdown timer displayed every 30 seconds


    V 1.3:
    • Pouches!
    • Banking dramatically improved (Eat, withdraw essence, and fill pouches without closing the bank)
    • Pouch repairing via the 'Pouch Repair' spell
    • Lost detection improved



    Note: Teleport-banking is 30-40% faster than running back, but the script will do either method smoothly. The efficiency of this script has recently been improved immensely. Potential to easily hit over 3,000 runes/hour.

    Anywho, I'll be taking the script for a very long test run tonight, but please test it yourself and please post your progress reports. Suggestions are welcome.
    Last edited by Flight; 05-27-2011 at 09:30 AM.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  2. #2
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Awsome Flight!
    Great to see you contributing.

    Looks great script. Just a little suggestions. Add Money earned and money Per / H.
    And think about using r_WebWalk instead of Walkpath

    Just little things:

    Simba Code:
    While IsMoving do
          Wait(50);
        if (Not IsMoving) then
        begin

    To

    Simba Code:
    While IsMoving do
          Wait(50);



    EDIT: Sorry my bad on that MeInBox. Didn't read enough carfully.
    Double Edit: Once again my bad. Yes you could use Function MeInBox instead of Function WithinArea.

    But still great to see "Home Made" Functions :P <---- Haha.

    Rep +

    ~Home
    Last edited by Home; 05-08-2011 at 11:40 AM.

  3. #3
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Woo got rep from a super-scripter, I feel honored.

    If I knew a way to grab GE market price of an item within a script believe me, I'd be all over that. But manually defining a static price seems, for lack of a better word, dumb.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  4. #4
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Woo got rep from a super-scripter, I feel honored.

    If I knew a way to grab GE market price of an item within a script believe me, I'd be all over that. But manually defining a static price seems, for lack of a better word, dumb.
    For getting Price:

    Simba Code:
    function GePrice(ID: Integer): string;
    begin
      Result := Between('price:</b> ', '<', GetPage('http://services.runescape.com/m=itemdb_rs/viewitem.ws?obj=' + IntToStr(ID)));
      Delete(Result, Length(Result), 1);
    end;



    ~Home

  5. #5
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  6. #6
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by Home View Post
    For getting Price:

    Simba Code:
    function GePrice(ID: Integer): string;
    begin
      Result := Between('price:</b> ', '<', GetPage('http://services.runescape.com/m=itemdb_rs/viewitem.ws?obj=' + IntToStr(ID)));
      Delete(Result, Length(Result), 1);
    end;



    ~Home


    Thanks for the suggestions, you made me feel pretty dumb. Maybe I'm just accustomed to making my own quick patches of code, probably a bad habit re-inventing the wheel...

    The double IsMoving was more a fail-safe, because I used a regular "While Moving Wait(50);" before and it just wasn't working so well for me, probably my own mistake somewhere but just to be on the safe side I doubled up on things. :P

    The r_WebWalk I will surely look into, it's very new for me but I've heard promising things...

    @Shuttleu: By all means, please do so! Again, that's awesome getting positive comments from you guys.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  7. #7
    Join Date
    May 2011
    Location
    In an Island.
    Posts
    1,413
    Mentioned
    2 Post(s)
    Quoted
    149 Post(s)

    Default

    Nice script, few bugs etc...
    why don't you place pouches? it would be pretty handy! the way to fix them would be the spell to talk with npc's..You only need 2 airs, 1 cosmic and 1 astral.
    Tell me stuff mate

    UNKNOWN69

  8. #8
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    =D i have one of these made i was about to do some final testing and release it i shall test yours if i like it i wont release mine =]
    Edit : Yep needs pouches and you need to find the actual Magic Spell/ setup the MageBook to teleport back. i just tested and it clicked hunter kit instead of teleport. other than that its a good script =]
    Last edited by Kasi; 05-08-2011 at 01:24 PM.

  9. #9
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    1,351
    Mentioned
    2 Post(s)
    Quoted
    72 Post(s)

    Default

    Nice script, I'm happy people are using my break handler What would this script do if say, you got killed by a suqah?

  10. #10
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    Quote Originally Posted by Echo_ View Post
    Nice script, I'm happy people are using my break handler What would this script do if say, you got killed by a suqah?
    Equip Ring of life and hope not to die again ^^

  11. #11
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    I was thinking about adding withdrawing/eating food at the bank if you're low on health just as a failsafe, but then again not many lower levels are runecrafting here so chances of dying are slim to none. I'll for sure keep it in mind about health, ect...

    About the mage book, I think it's because you have your spells assorted in a certain order. Maybe instead I'll search for a bitmap within the spellbook region, good catch.

    I think I have enough suggestions to make a V1.1, I'll start work on it first thing in the morning.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  12. #12
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    For price getting with items that have things like "K", "M", "B" in them:
    Simba Code:
    (* Extracts the numbers in a string, accepts special letters (k, m, b) *)
    function CashStringToInt(S: string): Integer;
    var
      i, ii: Integer;
      Numbs: TStringArray;
      Temp: string;
    begin
      Temp := '';
      Numbs := ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'k', 'm', 'b'];
      for i := 1 to High(S) do
        for ii := 0 to High(Numbs) do
          if S[i] = Numbs[ii] then
            case ii of
              0..9: Temp := Temp + Numbs[ii];
              10..12:
              begin
                Result := StrToInt(Temp);
                case ii of
                  10: Result := Result * 100;        //Since price is given to 1 decimal,
                  11: Result := Result * 100000;     //instead of multiplying by the entire
                  12: Result := Result * 100000000;  //factor, you must multiply by factor/10
                end;
              end;
            end;
      if (Result = 0) then
        Result := StrToInt(Temp);
    end;


    (* Gets Price of given item with the ID "ItemID" via ge database website *)
    function GetPrice(ItemID: Integer): Integer;
    begin
      Result := CashStringToInt(Between('<b>Current guide price:</b>', '<br><br>', GetPage('http://services.runescape.com/m=itemdb_rs/Shark/viewitem.ws?obj=' + ToStr(ItemID))));
    end;
    Just give credit

    How much profit per hour is this? I have been needing to get rc up

    E: Also flight you should get on rs
    Last edited by TomTuff; 05-08-2011 at 02:29 PM.

  13. #13
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Bitmap (like you said) and then an uptext check for the spell just to make sure you don't end up in your POH would be good, just to be safe. Gratz on the release!
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  14. #14
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Yeah uptext on the spell for sure, I'm making a small list for tomorrows update, I'll add that in.

    Thank you Tom, I'm for sure gonna use those 2 for price grabbing at the beginning of the script. Offtopic, I'm gonna catch some Z's soon so it'll have to wait till tomorrow. :P

    Edit: Well I'm averaging 1500 runes per hour using teleport-banking, and at the market price of about 170 each it's around 250k/hour. Like I said, I'll work on adding pouches tomorrow which might shoot it up to 350-400k/hour, because pouches make a HUGE difference.
    Last edited by Flight; 05-08-2011 at 02:42 PM.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  15. #15
    Join Date
    Dec 2006
    Location
    Latvia
    Posts
    97
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    I was thinking about adding withdrawing/eating food at the bank if you're low on health just as a failsafe, but then again not many lower levels are runecrafting here so chances of dying are slim to none. I'll for sure keep it in mind about health, ect...

    About the mage book, I think it's because you have your spells assorted in a certain order. Maybe instead I'll search for a bitmap within the spellbook region, good catch.

    I think I have enough suggestions to make a V1.1, I'll start work on it first thing in the morning.
    First great script (I'm almost sure, haven't downloaded it yet). I will use it after I get myself 99 FM (in few days).

    About the mage book. Take a look at SRL/skills/Magic.scar. There you will find functions that are related to magic (do'h). You can use those functions to set up a spellbook (specific order and filter) once at the start.
    But Bitmaps work too

    And yeah adding pouches would be great too

  16. #16
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    Quote Originally Posted by enoyhs View Post
    First great script (I'm almost sure, haven't downloaded it yet). I will use it after I get myself 99 FM (in few days).

    About the mage book. Take a look at SRL/skills/Magic.scar. There you will find functions that are related to magic (do'h). You can use those functions to set up a spellbook (specific order and filter) once at the start.
    But Bitmaps work too

    And yeah adding pouches would be great too
    Magic.SCAR doesn't support lunar =[

  17. #17
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    Check out my amulet stringer for a lunar spell book sorter. It sets it to be ordered by level and displays all 3 types of spells.

  18. #18
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    I've already fixed the teleporting, it finds the bitmap for the button itself and it seems to be working just fine. Also added option WebWalking, but it's not very accurate...

    At the moment working on low health and withdrawing/eating user-defined food when at the bank.

    After that, pouches... That's gonna be really tricky.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  19. #19
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Updated to V1.1, here's the features implanted:
    • More efficient resting system (speed increased)
    • Accurate teleporting
    • Option to use WebWalking or regular WalkPath
    • Eat user-defined food when low on health
    • Profit-per-hour (Credits to TomTuff)


    I'm now pushing 360k/h.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  20. #20
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    can you add the home teleport, just for people who dont have laws
    there is no time or level limit on there

    ~shut

    EDIT: i just got telothered and it just sat there going all spastic

    so maybe add a telother decliner in there

    EDIT: or use this at the begining of the scrip when the user first logs in
    Simba Code:
    {By Brak}
    Procedure TurnAidOff;
    begin
      if Players[CurrentPlayer].Booleans[0] then Exit;
      if TabExists(tab_Options) then
        if GameTab(tab_Options) then
        begin
          if 142 = CountColorTolerance(1711226, 639, 456, 690, 510, 5) then
            exit
          else
          begin
            MouseBox(650,472,675,495,3);
            if WaitUpTextMulti(['oggle', 'ccep', 'cept', ' Aid'], 500) then
              ClickMouse2(True);
          end;
        end;
      Gametab(tab_Inv);
      Players[CurrentPlayer].Booleans[0]:= True;
    end;
    Last edited by Shuttleu; 05-09-2011 at 08:03 AM.

  21. #21
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Good catch, Shuttleu. I also had this happen to me, I guess the others use "Tele Group Moonclan" for that 1 extra Magic exp point. :P I'll be sure to throw in Brak's nifty little procedure, thank you for that.

    I also didn't know about the home teleport option, but that's kinda odd about no time limit on Lunar's home teleport...

    No runes are required for the Home Teleport spell, but the spell animation takes some time, so it cannot be used to leave combat. It is useful for quickly getting back to the Moonclan Island.
    By the way, have you tried out the WebWalking yourself? It seems really sketchy, and because in the beginning of our route from the bank to the alter it's a bit narrow, this causes some misclicks that could really slow down the script. Also it's not very good at finding that last tile... I didn't know if it's normally like this or if I did something wrong somewhere.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  22. #22
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  23. #23
    Join Date
    Jun 2007
    Location
    Greenville, SC
    Posts
    1,149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sweet! I need my RC up badddd. RC is currently my lowest skill at 75. I will be testing this and posting a progress report soon.

  24. #24
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  25. #25
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Yep I caught that, thanks.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

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

Posting Permissions

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