IntelligenceModding / AdvancedPeripherals

Advanced Peripherals adds many new features to the computercraft modification
https://advancedperipherals.netlify.app/
Apache License 2.0
102 stars 71 forks source link

Count of Item Request by Minecolony Colonists #252

Closed Paraxdq closed 2 years ago

Paraxdq commented 2 years ago

Hello,

I tried to get the amount of items a colonist requests but the only thing i achieved was the following:

local integrator = peripheral.find("colonyIntegrator") integrator.getRequests() -> items, then i got the name of the item and a value called count which returns 1, even if 32 items are requested. Is this a bug or intended and how am i supposed to get the amount a colonist requests?

Count from Stonewall is 1 and from wheat is 2, but thats not the requested amount only the number on the image itself: 2022-01-06 23_33_23-Window

Thanks in advance :)

SirEndii commented 2 years ago

Please use the discord or the discussions tab in github for questions. But this looks like a bug, I'll move this issue to the proper repository and mark it has bug.

Could you please provide proper versions?

Paraxdq commented 2 years ago

Thanks for the response! I hope these additional informations will help you. We are playing on a multiplayer server of Valhelsia 3.4.8, soon 3.4.9.

Version advancedperipherals-1.16.5-0.7.6r minecolonies-1.16.5-1.0.311-BETA

Minecraft, Forge and maybe other related mods versions Modpack Valhelsia 3.4.8 - Forge 36.2.22

Screenshots or Videos 2022-01-06 23_32_23-Window

As you can see on the screenshot, (I don't really know a better way to print out what functions are available for a command so I printed out key value pairs whenever there is a table) and there is the cobblestone wall from the image in the first post where count is 1 but i guess it should be 32.

Crashlog/log No crash

SirEndii commented 2 years ago

Thank you for the information I'll see what I can do

SirEndii commented 2 years ago

Just checked it - it seems that I fixed it in the last months by accident image count is the count of the request. Ignore the count from the item, this is just the item stack