Nice script! A bit of a late run by me, had to work on a iron 'quild mine' miner to get level 72 mining. I now got tons of ores, the dwarves are a bit stingy with the gold nuggets though.
Progress Report:
[================================]
[ Runtime : 02H 39M 01S ]
[ XP Gained : 88445(33370 / Hr) ]
[ Nuggets : 23(9 / Hr) ]
[ Coal : 495(187 / Hr) ]
[ Gold : 316(119 / Hr) ]
[ Mithril : 308(116 / Hr) ]
[ Adamantite : 105(40 / Hr) ]
[ Runite : 0(0 / Hr) ]
[ Shutdown : 03H 36M 24S ]
[================================]
[ Motherlode Miner BETA 2 ]
[================================]
I had some trouble getting it past the one hour mark though. I encountered the following bugs:
- Looking for colours outside the mainscreen
- Not finding the deposit box on certain worlds
- Sometimes it gets stuck in this loop where it switches very quickly between mining and clearing the ruble. Usually the pickaxe barely hit the vein before the script clicks on the ruble again.
For point 1 I added the following to the GetVeinsInMyZone function (I can't confirm this fixed it, but I did not see the problem again.):
Simba Code:
VeinBox := VeinRect.Bounds;
VeinBox.LimitTo(MainScreen.Bounds);
For point 2 I just hopped worlds. I made some screenshots yesterday but I can't find them.
For point 3 al I got is this log:
Code:
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 0
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching spots in zone
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching zones
[Bot]: Navigating to vein zone
[Bot]: Rotating to angle: 44
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 185
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 0
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching spots in zone
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching zones
[Bot]: Navigating to vein zone
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 86
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 0
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching spots in zone
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching zones
[Bot]: Navigating to vein zone
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 180
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 0
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching spots in zone
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching zones
[Bot]: Navigating to vein zone
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 268
[Bot]: Clearing the rockfall
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 0
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching spots in zone
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching zones
[Bot]: Navigating to vein zone
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 46
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 0
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching spots in zone
[Bot]: Rotating to angle: 0
[Bot]: No veins found nearby, switching zones
[Bot]: Navigating to vein zone
[Bot]: Rotating to angle: 43
[Bot]: Clearing the rockfall
[Bot]: Rotating to angle: 354
[Bot]: Clearing the rockfall
Regardless of those bugs, the script runs really well. And with short runs and keeping a bit of an eye on the script, it can achieve nice result. It even got me to write a simba colour script again.