Page 3 of 14 FirstFirst 1234513 ... LastLast
Results 51 to 75 of 339

Thread: MethDwarfMiner - A Resource Mine Coal Miner

  1. #51
    Join Date
    Jan 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Looks like a nice script, albeit slow in accordance to your proggy. Will be trying on an account with 83 mining sooner or later, will post my own results! Best of luck!

  2. #52
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    UPDATED TO VERSION 5.4
    Just a minor update since I found out that gems would be dropped regardless of setting (oops..) I've fixed that and made a couple of changes to improve the script overall.

    V5.5 will be fixing the walking properly and any remaining bugs, possibly more failsafes. It should be the last minor update before Version6 (Other ore support)

    Plans for version 6:
    Support for Mithril and Silver, along with an extra option to mine everything (since if you only mine mithril or silver, there's a lot of waiting for ore respawn)
    The way this extra option will work is that the bot will start at mithril, and mine all the ore it can. It will then mine the 3 silver ores and finish by filling the rest of the inventory with coal before banking. By the time it banks, the mithril should've respawned so it can start again.
    No ETA on it at the moment.



    Quote Originally Posted by holyrights View Post
    Looks like a nice script, albeit slow in accordance to your proggy. Will be trying on an account with 83 mining sooner or later, will post my own results! Best of luck!
    Thanks
    The proggy's I've posted in the thread were all below 50 mining, so fairly slow at getting coal.

  3. #53
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Methrend View Post
    Plans for version 6:
    Support for Mithril and Silver, along with an extra option to mine everything (since if you only mine mithril or silver, there's a lot of waiting for ore respawn)
    The way this extra option will work is that the bot will start at mithril, and mine all the ore it can. It will then mine the 3 silver ores and finish by filling the rest of the inventory with coal before banking. By the time it banks, the mithril should've respawned so it can start again.
    No ETA on it at the moment.
    A lazy and fast way to do this is:
    Start at mith, find sparkling rock color -> mine until ore exhausted -> go to coal, mine sparkling color -> repeat

  4. #54
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nosaj.421 View Post
    A lazy and fast way to do this is:
    Start at mith, find sparkling rock color -> mine until ore exhausted -> go to coal, mine sparkling color -> repeat
    I was thinking of doing that, but since I'll have the code checking for individual ore with the other options it'll be as easy as changing the ore variable to silver when it runs out of mithril, to coal when it runs out of silver, and then back to mithril when it banks.



    In other news, 5.5 is being pushed up to version 6 and my plans for version 6 are being pushed to version 7. The reason being, I'm a stickler when it comes to using version numbers correctly and the changes I've made so far are too big to be considered a minor update.

    What's going to be new, I hear you ask? Well, I've completely changed the way it mines ore - it now uses a heavy amount of maths to pick the next ore before it finishes mining the current one, meaning it can click to mine as soon as the player is idle. Makes for much faster mining! (Though I'm still getting the numbers *just* right, gorram trigonometry)

    I'm also refining the walking (yet again) to work a bit better, and to catch issues better too.

    Hopefully I can get it done tonight and upload. No promises though.

  5. #55
    Join Date
    Jan 2012
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There is a problem with the walk,
    when the bot gots a full inv en clicks on the grey place next to that wierd stone and then cant find the other spot to run, it just stand there until it logsout

  6. #56
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Ancient View Post
    There is a problem with the walk,
    when the bot gots a full inv en clicks on the grey place next to that wierd stone and then cant find the other spot to run, it just stand there until it logsout
    Yeah have come across that, it's been fixed in the next version. Until then, you should be able to stop-start the script and it /should/ work. Doesn't occur every time, it's just an issue with walking.

  7. #57
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    About the walk, can you do a bitmap on the mine and then use SPS? I think the method is somewhere along with the tutorials

  8. #58
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The mine technically already has an SPS map, which I attempted before switching to Radial, didn't seem to want to work.

    Radial is working fine now, just needed a bit of tweaking.

  9. #59
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Methrend View Post
    The mine technically already has an SPS map, which I attempted before switching to Radial, didn't seem to want to work.

    Radial is working fine now, just needed a bit of tweaking.
    It didn't walk or what? I think you can mix radial and SPS to make it less buggy.

  10. #60
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nosaj.421 View Post
    It didn't walk or what? I think you can mix radial and SPS to make it less buggy.
    Yeah it just didn't do anything. I might look into it in the future but radial seems okay now (helps that the center part of the dungeon has blue colours)

  11. #61
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Methrend View Post
    Yeah it just didn't do anything. I might look into it in the future but radial seems okay now (helps that the center part of the dungeon has blue colours)
    Sounds interesting. If I got spare time I can look into the SPS walking though

  12. #62
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Version 6 Uploaded!

    For the sake of getting the walking fixes uploaded, I'm releasing this now.

    The new mining method is turned OFF by default, but if you want to use it (i.e. test it for me), then just change the appropriate constant to True.

    Otherwise, it's just general bugfixes and such.

  13. #63
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SPS Walking worked for me. Below is what I used. I looped the running for around 3-5 mins and the walking works perfectly.
    Code:
        SPS_Setup(DWARVEN_MINE,['0_1']);
        Path:= [Point(85, 609), Point(130, 609), Point(165, 609)];
    Give it a shot and see how it does.

  14. #64
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmmm, will give it another try at some point then.

    Also, that awkward moment I spend a long time writing up a new mining method only to find out it's probably slower than the original....though theoretically it should be faster. o.o
    Ah well, something to work on I guess.

    For now I heavily suggest not using the beta mining :P

  15. #65
    Join Date
    Dec 2011
    Location
    Belgium
    Posts
    623
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Seems like a pro script!

    Made by P1ng

  16. #66
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just as a slight preview for Version 6.2:
    Progress Report:
    [Methrends Dwarf Coal Miner 
     Running For: 4 Hours, 58 Minutes and 22 Seconds
     Total Ores Deposited: 1222
     Total Gems Deposited: 10


    That's from leaving it UNATTENDED overnight.
    Going back through individual reports shows that some loads took a lot longer to do, this was probably caused by other players.

    Will be uploading it later.
    Last edited by Methrend; 01-07-2012 at 03:08 AM.

  17. #67
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    What's the exp/h on this?
    If it's 30K+/h at 91 Mining, i'm using it xD

  18. #68
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by S1N View Post
    What's the exp/h on this?
    If it's 30K+/h at 91 Mining, i'm using it xD
    Going by my report above, I'm getting about 12.2k/hr at 55 mining. I assume this would increase quite a bit with 91+, not sure if it'd hit 30k/hr.

    30k/hr would need approx one coal every 5 seconds. (If my maths works out, and including bank time). I guess that's possible. More likely if you find an empty world (I was getting one load every 3 minutes on an empty world, but that went up to one every 6/7 minutes with a second person there)

  19. #69
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Version 6.2 Uploaded!

    Credits to Daniel for helping me with a few things, and for creating a new FindColorsSpiralTolerance function to work with my beta mining method.

    Fixed a fair amount of little bugs and such (mostly related to the beta method)

    I have left it off by default still, as it is more botlike. USE AT OWN RISK.
    The 5 hour proggy above was obtained using this version and Beta Mining.


    Enjoy


    Note: I'm now going to be away from a few hours time until sunday evening (My timezone, GMT+10), so I will look into fixing anything and updating when I get back
    Last edited by Methrend; 01-07-2012 at 03:09 AM.

  20. #70
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Methrend View Post
    Going by my report above, I'm getting about 12.2k/hr at 55 mining. I assume this would increase quite a bit with 91+, not sure if it'd hit 30k/hr.

    30k/hr would need approx one coal every 5 seconds. (If my maths works out, and including bank time). I guess that's possible. More likely if you find an empty world (I was getting one load every 3 minutes on an empty world, but that went up to one every 6/7 minutes with a second person there)
    30k is unrealistic, given coal mining is much slower than iron and powermining iron in f2p is capped around 30k xp/h

  21. #71
    Join Date
    Jan 2012
    Posts
    44
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    script is a little bit slow now when it needs to click on other ore.
    But it works fine!
    Thank you Meth !

  22. #72
    Join Date
    Dec 2011
    Location
    Iceland
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice, will test it soon

  23. #73
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Ancient View Post
    script is a little bit slow now when it needs to click on other ore.
    But it works fine!
    Thank you Meth !
    Using the beta method, or the normal one?

  24. #74
    Join Date
    Dec 2011
    Location
    Australia
    Posts
    174
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quick bit of news, Version 7 (other ore support) is being put on hold for the time being. I've just got a lead developer position in a game studio, so that's chewing up my time...

    I'll be working on it when I get a chance.

  25. #75
    Join Date
    Dec 2011
    Posts
    141
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Great work with the script! There are some things that I think I should inform you. When wearing anything black (I was wearing full black armor) the faster method doesn't seem to work. (It thinks that the armor is coal, and gets stuck)

    Also when I came back to check on the bot, the script had logged me out, while still running. Have you created a break method? (it didn't say anywhere it was taking a break)

    Anyway, if you want to, you can look into those after your game development.

    And thanks.

Page 3 of 14 FirstFirst 1234513 ... 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
  •