Page 3 of 5 FirstFirst 12345 LastLast
Results 51 to 75 of 123

Thread: AK AIO Smelter

  1. #51
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    Testing again, no errors since I added more DTMs


    Also until those pesky hearts are removed there will be banking errors.
    U use Deposit(2,8, True)?
    try
    Simba Code:
    Deposit(2,28, True)
    then check ExistsItem(i) for 2 to 28 // u write this lol
    Deposit(2,28,1);

    Creds to DannyRS for this wonderful sig!

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

    Default

    Quote Originally Posted by Sjoekeloe View Post
    U use Deposit(2,8, True)?
    try
    Simba Code:
    Deposit(2,28, True)
    then check ExistsItem(i) for 2 to 28 // u write this lol
    Deposit(2,28,1);
    Actually what I use is a bit more complicated that that, here are some examples:
    For things don't use a coalbag:
    Simba Code:
    InvMouse((RandomRange(1, (CountItems('dtm', AnyInvBarDTM, [])))), mouse_Right);

    For things that do:
    Simba Code:
    InvMouse((RandomRange(2, ((CountItems('dtm', AnyInvBarDTM, [])) +1))), mouse_Right);

    I do this so I can randomly choose one of the slots to deposit from, otherwise it would do the same every time.

    This can mess up with those dumb valentines if it happens to move to the spot where the valentine is, so to stop that I'd need to do a quick option check to look for a valentine related option. Deposit(2, 28, true) would have this problem too, but it wouldn't know that it had deposited valentines and not bars

  3. #53
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Just sits there after smelting lol, smelting iron.

    Trying a DTM check
    Last edited by JPHamlett; 02-21-2013 at 10:28 PM.

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

    Default

    Quote Originally Posted by JPHamlett View Post
    Just sits there after smelting lol, smelting iron.

    Trying a DTM check
    Do you have the progress window enabled? (right click the xp button)

    If it is enabled, it's probably the paths messing up.

  5. #55
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Can you help me out, pretty new to scripting, when I get done Smelting, it just stands there, stuck until game logs me out, wont walk to bank.
    [] Smithing XP Earned: 0 Per Hour: 0
    [] Loads: 0 Per Hour: 0
    [] Bars Smelted: 0 Per Hour: 0
    [] Total Time: 1 min 21 sec
    ==============================================
    a
    We found the furnace, TPAs are awesome
    Smelting Mithril

  6. #56
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    BMX your suggestion fixed it


    So far its faster than powerbots scripts p/hr
    Last edited by JPHamlett; 02-22-2013 at 02:25 AM.

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

    Default

    Quote Originally Posted by Ghoztflame View Post
    Can you help me out, pretty new to scripting, when I get done Smelting, it just stands there, stuck until game logs me out, wont walk to bank.
    [] Smithing XP Earned: 0 Per Hour: 0
    [] Loads: 0 Per Hour: 0
    [] Bars Smelted: 0 Per Hour: 0
    [] Total Time: 1 min 21 sec
    ==============================================
    a
    We found the furnace, TPAs are awesome
    Smelting Mithril
    Do you have the progress window enabled? ( right click the xp button)

    The paths could also need fixing, although it's worked for me

  8. #58
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    enabled prog window, now it will work for 1-2 trips and either wont find the bank when it gets there or stops halfway between and doesn't find furnace and logs out either way. I have used all your others flawlessly maybe im doing something wrong in setup.

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

    Default

    Quote Originally Posted by Ghoztflame View Post
    enabled prog window, now it will work for 1-2 trips and either wont find the bank when it gets there or stops halfway between and doesn't find furnace and logs out either way. I have used all your others flawlessly maybe im doing something wrong in setup.
    You're probably doing it right, it's the paths I made that arw the problem. I'll post an updated version once I get home

  10. #60
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Code:
    =========[] AIO AK Smelter 1,1[]=========
    [+] By BMWxi [+]                      Status: Walking to Furnace
    ==============================================
    [] Smelting: iron    (12.5 XP Each)
    [] Smithing XP Earned: 49308  Per Hour: 8475
    [] Loads:       197   Per Hour: 33
    [] Bars Smelted:       4109   Per Hour: 706
    [] Total Time: 5 hr 49 min 4 sec
    ==============================================

    Works fine for me

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

    Default

    Quote Originally Posted by JPHamlett View Post
    Code:
    =========[] AIO AK Smelter 1,1[]=========
    [+] By BMWxi [+]                      Status: Walking to Furnace
    ==============================================
    [] Smelting: iron    (12.5 XP Each)
    [] Smithing XP Earned: 49308  Per Hour: 8475
    [] Loads:       197   Per Hour: 33
    [] Bars Smelted:       4109   Per Hour: 706
    [] Total Time: 5 hr 49 min 4 sec
    ==============================================

    Works fine for me
    I works for me too, but a few people say they get stuck in a specific spot to the bank, so I thought the paths could be buggy.

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

    Default

    Update! Added better walking failsafes, the script also banks any Valentine Hearts that you may have received while smelting

    E:Whoops, forgot I was the last poster
    Last edited by Ian; 02-22-2013 at 09:49 PM. Reason: Forgot I was the last poster

  13. #63
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    One thing I've just picked up on, is it possible to make it work from anywhere? e.g. If I start at furnace, it starts from there.
    Mat



    ^^

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

    Default

    Quote Originally Posted by Mat View Post
    One thing I've just picked up on, is it possible to make it work from anywhere? e.g. If I start at furnace, it starts from there.
    Mat
    It could be changed to work like that, yeah. As it is now it needs to start at the bank though.

  15. #65
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    Hey so I fired up the updated version, 1.2beta, and I got this debug message,

    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
    Compiling failed.

    Then I looked in your script and It had $DEFINE SMART8, so I removed the 8, and now we're in business. Oh yeah and I had to turn the coal bag off because I wasn't using a coal bag. The running seems much smoother now, everything seems a little more refined. We'll see how good a proggie I get out of this run. Thanks for the update BMW.

    P.S. I like the debug message that pops up when you find hearts lol

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

    Default

    Quote Originally Posted by Kampf Gewehr View Post
    Hey so I fired up the updated version, 1.2beta, and I got this debug message,

    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
    Compiling failed.

    Then I looked in your script and It had $DEFINE SMART8, so I removed the 8, and now we're in business. Oh yeah and I had to turn the coal bag off because I wasn't using a coal bag. The running seems much smoother now, everything seems a little more refined. We'll see how good a proggie I get out of this run. Thanks for the update BMW.

    P.S. I like the debug message that pops up when you find hearts lol
    I'm glad the update works

    Do you have SMART 7.2? If you have SMART 8 (which I highly recommend ) then it should be fine with the 8.

  17. #67
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    I'm pretty sure that I have SMART v8 my friend, but I guess I'll double check. Ran for 22 mins before crapping out at the furnace with an inventory of materials btw. Running attempt 2 currently.

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

    Default

    Quote Originally Posted by Kampf Gewehr View Post
    I'm pretty sure that I have SMART v8 my friend, but I guess I'll double check. Ran for 22 mins before crapping out at the furnace with an inventory of materials btw. Running attempt 2 currently.
    What did the last few lines of the debug say?

  19. #69
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    What did the last few lines of the debug say?
    Found Coal ore in the Secondary ore slot!
    F1a
    F2a
    We found the furnace, TPAs are awesome
    Trying to smelt mithril
    Could not smelt mithril. Terminating
    Successfully executed

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

    Default

    Quote Originally Posted by Kampf Gewehr View Post
    Found Coal ore in the Secondary ore slot!
    F1a
    F2a
    We found the furnace, TPAs are awesome
    Trying to smelt mithril
    Could not smelt mithril. Terminating
    Successfully executed
    Thanks. That means that when it looked for

    Simba Code:
    FindColor(BBx, BBy, 1290732, Bxs, Bys, Bxe, Bye)

    it didn't find it.

    On another script I'm working on I've started using FindColorTolerance right there because I had a problem with that too, I forgot I used it in this too, so I should change that in this one as well.

    I'll update it soon, the color doesn't usually change though

  21. #71
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    Thanks. That means that when it looked for

    Simba Code:
    FindColor(BBx, BBy, 1290732, Bxs, Bys, Bxe, Bye)

    it didn't find it.

    On another script I'm working on I've started using FindColorTolerance right there because I had a problem with that too, I forgot I used it in this too, so I should change that in this one as well.

    I'll update it soon, the color doesn't usually change though
    I also just failed to make it to the furnace, stopped right outside the cooking place just south of the furnace and north of the bank, giving me the debug: We have failed to find the furnace 1 times in a row.
    Trying 9 more times until Termination.
    We have failed to find the furnace 2 times in a row.
    Trying 8 more times until Termination.
    We have failed to find the furnace 3 times in a row.
    Trying 7 more times until Termination.
    We have failed to find the furnace 4 times in a row.
    Trying 6 more times until Termination.
    We have failed to find the furnace 5 times in a row.
    Trying 5 more times until Termination.
    We have failed to find the furnace 6 times in a row.
    Trying 4 more times until Termination.
    We have failed to find the furnace 7 times in a row.
    Trying 3 more times until Termination.
    We have failed to find the furnace 8 times in a row.
    Trying 2 more times until Termination.
    We have failed to find the furnace 9 times in a row.
    Trying 1 more times until Termination.
    We have failed to find the furnace 10 times in a row.
    Trying 0 more times until Termination.
    We have failed to find the furnace 11 times in a row.
    Trying -1 more times until Termination.
    Failed to find the furnace too many times, logging out.
    Successfully executed.
    The following DTMs were not freed: [6]

  22. #72
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    Dang, withdrew Mithril ore right now but not coal? Funny because it says that it found the coal in the secondary ore slot...

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

    Default

    Quote Originally Posted by Kampf Gewehr View Post
    I also just failed to make it to the furnace, stopped right outside the cooking place just south of the furnace and north of the bank, giving me the debug: We have failed to find the furnace 1 times in a row.
    Trying 9 more times until Termination.
    We have failed to find the furnace 2 times in a row.
    Trying 8 more times until Termination.
    We have failed to find the furnace 3 times in a row.
    Trying 7 more times until Termination.
    We have failed to find the furnace 4 times in a row.
    Trying 6 more times until Termination.
    We have failed to find the furnace 5 times in a row.
    Trying 5 more times until Termination.
    We have failed to find the furnace 6 times in a row.
    Trying 4 more times until Termination.
    We have failed to find the furnace 7 times in a row.
    Trying 3 more times until Termination.
    We have failed to find the furnace 8 times in a row.
    Trying 2 more times until Termination.
    We have failed to find the furnace 9 times in a row.
    Trying 1 more times until Termination.
    We have failed to find the furnace 10 times in a row.
    Trying 0 more times until Termination.
    We have failed to find the furnace 11 times in a row.
    Trying -1 more times until Termination.
    Failed to find the furnace too many times, logging out.
    Successfully executed.
    The following DTMs were not freed: [6]
    Darn these sandy places I'll fix that up again soon.
    Quote Originally Posted by Kampf Gewehr View Post
    Dang, withdrew Mithril ore right now but not coal? Funny because it says that it found the coal in the secondary ore slot...
    It looks for the coal ore DTM in the secondary bank slot, so if it finds it it will say it finds it. Are you using a coalbag? If you are it would withdraw 27 coal, put it in the coalbag, withraw the amount of mithril, then fill the rest of of the inv with coal. If you're not using a coalbag, it will withdraw 5 mithril then fill the inv with coal.

    Can you remember which it did? Thanks

  24. #74
    Join Date
    May 2012
    Posts
    70
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    I am not using a coal bag, and I made the script say False next to coal bag. I always take put five mithril and then usually fill the inventory with coal. I was able to rune for like 2-3 hours yesterday, other times I'll make it twenty minutes. It's getting hung up a lot less though so far, your fixes really improved the usability of this script.

  25. #75
    Join Date
    Dec 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I get this error:

    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(281:149): Invalid number of parameters at line 280
    Compiling failed.

Page 3 of 5 FirstFirst 12345 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
  •