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

Thread: Inc's Smelter

  1. #1
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default Inc's Smelter



    Current Version: 1.2.1
    STATUS: SCRIPT REMOVED TEMPORARILY - READ LAST POST


    This thread was last updated on 4th Dec, 2014.

    Known Bugs & Issues


    • Script will sometimes rotate too far while standing at the furnace
    • Walk failsafe doesn't appear to work correctly


    TODO List


    • Everything that will be included in 2.0


    Setup Instructions
    IMPORTANT: Failure to follow these instructions will result in a PEBCAK error!


    1. Ensure that you have properly installed and setup Simba for RS3
    2. Check that Simba is using Lape (in Simba, Script > Interpreter > Lape)
    3. Check that your Display Mode is set to OpenGL OR DirectX (in RuneScape, Settings > Graphics > Custom > OpenGL/DirectX)
    4. Set bank preset with (ONLY) the amount of ore required for one pack of bars
    5. Empty the action bar
    6. Remove ALL UI from the main screen and move the exp tracker to the chat box (as seen in the spoiler below *)
    7. Download and run the attached updater script
    8. Download Inc_Lude.simba and place it in the newly created Includes/Inc_Lude/ folder
    9. Open the newly downloaded script (IncsSmelter_x.x)
    10. Hit run, fill out the form, and click start
    11. Do something productive with your life while the game is automated
    12. Post any progress reports, bugs, and suggestions!


    * Exp tracker in chat box:



    Ore Number Chart:
    Simba Code:
    {¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|
    |        PRIMARY NUMBERS        |    COAL NUMBERS   |
    |-------------------------------|-------------------|
    |  Bronze - 14  Steel      - 9  |  Steel      - 18  |
    |  Iron   - 14  Mithril    - 5  |  Mithril    - 20  |
    |  Silver - 28  Adamantite - 4  |  Adamantite - 24  |
    |  Gold   - 28  Runite     - 3  |  Runite     - 24  |
    |_______________________________|___________________}


    Progress Reports


    Progress Reports

    Progress Report:
    By Incurable - 22nd Nov, 2014
    NOTE: Issue with recoveries debugged, should be fixed in 1.3 :D
     ??????????????????????????????????
     ?   Inc's Lumby Smelter v1.21    ?
     ??????????????????????????????????
     ? Bar Type      - Steel          ?
     ? Loads done    - 449            ?
     ? Smelted       - 4041           ?
     ? Smelted/hr    - 539            ?
     ? Profit        - 876897         ?
     ? Profit/hr     - 116859         ?
     ? Experience    - 1354           ?
     ? Experience/hr - 180            ?
     ? Recoveries    - 62             ?
     ? Breaks Taken  - 3              ?
     ? Break Time    - 56m 00s        ?
     ? Total Time    - 07h 30m 13s    ?
     ??????????????????????????????????


    By Stopkiller - 20th Nov, 2014


    By Stopkiller - 25th Nov, 2014



    Change Log


    Code:
    Version 1.2.1
    - Fixed an issue where findFurnace() would return false despite being successful
    
    Version 1.2
    - Fixed an issue with the proggy failing to print the total break time
    - Fixed an issue where the profit/hr calculation would be incorrect after an uncertain period of time
    - Added a workaround for the screen height lowering over time (Jagex anti-bot?)
    - Added "Bar Type" to the progress report
    - Added debugging to the break() calls in MainLoop() in an attempt to figure out what the shit is going on
    
    Version 1.1
    - Fixed an issue where the BreakHandler would break for milliseconds at a time, not minutes (thanks 3Garrett3)
    - Added an optional "world" setting
    Credit


    • <3 @3Garrett3 - A hell of a lot of script testing and feedback
    • <3 @slacky - Script feedback and function help
    • <3 Coh3n - Thread layout
    • <3 Everyone else who helped me with small bugs and ways to do what I needed


    NOTE: You DO need to download Inc_Lude.simba and place it in Includes/Inc_Lude/. You do NOT need to download the map. If the map does not download for some reason when you run the updater, download it manually instead.

    Map:

    Last edited by Incurable; 12-04-2014 at 06:21 AM. Reason: Temporary removal of script, see latest post for details.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  2. #2
    Join Date
    Nov 2014
    Posts
    104
    Mentioned
    12 Post(s)
    Quoted
    59 Post(s)

    Default

    Congrats on release, looking forward to using it.. So, do you apply for members now

  3. #3
    Join Date
    Sep 2014
    Posts
    36
    Mentioned
    2 Post(s)
    Quoted
    21 Post(s)

    Default

    Yay! Gratz

    It seems to go on break for "0.00065 minutes" or so after every load, it logs out logs back in and home teles to lumby.
    Last edited by stopkiller; 11-19-2014 at 08:03 AM.

  4. #4
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by stopkiller View Post
    Yay! Gratz

    It seems to go on break for "0.00065 minutes" or so after every load, it logs out logs back in and home teles to lumby.
    That's... incredibly weird. o.O

    I must have done something to break breaking before I uploaded it. I'll fix it tonight, thanks for the report!



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  5. #5
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

  6. #6
    Join Date
    Apr 2012
    Posts
    157
    Mentioned
    10 Post(s)
    Quoted
    57 Post(s)

    Default

    Congratulations on the release!

  7. #7
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Congrats on the release!

  8. #8
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by stopkiller View Post
    Yay! Gratz

    It seems to go on break for "0.00065 minutes" or so after every load, it logs out logs back in and home teles to lumby.
    Should be fixed, run the updater again and let me know!



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  9. #9
    Join Date
    Sep 2014
    Posts
    36
    Mentioned
    2 Post(s)
    Quoted
    21 Post(s)

    Default

    Seems fixed I'm gonna run it for 14+ hours while I'm at work so I'll let you know with a proggy :P

  10. #10
    Join Date
    Sep 2014
    Posts
    36
    Mentioned
    2 Post(s)
    Quoted
    21 Post(s)

  11. #11
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by stopkiller View Post
    Thank you for the report, it would seem that I've got some fixing to do... 22 recoveries, a negative prof/hr, and no break time printed. o.O

    EDIT: Did you stop it manually or did it finish successfully? Also, what ore did you smelt? It looks like steel judging by the report.

    Finally, I've just realised that I didn't explain how to fill out the form properly in my OP, have you been following the instructions in the script?

    Thanks.
    Last edited by Incurable; 11-20-2014 at 01:48 PM.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  12. #12
    Join Date
    Sep 2014
    Posts
    36
    Mentioned
    2 Post(s)
    Quoted
    21 Post(s)

    Default

    Actually I was smelting Iron, using rings of forging. I told it to make 10,000 bars and it made almost 10,000. Yeah it stopped itself, I didn't manually stop it. It works, it just likes to tele to lumby lodestone a lot :P

    I followed all instructions, only one I didn't follow is I put bars per pack to 28 since I was smelting iron bars with rings of forging.

  13. #13
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by stopkiller View Post
    Actually I was smelting Iron, using rings of forging. I told it to make 10,000 bars and it made almost 10,000. Yeah it stopped itself, I didn't manually stop it. It works, it just likes to tele to lumby lodestone a lot :P

    I followed all instructions, only one I didn't follow is I put bars per pack to 28 since I was smelting iron bars with rings of forging.
    That's fine, bars per pack is used to increment the number of bars that have been smelted and to accurately reflect that in the progress report (as well as to end the script when the desired amount of bars is done). The reason that I have the suggested number at 14 is because iron has a 50% fail rate at level 15, so it was just a quick estimate for the competition. I'm changing all of those things in future versions. So with that said, 28 is what you were supposed to do, and I'm glad it worked.

    Version 1.2 will be up in an hour or two and it will fix a few bugs and add debugging to the main loop so I can see what's causing it to recover. Version 1.3 will be up later tonight and will include an accurate bar counter (including iron bars) without the need to put in how many bars you smelt per pack, among other things.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  14. #14
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Version 1.2 is out, change log:

    Code:
    Version 1.2
    - Fixed an issue with the proggy failing to print the total break time
    - Fixed an issue where the profit/hr calculation would be incorrect after an uncertain period of time
    - Added a workaround for the screen height lowering over time (Jagex anti-bot?)
    - Added "Bar Type" to the progress report
    - Added debugging to the break() calls in MainLoop() in an attempt to figure out what the shit is going on
    IMPORTANT: Follow these steps to get the latest version. This only has to be done once (to update from 1.0 or 1.1 to 1.2, this will not be required for 1.2 to 1.3 and onwards for the foreseeable future):

    1. Delete Inc_Lude.simba, IncsSmelter_updater.simba, and IncsSmelter_1.x.simba
    2. Download the NEW version if IncsSmelter_updater.simba from the OP
    3. RUN THE UPDATER BEFORE PROCEEDING TO STEP 4
    4. Download the new version of Inc_Lude.simba from the OP and place it in Includes/Inc_Lude - If you do not also have a folder named "logs" inside the Inc_Lude folder, either you or myself have done something wrong... please let me know if the updater did not create that folder!


    If you follow those steps then you will have 1.2 and the dreaded PEBCAK error will have been avoided.

    Let me know if this fixes everything!



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  15. #15
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by Incurable View Post
    Version 1.2 is out, change log:

    Code:
    Version 1.2
    - Fixed an issue with the proggy failing to print the total break time
    - Fixed an issue where the profit/hr calculation would be incorrect after an uncertain period of time
    - Added a workaround for the screen height lowering over time (Jagex anti-bot?)
    - Added "Bar Type" to the progress report
    - Added debugging to the break() calls in MainLoop() in an attempt to figure out what the shit is going on
    IMPORTANT: Follow these steps to get the latest version. This only has to be done once (to update from 1.0 or 1.1 to 1.2, this will not be required for 1.2 to 1.3 and onwards for the foreseeable future):

    1. Delete Inc_Lude.simba, IncsSmelter_updater.simba, and IncsSmelter_1.x.simba
    2. Download the NEW version if IncsSmelter_updater.simba from the OP
    3. RUN THE UPDATER BEFORE PROCEEDING TO STEP 4
    4. Download the new version of Inc_Lude.simba from the OP and place it in Includes/Inc_Lude - If you do not also have a folder named "logs" inside the Inc_Lude folder, either you or myself have done something wrong... please let me know if the updater did not create that folder!


    If you follow those steps then you will have 1.2 and the dreaded PEBCAK error will have been avoided.

    Let me know if this fixes everything!
    I would suggest you make the update steps a bit less complex, a one step update would be much more convenient, I personally would never bother.
    There used to be something meaningful here.

  16. #16
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by Frement View Post
    I would suggest you make the update steps a bit less complex, a one step update would be much more convenient, I personally would never bother.
    This only needs to be once, I made a bunch of changes today so the updater and include need updating. Tbh though, if someone cbf taking 2 minutes to follow 4 steps then it's their loss, not mine.

    EDIT:

    Quick update to version 1.2.1 (version 1.21 in script + version.txt, an unintentional side effect of not wanting to make this 1.3, lol), only one change.

    Code:
    Version 1.2.1
    - Fixed an issue where findFurnace() would return false despite being successful
    To update from 1.2 to 1.2.1, just run the updater again. If you haven't followed the steps from earlier at all and still have version 1.0 or 1.1, follow them, it should automatically download 1.2.1 instead of 1.2.
    Last edited by Incurable; 11-21-2014 at 04:26 PM.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  17. #17
    Join Date
    Sep 2014
    Posts
    36
    Mentioned
    2 Post(s)
    Quoted
    21 Post(s)

    Default

    After smelting a good 15k iron bars, I took a look through the debugging info in simba, it seems that almost all of the recoveries were caused by
    "ERROR: Failed to find enough good bank chest edges
    TRSBankscreen.__openChest(): result = false
    TRSBankscreen.__openChest()"

    The rest were caused by failing to find the furnace but I didnt update to 1.2.1 before I ran this so.
    Here is a link to imgur album
    http://imgur.com/a/S2nFn

    the ones after the proggy were some ones I picked from your logs folder, the first one is fail to find chest, the second one is fail to find furnace

  18. #18
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by stopkiller View Post
    After smelting a good 15k iron bars, I took a look through the debugging info in simba, it seems that almost all of the recoveries were caused by
    "ERROR: Failed to find enough good bank chest edges
    TRSBankscreen.__openChest(): result = false
    TRSBankscreen.__openChest()"

    The rest were caused by failing to find the furnace but I didnt update to 1.2.1 before I ran this so.
    Here is a link to imgur album
    http://imgur.com/a/S2nFn

    the ones after the proggy were some ones I picked from your logs folder, the first one is fail to find chest, the second one is fail to find furnace
    @Incurable, This seems like exactly the problem you thought it was. The flag is still there in one of the pictures on the way to the furnace, so the fix you thought of should work for that. The other one (not finding bank) may be due to the angle not being proper? You'd have to look a little deeper into that one I think.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

  19. #19
    Join Date
    Sep 2014
    Posts
    36
    Mentioned
    2 Post(s)
    Quoted
    21 Post(s)

    Default


  20. #20
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by stopkiller View Post
    Nice proggy!

    That's a lot of recoveries, but 40 in 18 hours isn't as bad as it could be. I'm 99% sure that I know what's causing useBank() to fail, and findFurnace() shouldn't be failing any more. Can you do me a favour and check Inc_Lude/logs for the screenshots from that run and estimate how many of them are for useBank(), how many are for findFurnace(), and whether there's any others? If you could post a couple of the weird ones that would be good too (eg, useBank() failing while standing at the chest).

    Thanks mate, with your help I'll have it fixed and release 1.3 tomorrow!

    PS: Please don't get banned, my scripts are by no means perfect and an 18 hour run is huge. >.<



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  21. #21
    Join Date
    Sep 2014
    Posts
    36
    Mentioned
    2 Post(s)
    Quoted
    21 Post(s)

    Default









    The error in the images is listed as "inc_sm_error_walkPath_BankToFurn"

  22. #22
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by stopkiller View Post
    -snip-
    Sorry I didn't see this until now, if you could quote or mention me in your posts then I'll get a notification for it and notice it straight away. >.<

    Anyway, I really dislike the frequency of those screenshots based on the times, but thank you so much for posting so much detail. I'll fix it in 1.3 tomorrow, hopefully. In the mean time, please be careful about using this script, it's obviously stable enough to run for hours, but only because it has a solid recovery system built into it that allows it to recover so often.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  23. #23
    Join Date
    Oct 2014
    Location
    Europe
    Posts
    98
    Mentioned
    4 Post(s)
    Quoted
    55 Post(s)

    Default

    I tried it with the original client, didn't work.

    Code:
    ---- ERROR: Failed to find enough good bank chest edges
    -- TRSBankscreen.__openChest(): result = false
    ================================================
    DEBUG: REPORT - useBank() failed
    DEBUG: REPORT - Saving a client screenshot to "C:\Simba\Includes\Inc_Lude\logs"
    ---- Saving screenshot: inc_sm_error_usebank.png
    DEBUG: REPORT - Screenshot saved continuing...
    ================================================
    Is the SRL chest finder function outdated maybe?

  24. #24
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by Torol View Post
    I tried it with the original client, didn't work.

    Code:
    ---- ERROR: Failed to find enough good bank chest edges
    -- TRSBankscreen.__openChest(): result = false
    ================================================
    DEBUG: REPORT - useBank() failed
    DEBUG: REPORT - Saving a client screenshot to "C:\Simba\Includes\Inc_Lude\logs"
    ---- Saving screenshot: inc_sm_error_usebank.png
    DEBUG: REPORT - Screenshot saved continuing...
    ================================================
    Is the SRL chest finder function outdated maybe?
    What do you mean by "the original client"? Also, check the screenshot that it saved, if the bank chest isn't visible then wait for version 1.3 (writing it now, will release tomorrow), else make sure that you've got the latest version of SRL (at the top of Simba, SRL > Check for Update). Ashaman88 made improvements to it a week ago and I haven't had a single issue with it since.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  25. #25
    Join Date
    Oct 2014
    Location
    Europe
    Posts
    98
    Mentioned
    4 Post(s)
    Quoted
    55 Post(s)

    Default

    Quote Originally Posted by Incurable View Post
    What do you mean by "the original client"? Also, check the screenshot that it saved, if the bank chest isn't visible then wait for version 1.3 (writing it now, will release tomorrow), else make sure that you've got the latest version of SRL (at the top of Simba, SRL > Check for Update). Ashaman88 made improvements to it a week ago and I haven't had a single issue with it since.
    I just commented out the smart-related lines (that should not cause any problems, should it?)

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)

Posting Permissions

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