Page 4 of 13 FirstFirst ... 23456 ... LastLast
Results 76 to 100 of 306

Thread: [SRL-6] Mayor Resource Dungeon Miner

  1. #76
    Join Date
    Feb 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    OK figured it out. Looks like I forgot to convert min to ms so it was waiting a negative amount of time
    Cheers, and thanks. Will check back in a few hours!

    EDIT: OKAY, first break set to 5 minutes showed as a 300,000 minute break. XDDD

  2. #77
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by lNVlNClBLE View Post
    Cheers, and thanks. Will check back in a few hours!

    EDIT: OKAY, first break set to 5 minutes showed as a 300,000 minute break. XDDD
    300,000ms / 60,000ms = 5 minutes

    Fixed.

  3. #78
    Join Date
    Feb 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    300,000ms / 60,000ms = 5 minutes

    Fixed.
    Mmmmm still getting hang ups during breaks
    Gonna have to call it a night with no breaks xD

    Thanks for all the updates today

    EDIT:

    |=========================================|
    | Mayor Resource Dungeon v7.1 |
    | Time: 5 hr 1 min 17 sec |
    | Ore Mined: 1474 (294 PH) |
    | Coal: 1404 |
    | Loads Done: 70 |
    | Coal bag: False |
    | Break in: 4 hr 59 min 9 sec |
    |=========================================|
    Works well if no breaks XD



    Mmmm now it will not run, which is weird because nothing has changed.

    -- setupSRL()
    ---- Setting up SRL...
    ---- attempting to spawn smart, attempt #: 1
    ---- initSmart():
    ------ Attempting to pair to a previously spawned client
    ------ smartPairToExistingClient():
    -------- Found no free clients to pair to
    ------ smartPairToExistingClient(): result = false
    ------ Attempting to spawn a new client..
    ------ smartCreateClient():
    -------- ERROR: Error while grabbing parameters
    -------- HINT: Make sure you can reach the RS website, and no active firewall is blocking Simba
    ------ Failed to grab parameters
    ---- initSmart()
    (makes 6 attempts of this)

    Followed by..

    ------ Failed to grab parameters
    ---- initSmart()
    ---- FATAL ERROR: smartSetupDrawing(): Unable to setup SMART drawing
    ---- Succesfully freed SMART[0]
    Successfully executed.
    The following bitmaps were not freed: [SMART Debug Image]

  4. #79
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by lNVlNClBLE View Post
    Mmmmm still getting hang ups during breaks
    Gonna have to call it a night with no breaks xD

    Thanks for all the updates today

    EDIT:

    |=========================================|
    | Mayor Resource Dungeon v7.1 |
    | Time: 5 hr 1 min 17 sec |
    | Ore Mined: 1474 (294 PH) |
    | Coal: 1404 |
    | Loads Done: 70 |
    | Coal bag: False |
    | Break in: 4 hr 59 min 9 sec |
    |=========================================|
    Works well if no breaks XD



    Mmmm now it will not run, which is weird because nothing has changed.

    -- setupSRL()
    ---- Setting up SRL...
    ---- attempting to spawn smart, attempt #: 1
    ---- initSmart():
    ------ Attempting to pair to a previously spawned client
    ------ smartPairToExistingClient():
    -------- Found no free clients to pair to
    ------ smartPairToExistingClient(): result = false
    ------ Attempting to spawn a new client..
    ------ smartCreateClient():
    -------- ERROR: Error while grabbing parameters
    -------- HINT: Make sure you can reach the RS website, and no active firewall is blocking Simba
    ------ Failed to grab parameters
    ---- initSmart()
    (makes 6 attempts of this)

    Followed by..

    ------ Failed to grab parameters
    ---- initSmart()
    ---- FATAL ERROR: smartSetupDrawing(): Unable to setup SMART drawing
    ---- Succesfully freed SMART[0]
    Successfully executed.
    The following bitmaps were not freed: [SMART Debug Image]
    That smart params thing was fixed last night (jagex changed some stuff with how their client loads).

    That breaking thing is so weird though. All it does is literally:

    Simba Code:
    begin
      logoutPlayer();
      wait(breakTime);
      loginPlayer();
    end;

    So it must be something with the wait, or logging in is buggy (which I don't think it is as logging in works just fine for everything else). I'm gonna try something else later today.

  5. #80
    Join Date
    Feb 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    That smart params thing was fixed last night (jagex changed some stuff with how their client loads).

    That breaking thing is so weird though. All it does is literally:

    Simba Code:
    begin
      logoutPlayer();
      wait(breakTime);
      loginPlayer();
    end;

    So it must be something with the wait, or logging in is buggy (which I don't think it is as logging in works just fine for everything else). I'm gonna try something else later today.
    Was something else changed this morning as well? Because I tried updating / reinstalling multiple times o:

    Sure, sure. Thanks!

  6. #81
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by lNVlNClBLE View Post
    Was something else changed this morning as well? Because I tried updating / reinstalling multiple times o:

    Sure, sure. Thanks!
    No, you just had to update SRL: https://villavu.com/forum/showthread.php?t=112747

    Progress Report:
    |=========================================|
    |        Mayor Resource Dungeon v7.2      |
    | Time: 10 hr 15 min 19 sec               |
    | Ore Mined: 2064 (201 PH)                |
    | Coal: 1968                              |
    | Loads Done: 96                          |
    | Coal bag: False                         |
    | Break in: 6 min 1 sec                   |
    |=========================================|


    Break for a few minutes every 20 min so that's ~30 breaks with no problems.

  7. #82
    Join Date
    Feb 2011
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    |=========================================|
    | Mayor Resource Dungeon v7.2 |
    | Time: 24 hr 18 min 55 sec |
    | Ore Mined: 7041 (290 PH) |
    | Coal: 6725 |
    | Loads Done: 316 |
    | Coal bag: False |
    | Break in: -42 sec |
    |=========================================|

    Yup, working great now

  8. #83
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by lNVlNClBLE View Post
    |=========================================|
    | Mayor Resource Dungeon v7.2 |
    | Time: 24 hr 18 min 55 sec |
    | Ore Mined: 7041 (290 PH) |
    | Coal: 6725 |
    | Loads Done: 316 |
    | Coal bag: False |
    | Break in: -42 sec |
    |=========================================|

    Yup, working great now
    Nice

    Progress Report by The Mayor:
    |=========================================|
    |        Mayor Resource Dungeon v7.2      |
    | Time: 25 hr 27 min 11 sec               |
    | Ore Mined: 5711 (224 PH)                |
    | Coal: 5480                              |
    | Loads Done: 231                         |
    | Coal bag: True                          |
    | Break in: -54 sec                       |
    |=========================================|
    Taking a 4.87 minute break

  9. #84
    Join Date
    Aug 2013
    Posts
    63
    Mentioned
    0 Post(s)
    Quoted
    27 Post(s)

    Default

    Wanted to try out if there was any bugs in the coding. From my short proggy, I think the bot is working as it should be!

    Code:
    |=========================================|
    |        Mayor Resource Dungeon v7.2      |
    | Time: 13 hr 35 min 46 sec               |
    | Ore Mined: 2221 (163 PH)                |
    | Coal: 2113                              |
    | Loads Done: 108                         |
    | Coal bag: False                         |
    | Break in: 24 min 31 sec                 |
    |=========================================|

  10. #85
    Join Date
    Apr 2015
    Posts
    15
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Ran it over the weekend,

    |=========================================|
    | Mayor Resource Dungeon v7.2 |
    | Time: 27 hr 52 min 30 sec |
    | Ore Mined: 6960 (250 PH) |
    | Coal: 6781 |
    | Loads Done: 179 |
    | Coal bag: True |
    | Break in: 49 min 53 sec |
    |=========================================|

    not to shabby

  11. #86
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by General_Patrick View Post
    Wanted to try out if there was any bugs in the coding. From my short proggy, I think the bot is working as it should be!

    Code:
    |=========================================|
    |        Mayor Resource Dungeon v7.2      |
    | Time: 13 hr 35 min 46 sec               |
    | Ore Mined: 2221 (163 PH)                |
    | Coal: 2113                              |
    | Loads Done: 108                         |
    | Coal bag: False                         |
    | Break in: 24 min 31 sec                 |
    |=========================================|
    Looks good

    Quote Originally Posted by fellere View Post
    Ran it over the weekend,

    Progress Report by fellere:
    |=========================================|
    |        Mayor Resource Dungeon v7.2      |
    | Time: 27 hr 52 min 30 sec               |
    | Ore Mined: 6960 (250 PH)                |
    | Coal: 6781                              |
    | Loads Done: 179                         |
    | Coal bag: True                          |
    | Break in: 49 min 53 sec                 |
    |=========================================|


    not to shabby
    Good to see you using the coal bag

  12. #87
    Join Date
    Apr 2015
    Posts
    57
    Mentioned
    0 Post(s)
    Quoted
    21 Post(s)

    Default

    Haven't saved the last few progress reports, but this has worked beautifully for the several days I've used it.

    |=========================================|
    | Mayor Resource Dungeon v7.2 |
    | Time: 10 hr 12 min 49 sec |
    | Ore Mined: 1979 (194 PH) |
    | Coal: 1883 |
    | Loads Done: 96 |
    | Coal bag: False |
    | Break in: 48 min 20 sec |
    |=========================================|

  13. #88
    Join Date
    Apr 2014
    Location
    United Kingdom
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    Hi thanks for another excellent script.

    Proggy for you.

    | Mayor Resource Dungeon v7.2 |
    | Time: 8 hr 42 min 29 sec |
    | Ore Mined: 2531 (291 PH) |
    | Coal: 2466 |
    | Loads Done: 65 |
    | Coal bag: True |
    | Break in: 4 min 55 sec |
    |=========================================|

    Noticed one issue though, not sure if its an intentional anti-ban or not as I've not hard time to delve fully into the script yet.
    Code:
    if random(8) = 0 then hoverSkill(SKILL_MINING);
    This randomising part of the script can sometimes interfere with the depositing of coal. It will empty an inventory of coal into the deposit box, then as it exits the window, the anti-ban randomiser hovers over the mining skill rather than emptying the full coal bag. It then proceeds to the mining spot to continue mining. Hence why with 65 completed loads I should have 3510 coal, yet it only collected just over 2500 (bank verified as well).

    Apart from that though not had a single issue with the script, the anti-ban procedures are just too good! Thanks again and hope this helps!

    P.s Just realised I posted this in your gem script miner by accident, corrected this and apologies for the confusion!

  14. #89
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by SmallP3n0r View Post
    Haven't saved the last few progress reports, but this has worked beautifully for the several days I've used it.

    |=========================================|
    | Mayor Resource Dungeon v7.2 |
    | Time: 10 hr 12 min 49 sec |
    | Ore Mined: 1979 (194 PH) |
    | Coal: 1883 |
    | Loads Done: 96 |
    | Coal bag: False |
    | Break in: 48 min 20 sec |
    |=========================================|
    Thanks for the report bigP3n0r

    Quote Originally Posted by TheMilkTree View Post
    Hi thanks for another excellent script.

    Proggy for you.

    | Mayor Resource Dungeon v7.2 |
    | Time: 8 hr 42 min 29 sec |
    | Ore Mined: 2531 (291 PH) |
    | Coal: 2466 |
    | Loads Done: 65 |
    | Coal bag: True |
    | Break in: 4 min 55 sec |
    |=========================================|

    Noticed one issue though, not sure if its an intentional anti-ban or not as I've not hard time to delve fully into the script yet.
    Code:
    if random(8) = 0 then hoverSkill(SKILL_MINING);
    This randomising part of the script can sometimes interfere with the depositing of coal. It will empty an inventory of coal into the deposit box, then as it exits the window, the anti-ban randomiser hovers over the mining skill rather than emptying the full coal bag. It then proceeds to the mining spot to continue mining. Hence why with 65 completed loads I should have 3510 coal, yet it only collected just over 2500 (bank verified as well).

    Apart from that though not had a single issue with the script, the anti-ban procedures are just too good! Thanks again and hope this helps!

    P.s Just realised I posted this in your gem script miner by accident, corrected this and apologies for the confusion!
    Hmm. The hoverSkill actually gets called after the depositing method is finished, so it must not be finding the coalbag in the inventory after it closes the depositbox. I have increased the wait time after the backpack becomes unlocked so see if that helps. https://github.com/SRLTheMayor/Mayor...f498f57f398364

  15. #90
    Join Date
    Apr 2014
    Location
    United Kingdom
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    Hmm. The hoverSkill actually gets called after the depositing method is finished, so it must not be finding the coalbag in the inventory after it closes the depositbox. I have increased the wait time after the backpack becomes unlocked so see if that helps. https://github.com/SRLTheMayor/Mayor...f498f57f398364
    Tried it and after checking at least 75% of the loads completed this is the proggy I got.

    |=========================================|
    | Mayor Resource Dungeon v7.3 |
    | Time: 1 hr 2 min 32 sec |
    | Ore Mined: 317 (304 PH) |
    | Coal: 309 |
    | Loads Done: 8 |
    | Coal bag: True |
    | Break in: -25 sec |
    |=========================================|

    However again the number of coal mined doesn't match up with the loads completed. So to make sure I'm not going mad I'll run the script for an hour with an xp tracker so hopefully that will give a more precise indication of the exact number mined.

    The delay you added works brilliantly thank you, might just be a counting error?

    EDIT: Just noticed the first inventory of coal to be placed in the coal bag (I had 1 coal bag and 2 emeralds in my inventory, so that's 25 coal) only registered as 15 coal mined?
    Last edited by TheMilkTree; 05-06-2015 at 02:29 PM.

  16. #91
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by TheMilkTree View Post
    Tried it and after checking at least 75% of the loads completed this is the proggy I got.

    |=========================================|
    | Mayor Resource Dungeon v7.3 |
    | Time: 1 hr 2 min 32 sec |
    | Ore Mined: 317 (304 PH) |
    | Coal: 309 |
    | Loads Done: 8 |
    | Coal bag: True |
    | Break in: -25 sec |
    |=========================================|

    However again the number of coal mined doesn't match up with the loads completed. So to make sure I'm not going mad I'll run the script for an hour with an xp tracker so hopefully that will give a more precise indication of the exact number mined.

    The delay you added works brilliantly thank you, might just be a counting error?

    EDIT: Just noticed the first inventory of coal to be placed in the coal bag (I had 1 coal bag and 2 emeralds in my inventory, so that's 25 coal) only registered as 15 coal mined?
    It doesn't actually count coal per load, it adds +1 coal each time your inventory changes while mining (which means if you get a gem it will add +1 coal too). I could have counted DTMs to make it more accurate but I couldn't be bothered to code it at the time.

  17. #92
    Join Date
    Apr 2014
    Location
    United Kingdom
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    It doesn't actually count coal per load, it adds +1 coal each time your inventory changes while mining (which means if you get a gem it will add +1 coal too). I could have counted DTMs to make it more accurate but I couldn't be bothered to code it at the time.
    Ahh right ok sorry didn't realise! That's fair enough, well that's solved that one. I'll attempt to code the counting of DTM's then for you after my exams are over, it's the least I can do to help :-)

  18. #93
    Join Date
    Mar 2014
    Posts
    205
    Mentioned
    4 Post(s)
    Quoted
    116 Post(s)

    Default

    Used this for a bit; works well (no progress report sadly). The only real "issue" I noticed (and I realize this is more of a restriction of the code than an actual operating issue) is that instead of turning the camera when it can't find any ore (ie. it's on the top half and can't find any), it moves into the middle of the dungeon. Doesn't seem very humanlike, but I don't know whether it would still work effectively with camera turning implemented.

  19. #94
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    300,000ms / 60,000ms = 5 minutes

    Fixed.
    False.
    300,000ms / 60,000ms = 5


    300,000ms / 60,000ms/minute = 5 minutes

    mod edit
    300,000ms / 60,000ms * minute = 5 minutes
    Last edited by masterBB; 05-10-2015 at 07:24 PM.

  20. #95
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  21. #96
    Join Date
    Oct 2007
    Posts
    187
    Mentioned
    7 Post(s)
    Quoted
    61 Post(s)

    Default

    hey mayor is there any chance to be able to mine the mithril deposits during each loop?

  22. #97
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by klamor View Post
    hey mayor is there any chance to be able to mine the mithril deposits during each loop?
    Well I could do fairly easily (the actual rock finding is already coded), I've just been thinking what is the best way to add it. Should it check the mith rocks just after using the deposit box on it's way back to the coal, or should it run and check the mith rocks every X minutes or....?

  23. #98
    Join Date
    Oct 2007
    Posts
    187
    Mentioned
    7 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Well I could do fairly easily (the actual rock finding is already coded), I've just been thinking what is the best way to add it. Should it check the mith rocks just after using the deposit box on it's way back to the coal, or should it run and check the mith rocks every X minutes or....?
    could have an option in player form to mine mithril instead or both where it would mine 5 mithril and the rest coal?

  24. #99
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by klamor View Post
    could have an option in player form to mine mithril instead or both where it would mine 5 mithril and the rest coal?
    It was more how I would actually code it, but it's done now. See OP for details

  25. #100
    Join Date
    Jan 2012
    Posts
    246
    Mentioned
    3 Post(s)
    Quoted
    91 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    It was more how I would actually code it, but it's done now. See OP for details
    Dear Mr. @The Mayor,

    love this script, been using since release, only continues to impress.

    the addition of mining mithril ore is greatly appreciated!

    Would adding the silver veins be difficult?

    Your friend, Theron

Page 4 of 13 FirstFirst ... 23456 ... 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
  •