Advanced Peripherals

Advanced Peripherals

30M Downloads

Colony Integrator getRequests() hanging

justjamesqq opened this issue ยท 2 comments

commented

Describe

I'm using a slightly modified RSWarehouse.lua code (will include at the bottom) which I've added a few debugging print statements to try and isolate the issue I'm having. Randomly when the timer reaches 0 I will have a chance for the server to hang with a "waiting for server" error message that lasts for a minute or two. After this, my script is stuck and does not progress.

I've identified the getRequests() as the issue as the code never succeeds past this point when my game hangs.

I'm playing in a singleplayer world so can test and troubleshoot any possible solutions.

I've tried on the default minecolonies version in ATM8 and on the latest one at 1.126-BETA
https://gist.github.com/SirEndii/caccdb4b3b1d2f260be63b2687a6a106

Steps to reproduce

I followed the steps here https://www.youtube.com/watch?v=j2ROhK99t5M&pp=ygUccmVmaW5lZCBzdG9yYWdlIG1pbmVjb2xvbmllcw%3D%3D

Then went to the github repository for the original code and found the fixes in the comments and applied them to my code.

The code runs fine until it randomly decides to hang. After that I need to restart my game and rerun the code.

I'm playing on the latest version of ATM8 v 1.0.25

Multiplayer?

No

Version

1.20.1-0.7.30a

Minecraft, Forge and maybe other related mods versions

43.2.14 / 1.19.2

Screenshots or Videos

No response

Crashlog/log

No response

commented

Here is the mclogs where it soft crashes https://mclo.gs/029pJic

commented

Nevermind figured it out - the game will hang if it requests for something then waits to take the item from RS but it can't take the item from RS because some other mods took that item.