MineColonies

MineColonies

53M Downloads

[BUG] Tasks are not being distributed among multiple warehouses

starpley opened this issue ยท 0 comments

commented

Is there an existing issue for this?

  • I have searched the existing issues

Are you using the latest MineColonies Version?

  • I am running the latest beta version of MineColonies for my Minecraft version.

Did you check on the Wiki? or ask on Discord?

  • I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.

What were you playing at the time? Were you able to reproduce it in both settings?

  • Single Player
  • Multi Player

Minecraft Version

1.20.1

MineColonies Version

main branch

Structurize Version

1.20.1-1.0.742-RELEASE

Related Mods and their Versions

No response

Current Behavior

After the game was updated in early June to distribute the work among couriers evenly, I noticed that all tasks were assigned to one of my five warehouses. I attempted to resolve the issue by: destroying and recreating each warehouse, firing all workers, and rehiring them simultaneously. I've also tried changing the createiveresolve flag as well.

Expected Behavior

I would expect that tasks would be distributed across the warehouses appropriately, ideally in a way that considers the size of the current task list and the distance from the request to be filled. I was able to crudely resolve the issue by downloading and building the source and simply shuffling the list of resolvers in RequestHandler.java -> assignRequestDefault. This assigned tasks to the warehouses evenly, although it's not a long term solution.

Reproduction Steps

  1. Create a large colony with multiple warehouses
  2. Review the tasks assigned to each warehouse

Logs

N/A

Anything else?

This is an impressive piece of software. Thanks for all you do.