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

Previous game's NPC followers have "memory" of new player #26126

Open
Ceepert opened this issue Oct 8, 2018 · 12 comments
Open

Previous game's NPC followers have "memory" of new player #26126

Ceepert opened this issue Oct 8, 2018 · 12 comments
Labels
<Bug> This needs to be fixed Character / World Generation Issues and enhancements concerning stages of creating a character or a world NPC / Factions NPCs, AI, Speech, Factions, Ownership (S2 - Confirmed) Bug that's been confirmed to exist

Comments

@Ceepert
Copy link

Ceepert commented Oct 8, 2018

Describe the bug
When you have a world that you keep once a character dies, npc´s you have met with your old/dead character talk to a new character, that they never met, like it is the old character.

To Reproduce
Steps to reproduce the behavior:

  1. Create World + Character (make world settings to keep world on death + idealy set spawning npc to always)
  2. Get the NPC to follow you, or get a quest.
  3. Die/Make a new character in the same world.
  4. If you got the NPC to follow you he will, at some point, appear next to the new character, still following you, even though the NPC technicaly has no Idea who you are. (He also still has the same active quests and relationship with you)

Expected behavior
The NPC should react like it doesnt know you since it is a new character.

Versions and configuration(please complete the following information):

  • OS: Windows 10
  • Game Version 0.C-33136-g79d9903
  • Graphics version: Tiles
  • Mods loaded: Not important

Additional context
To get to see this easier, choose the Prison Break scenario with spawning npc, so you can find him more easy.

@Leland Leland changed the title NPC logic issue Previous game's NPC followers have "memory" of new player Oct 8, 2018
@Leland Leland added <Bug> This needs to be fixed NPC / Factions NPCs, AI, Speech, Factions, Ownership (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Oct 8, 2018
@Leland

This comment has been minimized.

@mlangsdorf
Copy link
Contributor

NPCs and monsters pretty much have a boolean "friendly" attitude for all players. It should really be a faction check in both cases, and each player should have their own faction.

@Night-Pryanik
Copy link
Contributor

I think this should be closed after #29182?

@kevingranade
Copy link
Member

New player in same world after death of existing player will not suffer this problem, but a concurrent game will.

@kevingranade kevingranade added this to the 0.E milestone Sep 5, 2019
@ZhilkinSerg ZhilkinSerg added (S2 - Confirmed) Bug that's been confirmed to exist Character / World Generation Issues and enhancements concerning stages of creating a character or a world and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Sep 18, 2019
@mlangsdorf
Copy link
Contributor

We can try making the your_followers a numbered faction, but there were issues with the loading order the last time I tried this.

@I-am-Erk
Copy link
Member

I-am-Erk commented Dec 10, 2019

Honestly because so many NPC dialogue conditionals are stored globally, this is a problem that persists in a huge number of NPC settings and would be nearly impossible to fix for most of them. I suggest that we just add a warning when you try to make a character in a world that's been played in before, whether the player is dead or not: "Cataclysm: Dark Days Ahead is not really made for multiple runs in a single world. You may experience some bugs if you have already played extensively in this world. Press "esc" to go back and make a new world for your new character, or any key to continue anyway."

We should also make sure that Play Now options try to select "pristine" worlds if there are any available.

@ElonSatoshi
Copy link

ElonSatoshi commented Dec 11, 2019

And also make the default world behavior be to delete, not keep.

If we did something like that, would that be enough to close this issue?? Or at least to move it out of the 0.E milestone?

@I-am-Erk
Copy link
Member

I don't mind that solution, actually. Then the warning could go in the options menu.

@ghost
Copy link

ghost commented Dec 30, 2019

Do we now consider this "fixed" for the purposes of 0.E ?

@I-am-Erk
Copy link
Member

Yeah, don't know why it didn't auto close when the pr merged

@kevingranade kevingranade reopened this Dec 31, 2019
@kevingranade kevingranade removed this from the 0.E milestone Dec 31, 2019
@kevingranade
Copy link
Member

This issue has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there:

https://discourse.cataclysmdda.org/t/followers-retained-by-new-character/25024/2

@kevingranade
Copy link
Member

This issue has been mentioned on Cataclysm: Dark Days Ahead. There might be relevant details there:

https://discourse.cataclysmdda.org/t/two-characters-three-horses-one-crazy-world/25085/2

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 Character / World Generation Issues and enhancements concerning stages of creating a character or a world NPC / Factions NPCs, AI, Speech, Factions, Ownership (S2 - Confirmed) Bug that's been confirmed to exist
Projects
None yet
Development

No branches or pull requests

8 participants