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 dupe and crash #1572

Closed
BROtania opened this issue May 25, 2022 · 3 comments · Fixed by #1582
Closed

npc dupe and crash #1572

BROtania opened this issue May 25, 2022 · 3 comments · Fixed by #1582

Comments

@BROtania
Copy link

Describe the bug

eazy step to take every NPC's items, and sometimes crashes
when crash, it was written that the object was not found

Steps To Reproduce

Dupe:

  1. go to NPC's items
  2. wait 1 move
  3. take 1 item
    *NPCs will not have time to react in time
  4. drop this item
    *a dialog box appears
  5. say "a) i will drop this item"
  6. dialog box close, item is your

How to crash:

  1. go to NPC's items
  2. wait 1 move
  3. take 2 items
    ... i dont remember( , i test it on EMP grenades
  4. ignore massage "NPC trying to talk to you"
    *crash, writing that cant find item

Expected behavior

Fix that NPCs immediately react to the theft

Screenshots

No response

Versions and configuration

i test it on win64(not msvc), but i think it works on another platforms

Additional context

debug.log
crash on 4th massage from up, i think

@SaintCirno9
Copy link
Contributor

I can't really pick up two items at once without triggering the npc talk dialog, but the first problem does exist, gonna find a solution for it.

@BROtania
Copy link
Author

I can't really pick up two items at once without triggering the npc talk dialog, but the first problem does exist, gonna find a solution for it.

I couldn't repeat the dup, but it's link to taking two items and a ignore dialogue when drop item

@SaintCirno9
Copy link
Contributor

SaintCirno9 commented May 29, 2022

Well, I can't simply make the npc talk to you about the thievery immediately once you steal something.
It seems the witnesses only talk if they are close enough to you, otherwise they will try to move to you then talk, that's by design.

EDIT: After some discussion with the dev team. I decided to disable the complicated NPC behavior and just make the talk happen immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants