workshop container bug
issueid=2855 11-22-2021 04:38 AM
ttuhooja
workshop container bug
crafting masonry stuff in workshop opens invisible containers

when ever i do masonry crafting on workshop i get this bug after a while that i canīt open any more bins because *i have 4 containers already open* even though i donīt have nearly that many open. So far only way to fix this has also been to exit game and then come again if i want to open bins.. also not sure if this matters but i am using banaya chief tent as workshop . EDIT= after doing some other crafting on my workshop i can say that it seems all crafting does this and not just masonry
Issue Details
Issue Number 2855
Project Bugs Reports
Category Code - Inventory & Items
Status Fixed / Resolved
Priority 1 - Highest
Affected Version Unknown
Fixed Version (none)
Users able to reproduce bug 1
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




11-27-2021 04:35 PM
When this happens, how many containers do you actually have open?

Are you opening your pack and pouches or bins that are on the ground or bins that are in another building or cart nearby?

Could you give me exact steps to reproduce this issue?

Thanks!

11-28-2021 03:48 AM
Visitor
Quote Originally Posted by Xsyon
When this happens, how many containers do you actually have open?

Are you opening your pack and pouches or bins that are on the ground or bins that are in another building or cart nearby?

Could you give me exact steps to reproduce this issue?

Thanks!
i go under the tent and usually have just inventory open and start crafting and after a while it happens.. tho it does happen no matter what other containers i have open

11-28-2021 06:04 AM
Visitor
Quote Originally Posted by Xsyon
When this happens, how many containers do you actually have open?

Are you opening your pack and pouches or bins that are on the ground or bins that are in another building or cart nearby?

Could you give me exact steps to reproduce this issue?

Thanks!
i made a short video of the problem and it shows up but not fully as was only a some what short test https://youtu.be/x5c1ep0cb4M

11-28-2021 07:05 AM
Xsyon Citizen
i have had this to, its like, something (code) is counting how many containers we have open, but not registering when they are closed.

and then eventually, after opening and closing a few, you get that message.
its not a new bug but something you put up with, by closing all containers and starting again, or loging out and back in.

sark

11-29-2021 02:33 AM
Visitor
Quote Originally Posted by chojinuk
i have had this to, its like, something (code) is counting how many containers we have open, but not registering when they are closed.

and then eventually, after opening and closing a few, you get that message.
its not a new bug but something you put up with, by closing all containers and starting again, or loging out and back in.

sark
my problem actually does not really only have to do with not counting closed containers but system trying to open containers on its own and its only visible from the get go if you have all containers you can open from start as can see from this little video i made just for you https://youtu.be/VK-pTDlMukI .. also when ever i get this it never gets fixed by just closing containers but only by exit .. my first video would had shown this problem but when you start with about no containers opened it does take a long time for system starting saying you have 4 container already open while you craft

12-05-2021 03:50 PM
I've been trying to reproduce and debug this but I haven't been able to, so I have some questions:

- In the second video I see your tool was broken when the container message showed up. Does this seem to happen at the same time that a tool breaks or was that just a coincidence?

- Are you moving in and out of the workshop and having containers close automatically at some point?

- Can either of you figure out exact steps to reproduce this issue repeatedly?

I set up a special build on the Test Server. It displays a list of open containers on the upper left side of the screen. Could you try to reproduce this issue on the Test Server? You should see the point that a new container opens. Does a container open randomly and appear on that list while you are crafting? Or at some point do you close a container but it remains open on that list?

Thanks!

12-05-2021 05:38 PM
Visitor
Quote Originally Posted by Xsyon
I've been trying to reproduce and debug this but I haven't been able to, so I have some questions:

- In the second video I see your tool was broken when the container message showed up. Does this seem to happen at the same time that a tool breaks or was that just a coincidence?

- Are you moving in and out of the workshop and having containers close automatically at some point?

- Can either of you figure out exact steps to reproduce this issue repeatedly?

I set up a special build on the Test Server. It displays a list of open containers on the upper left side of the screen. Could you try to reproduce this issue on the Test Server? You should see the point that a new container opens. Does a container open randomly and appear on that list while you are crafting? Or at some point do you close a container but it remains open on that list?

Thanks!
in both of my videos i had just started the game so all you see me do in the video is what i did for the problem to come .. i donīt think the tool broking was the reason but i can test that again to be sure..

12-05-2021 06:07 PM
Visitor
Quote Originally Posted by Xsyon
I've been trying to reproduce and debug this but I haven't been able to, so I have some questions:

- In the second video I see your tool was broken when the container message showed up. Does this seem to happen at the same time that a tool breaks or was that just a coincidence?

- Are you moving in and out of the workshop and having containers close automatically at some point?

- Can either of you figure out exact steps to reproduce this issue repeatedly?

I set up a special build on the Test Server. It displays a list of open containers on the upper left side of the screen. Could you try to reproduce this issue on the Test Server? You should see the point that a new container opens. Does a container open randomly and appear on that list while you are crafting? Or at some point do you close a container but it remains open on that list?

