MineColonies

MineColonies

57M Downloads

Quarry worker isn't requesting pickaxe when needed

Talyda opened this issue ยท 33 comments

commented

Prerequisites

  • I am running the latest alpha version of MineColonies and Structurize for my Minecraft version.
  • I checked the MineColonies/Structurize wiki and made sure my issue is not covered there.
  • I made sure that this issue is not a duplicate of any existing issue.

Context

  • Minecraft Version:1.18.1
  • MineColonies Version: 1.0.387
  • Structurize Version: 1.0.341
  • Related Mods and their Versions:
    Multi-Piston: 1.2.2
    BlockUI: 0.0.43
    Domum Ornamentum: 1.0.39

Expected behavior

Quarry worker requests pickaxe

Actual behavior

Quarryer stands at the mine hut block, making the block place animation over and over, but not actually doing anything

Steps to reproduce the issue

I can't reliably replicate it.
Had it happen on the small quarry first off, and didn't realise what was happening.
Gave him a pick and off he went. Realised what was happening, so I took pick away from him, but this time he did request it =P
Miner in the medium quarry has worn out his pick, and found him standing at his mine hut block doing as above. No request in the clipboard, or on his GUI. There were picks in the warehouse, and idle couriers.
Waited a bit to see if he would go off, but nada. Gave him a pick and he went off to work right away.

Logs

If they will help I can try and grab one next time it happens

Notes


Viewers

  • Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
  • Add a comment if you have any insights or background information that isn't already part of the conversation.
commented

I've had this game open in the background all day today, and the first miner is doing it again - at the mine hut block, making placing animations, no requests showing anywhere, but they need a pickaxe

this is when I do /mc citizen info - he's definitely not mining, though doing the animation, there is nothing going in or out of his inventory
image

This is immediately after I give him the pick (while he is on his way back to start quarrying again)
image

commented

Oh, and peculiarer and peculiarer - once I gave him the pick and that changed to "NEEDS_ITEM", the courier brought him one from the warehouse.
At least I assume it was right then the courier took it, cos they weren't there before.

Same exact thing just happened with the other quarry worker, courier just brought them a pickaxe after I gave them one with all that above stuff being the same (except this time the quarryer needed to empty their inventory as well)

commented

Don't know if this is related, but now he is just sitting at the top of the quarry with "Load_structure" as their current activity. Not sure what else to try to get them working

commented

I've updated to that fixed version, fired and rehired the worker, but he is still standing at the top of the quarry, doing nothing, with "load structure" as his current activity, so I guess that was not related =P I left the game running for a couple hours last night with him doing the same.
Gonna start a fresh game and see if I can get them going any further.
Small quarry was no hassles, finished two of those, but the medium quarry he is just standing there

commented

Does the quarry, by chance, leave the world height limits? (like in a superflat world?)

commented

Nope, made it on a regular world
Starts at y69, and is down to y56

commented

Would a world export help you?

commented

Maybe, ye

commented

colony1Export.zip
There you go =)
Meanwhile I will start on another world, and see if it happens there too

Mod list if you need it?
image

commented

fix pushed

commented

Started a new world, and have had one stuck for about an hour now for the same reason, on a medium quarry again - has only dug out about 2 Y levels. Small quarry is still motoring away, and nearly finished
This time I used that superflat "overworld" preset - so it's all flat, but still very deep - started at y-1 and has been stuck at y-3 (world goes down to -64)

commented

So I guess the resource cost calc is increasing infinitely in the miner hut display?

commented

Was for tool reasons again?

commented

No, just the "load structure"

commented

She DID also get sick, but I htink she was stuck in "load structure" so she didn't go off to get healed until I fired her - waiting for that to happen now, before I try restarting her to see if she starts working

commented

On a one minute sample - it does appear that way! (Obviously I will keep watching =D) And make sure she is still stuck there

commented

So I guess the resource cost calc is increasing infinitely in the miner hut display?

I saw someone mentioning that the quarrier was asking for 446 framed cobblestone to make the small quarry right after hiring.
I haven't done the calculations, but it does sound a bit much.

commented

I didn't know to look there - will do so once she is back and healed

commented

and you are on the latest.

So I guess the resource cost calc is increasing infinitely in the miner hut display?

I saw someone mentioning that the quarrier was asking for 446 framed cobblestone to make the small quarry right after hiring. I haven't done the calculations, but it does sound a bit much.

I fixed that recently. It should now ask a stack at a time afaik. But partial fulfillment is a thing. 446 is the total amount.

@Talyda You are on the absolute latest, right?

commented

Ok, it did stop after a bit more than a minute - then she moved to a spot inside the quarry, and it is counting up again - will keep watching to see if that changes

commented

The one you put the fix in this morning - ending in.90 I think?

commented

Yeah, .390

commented

image
It got up to about 1700 of this block required, then reset and started listing all the resources required.
I tried to do the /mc citizens info when the number or resources reset 9not sure if I was fast enough) but it still said "load structure"

commented

1755 of that block, then resets and starts counting again. She doesn't physically move at all as far as I can tell, just standing there with a creative DO block in her hand

commented

Just went back in to the first game save and it is doing the same thing (different amounts, cos that one dug further, but same behaviour)

commented

I got a lead. It's weird

commented

Well, if you think it's weird, I had bugger all chance of trying to troubleshoot it =D

commented

I loaded your world, and it tries to place some cobblestone in a place where a normal placeholder is apparently.

commented

but the resource list disagrees, obviously. So it recalculates just to come to the same result

commented

Oh yay! =D
I really did want to test the quarry thoroughly!

commented

Good find!

commented

Yeah, I never ever would have figured that one out =D Never would have even known where to start LOL!

commented

Found it!