ManuelSchmitz / SCAM

Simple Concurrent Adaptive Min3r (Space Engineers)
4 stars 2 forks source link

Constant lock problems after x minutes, or specific miner #21

Open tovermannetje opened 2 weeks ago

tovermannetje commented 2 weeks ago

The script works great.

I currently have 7 miners running with this script and after the setup it works wonders.

But after like 10-15 minutes a miner just gets stuck above the mining-site when returning to dock. I have like 7 miners and like 15 connectors to be used. The other miners are docked and in maintenance, for some weird reason, because they have 100% energy and hydrogen and no items in the cargo containers .

Then I need to reset the whole circus, which sometimes causes more chaos. After the reset, the same miner causes the freeze.

Ive already lost like 10 miners...

Is there anyway to fix this? 20241030185324_1 20241030185321_1

tovermannetje commented 2 weeks ago

With two miners it seems to work fine, like the other docka-min3r ports are not visible or something

ManuelSchmitz commented 2 weeks ago

There is some hard-to-reproduce bug, which might very well be the cause of your problem. I have spent weeks trying to track it down. Have you been working with the master branch, or some release version?

I don't know when I'll be able to continue work on these scripts. Private matters in my RL ... ;-)

tovermannetje commented 2 weeks ago

Im using the 0.11.0 version

And im trying to look into the code myself, but i still need to understand a bit how the locks exactly work and hopefully i can fix it myself