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

item_location lost its target item during a save/load cycle #48433

Open
Shadesmar99 opened this issue Apr 8, 2021 · 5 comments
Open

item_location lost its target item during a save/load cycle #48433

Shadesmar99 opened this issue Apr 8, 2021 · 5 comments
Labels
<Bug> This needs to be fixed Items / Item Actions / Item Qualities Items and how they work and interact

Comments

@Shadesmar99
Copy link

Shadesmar99 commented Apr 8, 2021

Overlea.zip

Describe the bug

DEBUG : item_location lost its target item during a save/load cycle

FUNCTION : void item_location::impl::ensure_unpacked() const
FILE : src/item_location.cpp
LINE : 114

appears when saving the game (sometimes, normally the first time after loading the map, after at least 1 step has been taken, and then not for a while, pretty high frequency, almost reliably after it appeared the first time, see below)

appears also sometimes (low frequency, but it appeared there the first time) when using the bow the first time in a loaded game, while arrows are placed inside the boxes of the wooden cart nearby.

Steps To Reproduce

see above... wield bow, walk near the cart adjacent to the arrow on the street (several arrows are also on the cart), press f for aim
also: try to save the game, after taken some steps

Expected behavior

Screenshots

Versions and configuration

Additional context

@actual-nh
Copy link
Contributor

You don't seem to have attached a save file with which to do said steps to reproduce.

@actual-nh actual-nh added (S1 - Need confirmation) Report waiting on confirmation of reproducibility Items / Item Actions / Item Qualities Items and how they work and interact labels Apr 12, 2021
@Night-Pryanik
Copy link
Contributor

Night-Pryanik commented Apr 14, 2021

Seems like the same as #38455.

@Shadesmar99
Copy link
Author

Overlea.zip

@Shadesmar99
Copy link
Author

You don't seem to have attached a save file with which to do said steps to reproduce.

sry i had the impression that i uploaded something, but it is not showing... anyways heres the save file (again)

@hexagonrecursion
Copy link
Contributor

Confirmed using the above save file. The below message appeared immediately after pressing f to fire.

DEBUG : item_location lost its target item during a save/load cycle

FUNCTION : void item_location::impl::ensure_unpacked() const
FILE : src/item_location.cpp
LINE : 114
VERSION : bfda921

  • OS: Linux
    • OS Version: LSB Version: :core-4.1-amd64:core-4.1-noarch; Distributor ID: Fedora; Description: Fedora release 33 (Thirty Three); Release: 33; Codename: ThirtyThree;
  • Game Version: bfda921 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Bionic Professions [package_bionic_professions]
    ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed Items / Item Actions / Item Qualities Items and how they work and interact
Projects
None yet
Development

No branches or pull requests

4 participants