This is a repost of a bug Zilox posted in Gup's discord. It can happen in vanilla, but running mods seems to make it worse. I'm going to copy/paste his original post and then I'll post the usual bug report form. Also a small modlet is linked after his info that is used to reproduce the error.
"I have come across a game breaking bug with the SecureLoot class when resetting quests, and or resetting chunks with blocks that have this class. When I reset a quest in a poi that has a block with the class SecureLoot, it throws an exception about attempting to read past the end of the stream It seems to only happen when I use this within a mod, as I could not reproduce this with any vanilla vehicles such as the cop car which also used the SecureLoot class, so I believe it is a mod specific issue when using SecureLoot. It only happens when running on a dedicated server. I have included an example modlet which adds SecureLoot to the vanilla vending machines to help easily reproduce the issue, these machines can be found in many POI's so it was the easiest way to demonstrate the issue.
Test modlet can be found here: https://drive.google.com/file/d/1u27ngPLHWs4btJ6YOh0bWu78m5Cxn3G-/view?usp=sharing
I have tested this against the latest stable build of A21.2(B30) How To Reproduce:
1) Install the provided modlet on client and dedicated server
2) Load the Navezgane map on the dedicated server
3) Once in game, teleport to the navezgane hospital (hospital_01)
4) Make your way downstairs to a vending machine
5) Open the console and type the command cr twice (this can also be done by giving yourself a quest at the hospital and starting it twice)
6) Observe that an error pops open the console reading Attempted to read past the end of the stream"
Summary: Having SecureLoot blocks in a POI can cause errors when resetting the POI for a quest.
Game Version: (A21 b37)
OS/Version: Windows
CPU Model: Intel i7 12700K
System Memory: 32 GB
GPU Model and VRAM: nVidia GTX 3080 Ti 12 GB
Screen Resolution: 2560x1440
Video Settings: High
Game mode: Client on Dedi, RWG or NAV
Did you wipe old saves? Yes
Did you start a new game? Yes
Did you validate your files? Yes
Are you using any mods? Yes
EAC on or off? Off
Status: NEW
Bug Description: Resetting a POI that has blocks using the SecureLoot class throws End of Stream errors.
Detailed steps to reproduce the bug: Read the process above
Actual result: Resetting a POI on a dedicated server that has blocks using the SecureLoot class throws End of Stream errors. Usually breaks the POI reset as well.
Expected result: No errors when resetting a POI that has SecureLoot class blocks in it.
Recommended Comments
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now