AdvancedPeripherals icon indicating copy to clipboard operation
AdvancedPeripherals copied to clipboard

Colony Integrator getRequests Error

Open Gobgob30 opened this issue 3 years ago • 2 comments

Descripe

When using the colony integrator it throws a cast java cast error. because of the way I'm error correcting it seems to still be running after it is thrown but it takes a lot longer it seems like or dead locks. minecolony version is the latest: https://www.curseforge.com/minecraft/mc-mods/minecolonies/files/3879870 had the issue in the alpha for this release as well, which I previously linked to: https://www.curseforge.com/minecraft/mc-mods/minecolonies/files/3876507 the code I am using that the exception is thrown. It throws when I call my requestDrop. https://pastebin.com/QKgiwUb7 image this is a .json (not in json of course just suitable) just the serialized data of all my buildings plus a string of each blocks /data get info just incase it shows something important or helpful Building JSON.zip

Steps to reproduce

Seems like it's just place the block. Wrap the peripheral then call colonyIntegrator.getRequests() Seems to work every now and then... idk what causes it.

Multiplayer?

No

Version

1.18.2-0.7.16b (Latest 1.18)

Minecraft, Forge and maybe other related mods versions

forge 40.1.54 minecraft.18.2

Screenshots or Videos

No response

Crashlog/log

latest.log

Gobgob30 avatar Jul 21 '22 20:07 Gobgob30

Only happens when stuff inside the warehouse is requested to deliver. In my game

Example: Builder needs 64 cobble, nothing in warehouse -> works like a charm. Builder needs 64 Cobble, 64 Cobble is in warehouse -> crash with error

wafebreaker avatar Aug 09 '22 09:08 wafebreaker

Sorry. Confused what that was. I just pcall the function that used as a temporary means. It seems to clear out after a bit of erroring out. Every 30 times it errors on my command computer, it send a say message. I rarely get a message but I'm spawning exactly what they request too and with these versions of mine colonies and advperipherals. advancedperipherals-1.18.2-0.7.16b minecolonies-1.18.2-1.0.904-ALPHA

Gobgob30 avatar Aug 09 '22 17:08 Gobgob30

I tested some cases but it's hard to test something like this without a proper colony I can test this when I get back home,. If anyone want to test it, here is the current dev filebuild:

AdvancedPeripherals-0.7.16b.zip

Unzip the file before using

SirEndii avatar Sep 01 '22 08:09 SirEndii