View Full Version : bumMine.ash - Quickly Mine the Crimbo Area!
bumcheekcity
12-16-2011, 05:38 AM
bumcheekcity's bumMine.ash 0.5
This script will mine the Crimbo mine (number 4) in a relatively mostly intelligent-ish way. Literally click and execute. The script will
1) Attempt to mine any and all sparkling squares.
2) Mine the two squares in the middle on the fourth row down.
3) Attempt to do 1) again.
4) Get a new mine.
5) Repeat.
PLEASE NOTE: 0.5 attempts to find only gems. 0.4 will attempt to find ingots as well. Use whichever you think best.
Download files from the SourceForge (https://sourceforge.net/projects/bumcheekascend/files/) page - this does not require registration!
bumcheekcity
12-16-2011, 05:39 AM
Reserved
bsander
12-16-2011, 10:54 AM
Nice! Seems to work pretty well, though it tried to keep on mining when I ran out of adventures for the day. Here's the log for the last mine:
[2387] Unknown Mine #4
BCC: The mine is dead, long live the mine!
[2387] Unknown Mine #4
BCC: We are trying to clear the mine.
[2387] Unknown Mine #4
BCC: We are mining square 50
[2387] Unknown Mine #4
You lose 125 hit points
[2388] Unknown Mine #4
BCC: We are mining square 42
[2388] Unknown Mine #4
BCC: We are mining square 42
... (a lot more mining square 42 attempts)
[2388] Unknown Mine #4
BCC: We are mining square 42
KoLmafia declares world peace.
The HP loss in square 50 probably beat me up, I wasn't watching but I have 3 advs of Beaten Up remaining right now.
Veracity
12-16-2011, 01:20 PM
I put on the Dwarven War Uniform - which shows me every sparkle in the mine - and cleared a mine by hand.
I then ran this script and it did the following:
18646] The Gummi Mine (in Disguise)
BCC: We are trying to mine the middle squares, to ensure that you get as much out of this mine as possible. If you've already mined the middle squares, don't worry, this will do nothing.
BCC: We are mining square 51
[18646] The Gummi Mine (in Disguise)
BCC: We are mining square 43
[18647] The Gummi Mine (in Disguise)
BCC: We are mining square 35
[18648] The Gummi Mine (in Disguise)
BCC: We are mining square 27
[18648] The Gummi Mine (in Disguise)
BCC: We are mining square 28
[18648] The Gummi Mine (in Disguise)
BCC: We are trying to clear the mine.
[18648] The Gummi Mine (in Disguise)
BCC: The mine is dead, long live the mine!
Which is to say, it spent 2 turns going to look at squares that were guaranteed to be empty.
Until and unless you support the Dwarven War Uniform, I think I'll be clearing mines by hand.
Kamui
12-16-2011, 07:11 PM
That or support for using a potion of detection at the start and grabbing as many free-floating sparkles in the lower sections and then going by whatever sparkles closest to you in the top sections. I've been mining that way since I've not gotten the dwarvish uniform yet (need to get that, just have the mattock right now...) and it works quite well.
bumcheekcity
12-16-2011, 09:28 PM
Until and unless you support the Dwarven War Uniform, I think I'll be clearing mines by hand.
Unfortunately, I don't reckon I'll get the time to do that, it was just a case of knocking a script together as quickly as possible.
bumcheekcity
12-17-2011, 10:28 PM
Version 0.3 released (or will be in a few mins) adding slight optimisations, only getting 12 gummis and a fossil, and adding the ability to tell the script the number of adventures you want it to use.
ricrestoni
12-18-2011, 12:03 AM
Got this lock:
[5313] The Gummi Mine (in Disguise)
You acquire an item: tourmalime
[5314] The Gummi Mine (in Disguise)
BCC: The mine is dead, long live the mine!
[5314] The Gummi Mine (in Disguise)
BCC: We are trying to clear the mine.
[5314] The Gummi Mine (in Disguise)
BCC: The mine is dead, long live the mine!
[5314] The Gummi Mine (in Disguise)
BCC: We are trying to clear the mine.
[5314] The Gummi Mine (in Disguise)
BCC: The mine is dead, long live the mine!
[5314] The Gummi Mine (in Disguise)
BCC: We are trying to clear the mine.
[5314] The Gummi Mine (in Disguise)
BCC: The mine is dead, long live the mine!
Only thing I could notice is that the new cavern had no sparkly in the bottom row. Hope it helps somewhat!
EdFox
12-18-2011, 03:39 PM
I can confirm the same loop (lock, whatever) when the bottom row had no sparkles.
Winterbay
12-18-2011, 04:53 PM
Yep, the script checks for sparklies and if it can't find any it will try to reset the mine. If you haven't started the mine you can't do that.
This version should at least abort if that happens...
shoptroll
12-18-2011, 04:58 PM
I can confirm the same loop (lock, whatever) when the bottom row had no sparkles.
Same here. Was just going to report it...
Here's what the relay browser shows:
5659
bumcheekcity
12-18-2011, 05:23 PM
Shouldn't that be:
if (!contains_text(...
?
Winterbay
12-18-2011, 05:35 PM
No, because if it contains that text we want to abort, if it doesn't then we are clear to go. Or does perhaps both version of the message contain "perfectly virgin"? I forgot to check the successful message. I guess it would be better to just check for "Why" :)
bumcheekcity
12-18-2011, 06:17 PM
Oh no, makes sense.
bumcheekcity
12-19-2011, 11:31 AM
Version 0.5 changes the behaviour to only mine the first two rows, because the gems are more expensive, if you want.
yohmanrules
12-19-2011, 12:01 PM
Is there a way to change it manually to mine 3 rows instead? Because some of my fossils came from row 3.
bumcheekcity
12-19-2011, 12:10 PM
They sell for 500 meat, why on earth do you want fossils?
yohmanrules
12-19-2011, 12:18 PM
Oh.. Just wondering :/
bsander
12-19-2011, 12:50 PM
They sell for 500 meat, why on earth do you want fossils?
To make Gummi [ammon|belemn|trilob]ites that are pretty nice stat potions and also exchange for for 1000 candy credits?
yohmanrules
12-19-2011, 01:08 PM
But as he pointed out, they sell for 500 meat in mall, so its not feasible to spend adventures to farm them. Thats not the point of this script.
bsander
12-19-2011, 01:13 PM
Oh, mall. Nevermind, I somehow thought you were talking about autosell value.
Killernoj
12-20-2011, 05:50 AM
I'm returning only gems.. 89 Adv's used. 13 Gems, 1 Fossil.
yohmanrules
12-20-2011, 07:40 AM
Well yeah... v0.5 only mines gems as requested by some people (like me!), since gems give 100 credits or 200 credits for supersuckers. If you also want ingots, download v0.4.
stannius
12-20-2011, 04:14 PM
Would it be more efficient to only mine the sparkly squares you can reach without mining any blank squares? (assuming there are some)
That's what v0.5 does. You should probably wear the simple Mining outfit for that to work though, the Dwarvish outfit will probably make the script try to dig in squares it can't reach.
Killernoj
12-20-2011, 06:19 PM
Well yeah... v0.5 only mines gems as requested by some people (like me!), since gems give 100 credits or 200 credits for supersuckers. If you also want ingots, download v0.4.
Just doesn't make farming sense outside of using them / suckers for credits. 13 x ~7500 = 97500; 97500 / 90 = 1083.33 Per adventure. This ='s not worth it for farming purposes.
Yesterday I found a total of 139 gems in 351 adventures. I sold all the gems at 8.5k, so that gave me 3366 meat per adventure. Not that great when comparing to other methods, but still good (and very good since there was almost no setup/thinking involved).
Thanks again BCC!
Zeferis
12-21-2011, 08:08 AM
Will it be possible to have a version that attempts to mine both ingots and gems and disregards fossils? Seeing as how gems are in high demand now and ingots will be scarce in the future while fossils have nearly no use. Thanks for the work so far!
bumcheekcity
12-21-2011, 10:18 AM
You can't mine gems without mining fossils too, because they appear in the first two rows.
Zeferis
12-21-2011, 11:10 AM
Ah sorry, I meant if the behavior of the 0.4 script could be changed to trying to mine for 12 ingots and 3 gems, rather than trying to mine for 12 ingots and 1 fossil. Not that the script attempts to avoid fossils altogether
maximillian the red
12-21-2011, 08:46 PM
I sold all the gems at 8.5k, so that gave me 3366 meat per adventure. Not that great when comparing to other methods <snip>
whoa whoa whoa... 3366 meat/adventure isnt great? sounds like i'm a terrible meat farmer - willing to share any tips in pm?
morgad
12-21-2011, 10:04 PM
Thanks BCC
I am using this script to send about 5 Elmo's a day to random players :)
Dave
whoa whoa whoa... 3366 meat/adventure isnt great?
Comparing to other farming opportunities we have had over the last couple of weeks, not compared to meatfarming the Castle :)
But yeah, 3k+ meat per adv was actually about the same as farming fudgecules with a full weight mimic, one bindle crit and candyblast. So it did compare rather well to other methods.
zarqon
12-26-2011, 07:13 AM
Since Gummi Mine is evidently not yet a known location, people running UR and this script may have a problem where UR wastes considerable resources restoring HP. However, you can trick UR by adding the following line to the top of main():
set_location($location[Itznotyerzitz Mine]);
After I added that line, UR happily believed I was mining and didn't waste resources restoring more than 1 HP.
Loi! That's clever! It doesn't matter much anymore, but it is really clever.
Winterbay
12-26-2011, 08:29 AM
I set my restoration settings to restore at 0% and restore to 5% which worked quite nicely as well (especially together with some HP restoring gear which meant I never really ended up at 0%).
I simply made sure I had some HP regen, and never needed to restore HP.
Powered by vBulletin® Version 4.2.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.