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!
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!
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.
Thanks
The proggy's I've posted in the thread were all below 50 mining, so fairly slow at getting coal.
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.
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
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
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.
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.
SPS Walking worked for me. Below is what I used. I looped the running for around 3-5 mins and the walking works perfectly.
Give it a shot and see how it does.Code:SPS_Setup(DWARVEN_MINE,['0_1']); Path:= [Point(85, 609), Point(130, 609), Point(165, 609)];
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
Seems like a pro script!
Made by P1ng
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.
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)
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.
script is a little bit slow now when it needs to click on other ore.
But it works fine!
Thank you Meth !
Nice, will test it soon
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.
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)