Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPC container duplication/disappearence/transmogrification #38342

Closed
Funguss opened this issue Feb 25, 2020 · 3 comments
Closed

NPC container duplication/disappearence/transmogrification #38342

Funguss opened this issue Feb 25, 2020 · 3 comments
Labels
Items / Item Actions / Item Qualities Items and how they work and interact NPC / Factions NPCs, AI, Speech, Factions, Ownership (S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@Funguss
Copy link
Contributor

Funguss commented Feb 25, 2020

It seems that any container can duplicate or disappear when traded to or from an NPC, including its contents, if any. It appears that, sometimes, another item is overridden, though I can't identify a pattern. It's likely based on how the item is stored in memory. I've not been able to reliably reproduce this, sometimes a trade causes duplication and disappearances, other times nothing. This may be linked with #36884 as both are issues around containers.

Edit: Wrong save! Correct save: Bentonia.zip

I've not been able to identify the trigger but there's a definite duplication when trading liquids to NPCs on occasion. I've only noticed it with liquids that have freshness modifiers but it could occur with water or the like. So far I've only seen it with plastic bottles, specifically mayonnaise and one other I forget. Each duplication causes a copy to be left in the player inventory.

Edit: In this save, if you go north of the NPC there's a pile of food, including rotten orange and fruit juice. Pick up a few bottles of both and try trading back and forth. Sometimes, one will transform into the other, sometimes they'll duplicate. Point Blank.zip

Edit 2: Nothing to do with freshness as I had a canteen of water disappear while trading multiple. This may be linked with #36884 as both are issues around containers. I'll test out with some dry foods.

Versions and configuration

Additional context

  • OS: Windows
    • OS Version: MINGW/CYGWIN/MSYS2 on unknown Windows version
  • Game Version: 0.D-12504-g9015618 [64-bit]
  • Graphics Version: Tiles
  • Mods loaded: [
    Dark Days Ahead [dda],
    Aftershock [aftershock],
    C.R.I.T Expansion Mod [crt_expansion],
    Magiclysm [magiclysm],
    Makeshift Items Mod [makeshift],
    More Survival Tools [More_Survival_Tools],
    Mythological Replicas [nw_pack],
    Hydroponics [hydroponics],
    Mutant NPCs [mutant_npcs],
    No Rail Stations [No_Rail_Stations],
    Folding Parts pack [deoxymod],
    Vehicle Additions Pack [blazemod],
    Tanks and Other Vehicles [Tanks],
    Roadheader and other mining vehicles [Heavy miners],
    No Fungal Monsters [No_Fungi],
    Beta National Guard Camp [national_guard_camp]
    ]
@Funguss Funguss changed the title NPC liquid duplication NPC liquid duplication/disappearence/transmogrification Feb 26, 2020
@Funguss Funguss changed the title NPC liquid duplication/disappearence/transmogrification NPC container duplication/disappearence/transmogrification Feb 26, 2020
@Funguss
Copy link
Contributor Author

Funguss commented Feb 28, 2020

Trading a single item seems to work fine all the time. Trading multiple (more than one on either side, or one from each) mostly fails, generating duplicates or becoming copies of a different container already held.

@KorGgenT KorGgenT added <Bug> This needs to be fixed Items / Item Actions / Item Qualities Items and how they work and interact NPC / Factions NPCs, AI, Speech, Factions, Ownership labels Mar 5, 2020
@MarceloLaser
Copy link

MarceloLaser commented Apr 11, 2020

To add to this, the inventory errors may include equipped items, and may involve items marked for trade remaining in origin inventory. The error does not seem to require the trade to involve containers or liquids. To illustrate, I am attaching a save file located in front of the refugee center trader, with an inventory containing 100L worth of filthy clothing items for trade. Attempting to trade all items in inventory will almost always result in an error of some form, and the error may not always be the same, even if items traded are. Bug is still present as of April 10.

Edit: If necessary for testing purposes, directly outside the refugee center in the attached save file are both 1) a pile of items that are not meant to be traded, which may be picked up, and 2) a vehicle with approximately 1400L worth of miscellaneous items.

West Lake Hills.zip

@int-ua
Copy link
Contributor

int-ua commented Jan 15, 2021

Please try reproducing in latest experimental and/or adding clear and concise steps to reproduce from scratch.

@int-ua int-ua added (S1 - Need confirmation) Report waiting on confirmation of reproducibility and removed <Bug> This needs to be fixed labels Jan 15, 2021
@int-ua int-ua closed this as completed Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Items / Item Actions / Item Qualities Items and how they work and interact NPC / Factions NPCs, AI, Speech, Factions, Ownership (S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

No branches or pull requests

4 participants