1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Prime Smelting [Deleted]

Discussion in 'Bot Support & Feedback' started by Party, Nov 30, 2016.

Thread Status:
Not open for further replies.
  1. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
  2. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    Thank you once again for the awesome bot release :) Here are the results of some testing, all done OSRS/edgeville/with goldsmith gauntlets/with all needed items in same bank tab

    Bug 1:
    Settings: Method - Jewellery
    Quality - Ruby
    Type - Bracelet

    Description of bug: After withdrawing materials, it will hover over gold bars while still in the bank interface indefinitely. It is trying to use gold bars on the furance, but this can't be done until the bank is closed. It is looking for a "use" option on the bar, which is not present when bank.isOpen(). In the logs below, I manually closed the bank to allow it to continue, and it worked great.

    Ease of replication: It happens every time.

    Code (Text):
    1. java.util.concurrent.ExecutionException: java.lang.NullPointerException
    2.     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    3.     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    4.     at bot.Bot$81.initialize(h:223)
    5.     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    6.     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    7.     at bot.Bot$32.initialize(ia:2)
    8.     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    9.     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    10.     at bot.Bot$20.botInterfaceProperty(p:51)
    11.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    12.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    13.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    14.     at java.lang.Thread.run(Thread.java:745)
    15. Caused by: java.lang.NullPointerException
    16.     at bot.Bot$81.false(h:152)
    17.     ... 4 more
    18. 00:00:00 - Reading data from shared storage
    19. Took 45ms to load UI.
    20. 00:00:09 - Withdrew: Ruby x13
    21. 00:00:11 - Withdrew: Gold bar x13
    22. 00:00:32 - Selected Ruby bracelet
    23. 00:00:34 - Making Ruby bracelet
    24. 00:00:35 - Stored crafting.png in local storage directory
    25. Exception caught: java.lang.NullPointerException
    26. -1
    27. -1
    28. -1
    29. -1
    30. -1
    31. -1
    32. -1
    33. -1
    34. -1
    35. -1
    36. -1
    37. -1
    38. -1
    39. -1
    40. -1
    41. -1
    42. -1
    43. -1
    44. -1
    45. -1
    46. -1
    47. -1
    48. -1
    49. -1
    50. -1
    51. -1
    52. 00:00:58 - Walking to furnace
    53. 00:01:05 - Opened bank
    54. 00:01:07 - Deposited: Ruby bracelet
    55. -1
    56. -1
    57. -1
    58. -1
    59. -1
    60. -1
    61. -1
    62. -1
    63. -1
    64. -1
    65. -1
    66. -1
    67. -1
    68. 00:01:10 - Withdrew: Gold bar x13
    69. 00:01:14 - Withdrew: Ruby x13
    70. 00:01:24 - Selected Ruby bracelet
    71. 00:01:25 - Making Ruby bracelet
    72. -1
    73. -1
    74. -1
    75. -1
    76. -1
    77. -1
    78. -1
    79. -1
    80. -1
    81. -1
    82. 00:01:34 - Thanks for using Prime Smelting!
    83. java.util.concurrent.ExecutionException: java.lang.NullPointerException
    84.     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    85.     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    86.     at bot.Bot$23.initialize(t:170)
    87.     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    88.     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    89.     at bot.Bot$81.false(h:216)
    90.     at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    91.     at java.security.AccessController.doPrivileged(Native Method)
    92.     at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    93.     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    94.     at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    95.     at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    96.     at java.lang.Thread.run(Thread.java:745)
    97. Caused by: java.lang.NullPointerException
    98.     at bot.Bot$23.false(t:51)
    99.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    100.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    101.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    102.     ... 1 more
    103. Finished with 1 exceptions.
    104.  
    Bug 2:
    This also occurred during steel bars, but was first noticed during gold bars.
    Settings: Method - Smelt bars
    Bar type - Gold
    Description of bug: When smelting gold it will (seemingly randomly) click on the furance and start re-smelting in the middle of an inventory. Sometimes it doesn't happen for 4 invs, sometimes it happens 3x in one inv. The bot does function successfully despite this bug
    Ease of replication: It has occurred multiple times over multiple instances.

    I started this bot in the middle of smelting an inventory, the inv finished at 56sec and the bot took over.
    Logs:
    Code (Text):
    1. [Debug] RuneMate Version: 2.4.2
    2. [Debug] Java Version: 8u92 x86 (Oracle Corporation)
    3. [Debug] Operating System: Windows 10 x64
    4. Dec 01, 2016 12:43:24 AM java.util.prefs.WindowsPreferences <init>
    5. WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
    6. java.util.concurrent.ExecutionException: java.lang.NullPointerException
    7.     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    8.     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    9.     at bot.Bot$81.initialize(h:223)
    10.     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    11.     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    12.     at bot.Bot$32.initialize(ia:2)
    13.     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    14.     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    15.     at bot.Bot$20.botInterfaceProperty(p:51)
    16.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    17.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    18.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    19.     at java.lang.Thread.run(Thread.java:745)
    20. Caused by: java.lang.NullPointerException
    21.     at bot.Bot$81.false(h:152)
    22.     ... 4 more
    23. 00:00:00 - Reading data from shared storage
    24. Took 79ms to load UI.
    25. -1
    26. 00:00:01 - Retrieving image from local storage directory
    27. Exception caught: java.lang.NullPointerException
    28. -1
    29. -1
    30. -1
    31. -1
    32. -1
    33. -1
    34. -1
    35. -1
    36. -1
    37. -1
    38. -1
    39. -1
    40. -1
    41. -1
    42. -1
    43. -1
    44. -1
    45. -1
    46. 00:00:56 - Walking to furnace
    47. 00:01:02 - Opened bank
    48. 00:01:11 - Deposited: Gold bar
    49. -1
    50. -1
    51. -1
    52. -1
    53. -1
    54. -1
    55. -1
    56. -1
    57. -1
    58. -1
    59. -1
    60. -1
    61. -1
    62. -1
    63. -1
    64. -1
    65. -1
    66. -1
    67. -1
    68. -1
    69. -1
    70. -1
    71. -1
    72. -1
    73. -1
    74. -1
    75. -1
    76. -1
    77. 00:01:15 - Withdrew: Gold ore x28
    78. 00:01:23 - Opening furnace options
    79. 00:01:26 - Selecting Gold
    80. 00:01:27 - Smelting Gold
    81. -1
    82. -1
    83. -1
    84. -1
    85. -1
    86. -1
    87. -1
    88. -1
    89. -1
    90. -1
    91. -1
    92. -1
    93. -1
    94. -1
    95. -1
    96. 00:02:14 - Opening furnace options
    97. 00:02:18 - Selecting Gold
    98. 00:02:19 - Smelting Gold
    99. -1
    100. -1
    101. -1
    102. -1
    103. -1
    104. -1
    105. 00:02:39 - Opening furnace options
    106. 00:02:42 - Selecting Gold
    107. 00:02:43 - Smelting Gold
    108. -1
    109. -1
    110. -1
    111. -1
    112. 00:02:55 - Thanks for using Prime Smelting!
    113. java.util.concurrent.ExecutionException: java.lang.NullPointerException
    114.     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    115.     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    116.     at bot.Bot$23.initialize(t:170)
    117.     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    118.     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    119.     at bot.Bot$81.false(h:216)
    120.     at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    121.     at java.security.AccessController.doPrivileged(Native Method)
    122.     at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    123.     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    124.     at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    125.     at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    126.     at java.lang.Thread.run(Thread.java:745)
    127. Caused by: java.lang.NullPointerException
    128.     at bot.Bot$23.false(t:51)
    129.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    130.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    131.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    132.     ... 1 more
    133. Finished with 1 exceptions.
    134.  
    Code (Text):
    1. java.util.concurrent.ExecutionException: java.lang.NullPointerException
    2.     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    3.     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    4.     at bot.Bot$81.initialize(h:223)
    5.     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    6.     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    7.     at bot.Bot$32.initialize(ia:2)
    8.     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    9.     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    10.     at bot.Bot$20.botInterfaceProperty(p:51)
    11.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    12.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    13.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    14.     at java.lang.Thread.run(Thread.java:745)
    15. Caused by: java.lang.NullPointerException
    16.     at bot.Bot$81.false(h:152)
    17.     ... 4 more
    18. 00:00:00 - Reading data from shared storage
    19. Took 56ms to load UI.
    20. 00:00:06 - Withdrew: Iron ore x9
    21. 00:00:08 - Withdrew: Coal x18
    22. 00:00:19 - Selecting Steel
    23. 00:00:20 - Smelting Steel
    24. -1
    25. -1
    26. -1
    27. 00:00:23 - Retrieving image from local storage directory
    28. Exception caught: java.lang.NullPointerException
    29. -1
    30. -1
    31. -1
    32. -1
    33. -1
    34. -1
    35. -1
    36. -1
    37. -1
    38. 00:00:35 - Opening furnace options
    39. 00:00:37 - Selecting Steel
    40. 00:00:39 - Smelting Steel
    41. -1
    42. -1
    43. -1
    44. -1
    45. -1
    46. -1
    47. -1
    48. -1
    49. -1
    50. -1
    51. -1
    52. -1
    53. -1
    54. -1
    55. -1
    56. 00:00:54 - Walking to furnace
    57. 00:01:00 - Opened bank
    58. 00:01:05 - Deposited: Steel bar
    59. -1
    60. -1
    61. -1
    62. -1
    63. -1
    64. -1
    65. -1
    66. -1
    67. -1
    68. 00:01:08 - Withdrew: Iron ore x9
    69. 00:01:12 - Withdrew: Coal x18
    70. 00:01:19 - Opening furnace options
    71. 00:01:22 - Selecting Steel
    72. 00:01:24 - Smelting Steel
    73. -1
    74. -1
    75. -1
    76. -1
    77. -1
    78. -1
    79. -1
    80. -1
    81. -1
    82. -1
    83. -1
    84. -1
    85. -1
    86. -1
    87. -1
    88. -1
    89. -1
    90. -1
    91. -1
    92. -1
    93. -1
    94. -1
    95. -1
    96. -1
    97. 00:01:50 - Opening furnace options
    98. 00:01:51 - Selecting Steel
    99. 00:01:53 - Smelting Steel
    100. -1
    101. -1
    102. -1
    103. 00:01:56 - Walking to furnace
    104. 00:02:02 - Opened bank
    105. -1
    106. -1
    107. -1
    108. -1
    109. -1
    110. -1
    111. -1
    112. -1
    113. -1
    114. 00:02:06 - Deposited: Steel bar
    115. 00:02:10 - Withdrew: Coal x18
    116. 00:02:13 - Withdrew: Iron ore x9
    117. 00:02:22 - Opening furnace options
    118. 00:02:24 - Selecting Steel
    119. 00:02:25 - Smelting Steel
    120. -1
    121. -1
    122. -1
    123. -1
    124. -1
    125. -1
    126. -1
    127. -1
    128. -1
    129. -1
    130. -1
    131. -1
    132. -1
    133. -1
    134. -1
    135. -1
    136. -1
    137. -1
    138. -1
    139. -1
    140. -1
    141. -1
    142. -1
    143. -1
    144. -1
    145. -1
    146. -1
    147. 00:02:52 - Thanks for using Prime Smelting!
    148. java.util.concurrent.ExecutionException: java.lang.NullPointerException
    149.     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    150.     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    151.     at bot.Bot$23.initialize(t:170)
    152.     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    153.     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2425)
    154.     at bot.Bot$81.false(h:216)
    155.     at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    156.     at java.security.AccessController.doPrivileged(Native Method)
    157.     at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    158.     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    159.     at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    160.     at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    161.     at java.lang.Thread.run(Thread.java:745)
    162. Caused by: java.lang.NullPointerException
    163.     at bot.Bot$23.false(t:51)
    164.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    165.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    166.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    167.     ... 1 more
    168. Finished with 1 exceptions.
    169.  

    Small improvement #1: When smelting bars it will withdraw a precise number for each ingredient, such as withdraw-x -> 9 "Iron ore" and then withdraw-x -> 18 "Coal". It could do withdraw all on the second ingredient. This would save a significant amount of time over longer periods, since the one make-x option you need would stay as part of the withdraw menu, and you wouldn't have to type in two values each time you bank.

    Small improvement #2: When smelting < 10 bars, it still selects Smelt-x and enters a value. Smelt-10 could be selected instead to save time.
     
  3. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Thanks for the solid bug reports.
     
  4. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    Thanks for the awesome bots :D
     
  5. sugarrcubee

    Joined:
    Apr 5, 2016
    Messages:
    1
    Likes Received:
    0
    my bot is stuck at the withdrawal option when I am trying to make cannonballs not sure if there is a fix or something
     
  6. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    I broke something, then I fixed it, but the bot pusher is down so I can't deploy the fix yet. Sorry lads.
     
  7. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
  8. Zasuke

    Joined:
    Nov 13, 2016
    Messages:
    29
    Likes Received:
    1
    Thank you for the update and working towards giving us a perfect bot! The withdraw issue is definitely fixed now BUT a new bug has arisen. I am using your bot for crafting jewelry so not sure if this is happening with the other settings. The bug is, once I finish crafting an inventory of anything it will run to the bank but instead of actually depositing and withdrawing a second time it runs across the river to the hut next to the fairy ring and back and just continues to do this non stop. Again thank you but if you could fix this it would be greatly appreciated! :D
     
  9. Snufalufugus

    Joined:
    Aug 23, 2015
    Messages:
    1,961
    Likes Received:
    757
    OSRS/Edgeville/Smelting gold bars

    When running back to the bank, it will click in the bank area to run back. When the path is about 4/5 complete (about to enter bank doorway) the bot often clicks again on the minimap slightly inside of the area where the bankers are, which causes the character to path to outside of the bank (eastern wall). This is because the area the bankers are in is unable to be reached by players, and when clicking to walk in there RS takes you outside the bank instead. It will click back in the bank to go there like it should, but this process creates some spazzy bot-like actions.

    This doesn't happen every time, but it's definitely often enough to be an issue.
     
  10. spvrrow

    Joined:
    Nov 14, 2016
    Messages:
    4
    Likes Received:
    0
    Found a bug in smelting gold amulet (u). The bot tries withdraw more moulds when only one is needed, if it can't find more moulds in the bank it stops. It also withdraws only 13 gold bars instead of a full inventory.
     
  11. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    My bad - forgot that if you're making regular gold jewellery you won't need any, fixed next push.
     
  12. JohnnyChan123

    Joined:
    Oct 15, 2016
    Messages:
    14
    Likes Received:
    3
    Prime Smithing been crashing for me, and the bug this time it says this

    "
    00:00:14 - Withdrew: ^Ammo mould$ x1
    00:00:16 - Bot stopped: Out of: ^Ammo mould$
    Finished with 0 exceptions."

    I don't understand, that bug when I got a ammo mould, It would withdraw the ammo mould, wait 2 seconds then say NO ammo Mould...
     
  13. spvrrow

    Joined:
    Nov 14, 2016
    Messages:
    4
    Likes Received:
    0
    Apparently this is fixed when you have a spare mould in your bank.
     
  14. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Very strange bug, never seen it myself.
     
  15. Geashaw

    Joined:
    Jan 8, 2015
    Messages:
    1,429
    Likes Received:
    252
    Hi @Party , I was wondering whether or not you'd be willing to add the smithing of the armour stuff you make on the anvils. I.e. Steel platebodies.

    Is this much hard? I reckon it won't be added due to the Prime 'smelting' name, but I could always ask :D
     
  16. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Would probably be released as a separate bot.
     
    Geashaw likes this.
  17. Rito.Gaymes

    Joined:
    Nov 30, 2016
    Messages:
    42
    Likes Received:
    1
    I also have this issues, I'm going to re-run the bot with a spare cannon ball mold in the bank.
     
  18. JohnnyChan123

    Joined:
    Oct 15, 2016
    Messages:
    14
    Likes Received:
    3
    I tried it, same problem ....
     
  19. Rito.Gaymes

    Joined:
    Nov 30, 2016
    Messages:
    42
    Likes Received:
    1
    Ahh... you beat me too it.
     
  20. Fireboy 7123

    Joined:
    Jul 27, 2015
    Messages:
    72
    Likes Received:
    9
    As stated above, I have come to the assumption that all moulds are not being recognized. The bracelet mould does not work either.
     
Thread Status:
Not open for further replies.

Share This Page

Loading...