Thanks!
i just tested this thing and it actually seems like this bug is because the tool breaks .. because i tested so that i did not lose tools or resource stacks and nothing happened but then i used up last few dura of my tool and opened containers again and the bug happened ... i did record this all on video just incase and i can upload it to here if you want to see it too .. will do one more test with all containers opened and again not loosing the tool and then using last durability to lose it and see if that also does it but so far it does actually seem to be something to do with the tool

12-05-2021 07:19 PM
Visitor
Quote Originally Posted by ttuhooja
i just tested this thing and it actually seems like this bug is because the tool breaks .. because i tested so that i did not lose tools or resource stacks and nothing happened but then i used up last few dura of my tool and opened containers again and the bug happened ... i did record this all on video just incase and i can upload it to here if you want to see it too .. will do one more test with all containers opened and again not loosing the tool and then using last durability to lose it and see if that also does it but so far it does actually seem to be something to do with the tool
ok so i now tested with having inventory and cart + 3 containers from cart open , after losing mallet i got that 4 containers already open text BUT found out that no inventory had any problems of opening . so then i used up my granite stack and i got that same 4 containers already open text but still all inventory was working .. i then closed all but inventory and lost my chisel , all was working fine . i continued to craft with all but inventory closed and i lost mallet again and this time i got that bug that i could open 2 containers but when trying to open last it said i had max amount open .. so from this test and from the first one i can say that if have no containers open while crafting masonry and lose mallet that not all containers can be opened bug happens BUT when i have all containers opened i only get that text but nothing actually stops working and also when i have all containers open and lose granite stack same text happens ( did use up more stacks of granite and all times same text )

12-05-2021 07:44 PM
Visitor
Quote Originally Posted by Xsyon
I've been trying to reproduce and debug this but I haven't been able to, so I have some questions:

- In the second video I see your tool was broken when the container message showed up. Does this seem to happen at the same time that a tool breaks or was that just a coincidence?

- Are you moving in and out of the workshop and having containers close automatically at some point?

- Can either of you figure out exact steps to reproduce this issue repeatedly?

I set up a special build on the Test Server. It displays a list of open containers on the upper left side of the screen. Could you try to reproduce this issue on the Test Server? You should see the point that a new container opens. Does a container open randomly and appear on that list while you are crafting? Or at some point do you close a container but it remains open on that list?

Thanks!
i went to test server to test this bug and when my granite stack run out, 1 container number popped up and it was 141004828 open .. i then lost mallet and another container on the list popped up and it was 140897130 open .. i then tried opening containers in my workshop chief tent and only managed to open 1 and after that system message pops up saying : you have four containers already open ... and before those numbers on the list showing up i did not open anything and also no actual container opened for me to see

12-06-2021 04:23 PM
Ok, that helps a lot! I see the issue now though it's not a quick fix. Basically when you break a tool or a stack is gone, a 'container update' is sent to the player and the container update opens the container (it's the same function that runs when you actually open a container). I need to create a separate function that updates without opening for these specific crafting instances.

I'll post here when I have a fix ready for testing.

Thanks!

01-10-2022 02:44 PM
Visitor
Quote Originally Posted by Xsyon
Ok, that helps a lot! I see the issue now though it's not a quick fix. Basically when you break a tool or a stack is gone, a 'container update' is sent to the player and the container update opens the container (it's the same function that runs when you actually open a container). I need to create a separate function that updates without opening for these specific crafting instances.

I'll post here when I have a fix ready for testing.

Thanks!
I just tried this thing and it really seems like this bug is on the grounds that the apparatus breaks .. since I tried so I didn't lose instruments or asset stacks and nothing occurred except for then I spent last barely any dura of my apparatus and opened holders again and the bug occurred ... I recorded this all on video simply incase and I can transfer it to here to see it as well .. will do another test with all holders opened and again not loosing the device and afterward utilizing last sturdiness to lose it and check whether that additionally makes it happen however that far does really appear to be something to do with the apparatus

01-14-2022 10:25 AM
I've patched a fix for this (hopefully) on the Test Server. It should be tested with tools breaking from your packs, a container in the workshop that is open and a container in the workshop that is closed.

If you have a chance to test this, let me know if it's all ok now.

Thanks!

01-15-2022 12:03 AM
Visitor
Quote Originally Posted by Xsyon
I've patched a fix for this (hopefully) on the Test Server. It should be tested with tools breaking from your packs, a container in the workshop that is open and a container in the workshop that is closed.

If you have a chance to test this, let me know if it's all ok now.

Thanks!
first tests with no containers open =
i broke a tool from workshop and all worked fine .. granite stack ended from workshop and after testing could only open 2 containers so that still makes the bug happen ...broke tool from my inventory and all works fine ..

did same tests with container open from workshop and got the same results , so only losing resources seems to make the bug happen now

01-16-2022 02:49 PM
I've patched a fix on the Test Server using the same code / logic for materials. Please check when you can and let me know if materials can be used without causing the problem now.

Thanks again!

01-16-2022 04:58 PM
Visitor
Quote Originally Posted by Xsyon
I've patched a fix on the Test Server using the same code / logic for materials. Please check when you can and let me know if materials can be used without causing the problem now.

Thanks again!
i tested both ways like before and did not get the bug happen at all