Results 1 to 8 of 8

Thread: TnY Superheater

  1. #1
    Join Date
    Mar 2012
    Location
    North Carolina, USA
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default TnY Superheater

    TnY Superheater


    Description:
    Superheats ore for you, gaining you magic and smithing experience. Includes antirandom and SRL stats.
    Notice This is a first public release, so be sure to watch the script for a bit to ensure that it works properly for you.

    Setup:
    Change the following constants and player info in the script.
    Code:
    const
      BAR='mith'; //Type of bar to be made (iron, steel, gold, mith, addy, rune, silver (no bronze))
      BARSTOMAKE=1000;  // How many bars you want the superheater to make
      BANKLOCATION='br';  //Which bank you want to use (br = Burthrope, sw = Soul Wars, cw = Castle Wars)
      GOLDGAUNTLENTS='no'; //Are you using gold gauntlents while heating gold?
      USINGRUNES='no'; //Are you using fire runes?  Leave no if you have a fire staff or similar item equiped.
      ORESLOT=1;  //The bank slot you have the desired ore in (1 is top left, 10 is top right, 11 is under 1, 20 is under 10, etc)
      COALSLOT=2;  //The bank slot you have your coal in
      TABTOUSE=1;  //Which bank tab your items are in.
      SRLStats_User = 'Anonymous'; // Your SRL Stats ID (If you dont have one then just leave it as it is)
      SRLStats_Password = 'anon1337'; // Your SRL Stats Password (If you dont have one then just leave it as it is)
    ...
        Name:='';  //Account Username
        Pass:=''; //Account Password
        Nick:=''; //3-4 lower case letters of your character's name
        Pin:='';  //Leave blank if you don't have a pin
    Bank:
    Red = tabs
    Yellow = slots


    Inv:
    You will need to put your nature runes here.
    If you're using fire runes, put them in the next space to the right.


    Location:
    Stand near any of the 3 supported banks (Burthrope, Soul Wars, Castle Wars).

    Progress:
    Quote Originally Posted by Taikei no Yuurei
    ============================>
    =TnY Superheat Progress
    =Time: 38 Minutes and 27 Seconds
    =Superheating mith bars
    =Smithing XP: 9300
    =Magic XP: 16430
    =Smithing XP/hr: 14511
    =Magic XP/hr: 25636
    =Ore/Runes Consumed: 310
    ============================>
    ============================>
    =TnY Superheat Progress
    =Time: 1 Hours, 5 Minutes and 37 Seconds
    =Superheating mith bars
    =Smithing XP: 13500
    =Magic XP: 23850
    =Smithing XP/hr: 12344
    =Magic XP/hr: 21808
    =Ore Consumed: 450
    ============================>
    Known Bugs, Future Updates, and Changes:
    Known Bugs:
    Occasionally won't hit the play button when logging in. Seems to be an issue with SMART.
    Sometimes doesn't withdraw or withdraws multiple times, failsafes present to correct either occurrence, though occasionally something slips past. Can cause a miscount of total bars smelted, but doesn't crash the script.
    Lag can cause problems with casting, failsafes present for most levels of lag.
    Superheats only in full inventories, which may cause you to overshoot your goal, or not quite reach it as not having enough raw materials may cause the last inventory not to be superheated.
    Does not recognize when it tries superheating something besides ore (or the wrong ore), which may appear a bit botty as it tries to superheat an inventory full of bars or cabbage. Rarely happens thanks to failsafes.
    Not having nature runes in your inventory leads to an infinite loop.
    Does not properly detect what items are being withdrawn, and will try to withdraw and superheat anything, leading to a very botty looking case of trying to superheat coal or other items over and over again.

    Planned Updates:
    Implement use of a coal bag. Already prepped, need a coal bag to setup proper banking and test.
    Some more anti-ban procedures such as taking an afk break every so often
    Easier adjustability of lag compensation
    Ability to re-log a person every so often to prevent the game crashing at 6 hours, possibly part of the afk break.
    Possible addition of bronze if requested
    Possible addition of more bank options.

    Version History:
    Code:
    V0.7:
    -Initial Public Release
    Additional Info:
    This is my first code for RuneScape and my first code in pascal. Took me a total of about 12 hours to learn the language, code, and debug, 5 hours to test, and an hour to post. Started yesterday morning.

    I decided to make a superheating code because it trains both magic and smithing while making a small profit, and the only superheater I could find crashed very often for me. I also thought it would be a good first project for me. It requires a fair bit of complexity since I have to bank, pull different amounts of different things out of the bank, cast a spell on multiple spots, etc. without having to delve into the really complex things like pathfinding.

    Please feel free to leave comments, proggies, suggestions and such.
    Last edited by Taikei no Yuurei; 03-12-2012 at 04:33 PM.

  2. #2
    Join Date
    Nov 2011
    Location
    MA
    Posts
    545
    Mentioned
    3 Post(s)
    Quoted
    10 Post(s)

    Default

    This looks like a very nice release. Great work for your first script! TPAs and Bitmaps already

  3. #3
    Join Date
    Mar 2012
    Location
    North Carolina, USA
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes, the TPA sadly doesn't work though, and I couldn't find much of anything about capturing text, so it is something that I plan on working on in future releases, though I have so many other failsafes it doesn't come up too often

    But thank you very much for the praise. I'd also like to thank you since your Superheater script was the one that inspired me to make mine. Yours crashed alot for me for some reason x.x Think it has something to do with my computer being kinda laggy when running SMART.
    Last edited by Taikei no Yuurei; 03-12-2012 at 12:58 AM.

  4. #4
    Join Date
    Aug 2006
    Location
    USA
    Posts
    354
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nice release your learning quick already

  5. #5
    Join Date
    Mar 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    so only that locations? so f2p cant use it :/
    Last edited by vivaine; 03-12-2012 at 11:38 AM.

  6. #6
    Join Date
    Mar 2012
    Location
    North Carolina, USA
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks rice. I already knew programming basics from Java and C++, but there is still alot of RS specific stuff to learn.

    @vivaine- Unfortenately yes, those are the only three locations it works at currently. I tried making my own bank finding function, but it never worked properly, so I had to use premade bank find functions. The only one I found that worked consistently was the one that only supported castle wars, soul wars, and burthrope banks.

    If you'd like, you can change the FindMyBank procedure to use OpenBank('vwb',true,true) to try and use the varrock west bank for example, but I didn't get a very high rate of success with that function finding the bank for me when I tested it.
    Last edited by Taikei no Yuurei; 03-12-2012 at 02:51 PM.

  7. #7
    Join Date
    Mar 2012
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just a suggestion instead putting 18 for coal when smelting steels make it click "all" would save some time ??

    just a suggestion

  8. #8
    Join Date
    Dec 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The first superheat script of 2 or 3 I tried to work for me first go...congratz.

    steel bars in burthrope ftw

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
  •