Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Auto Mine no longer working #410

Open
K0STYURIK opened this issue Nov 14, 2024 · 4 comments
Open

Enhanced Auto Mine no longer working #410

K0STYURIK opened this issue Nov 14, 2024 · 4 comments

Comments

@K0STYURIK
Copy link

After v0.10.22 update, mining system was overhauled, and Enhanced Auto Mine seems to no longer work. Which is sad, because there are new achievements tied to miming

@aheadfrogg
Copy link

Use the helpers?

@K0STYURIK
Copy link
Author

Use the helpers?

Helpers aren't automatically using battery (so not upgrading new Oak Item towards "Level all 12 Oak Items to maximum level" achievement).
Also, helpers using chisel, hammer, bomb and survey tools aren't count towards "Use chisel tool 1000 times", "Use hammer tool 2000 times", "Use bomb tool 5000 times", "Use survey tool 50 times", "Use any tool 10000 times" achievements.
So, without Enhanced Auto Mine it is near impossible to get 6 achievements.

Plus, unlike Hatchers and Farm hands, you can only use ONE mine helper at a time. So, even without achievements, using helpers just really SLOWER than using Enhanced Auto Mine

@K0STYURIK
Copy link
Author

Use the helpers?

I have some helper working in underground mine for a three weeks now (started with Steve and Alex, waited until they are at least at level 50, switched to Gemma, waited until she is at least at level 50, switched to Sharlene, waited until she is at least at level 50, switched to Jones, waited until he is at least at level 50, switched to Darwin, waited until he is lat least at evel 50, switched back to Steve and Alex, and they are currently at level 87), I don't even turn off my computer when I go to work, and my underground mine is still only at level 45. Without "Enhanced Auto Mine" it's borderline impossible to get an achievement "Reach Underground Level 50"

@K0STYURIK K0STYURIK reopened this Dec 7, 2024
@kosmirion-epos
Copy link

I am also a bit bummed, but I made my own thing, at least kind of. There's a reason the file is called stupidmine.js.

What this does is it waits 5 seconds on initial load and then spam clicks the first square in the list every 0.1s / 100ms with your selected tool, which in my case is the bomb. This works great as soon as your bomb has unlimited durability.

I tried several times to integrate this different approach for the new underground system classes into the existing ephenia script, especially to also get interactability, but didn't manage to do it.

I'm posting my approach in case it helps someone more accustomed to maybe update the script.

        var autoMineTimer;
        
        // Wait a few seconds to not mine before underground is fully loaded
        setTimeout(() => {
            autoMineTimer = setInterval(function () {
                doAutoMine();
            }, 100);
        }, 5000);

        function doAutoMine(){
            UndergroundController.clickModalMineSquare(1);
        }

To activate the battery, the method should be App.game.underground.battery.discharge() (at least that is what's bound to the button).

If you want to use potions, I think only the part that tries to use them needs to be discarded, as the helpers use them automatically if you have it enabled. Just the buying part would be kept.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants