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 turns into a container" #50

Open
FakelsHub opened this issue Mar 31, 2021 · 6 comments
Open

"NPC turns into a container" #50

FakelsHub opened this issue Mar 31, 2021 · 6 comments
Labels

Comments

@FakelsHub
Copy link
Collaborator

Do I understand correctly that this bug occurred when the DAM_LOSE_TURN flag was not reset ?

If so, then the purpose of hacking the critter_wake_clear_ function is not entirely clear
https://github.com/FakelsHub/sFall-Extended/blob/765a593f91c397a95aadae86552a63d5f1510af8/sfall/Modules/BugFixes.cpp#L1057
He does an excellent job of "stand up" the critters when exiting the map.

@NovaRain
Copy link

NovaRain commented Apr 1, 2021

Here's Crafty's old post about this:
https://www.nma-fallout.com/threads/fo2-engine-tweaks-sfall.178390/page-123#post-4065690

I'm not entirely sure what's the root cause of the bug, but leaving the map when party members are in "lost his turn" in combat did trigger the bug in the past.

@FakelsHub
Copy link
Collaborator Author

I'm just trying to sort out the critter_wake_clear_hack and DAM_KNOCKED_OUT bug fixes again
I remember that we have already talked about this topic, and this communication is somewhere lost in the comits.

@NovaRain
Copy link

NovaRain commented Apr 1, 2021

I'm just trying to sort out the critter_wake_clear_hack and DAM_KNOCKED_OUT bug fixes again
I remember that we have already talked about this topic, and this communication is somewhere lost in the comits.

Is that about the order of proc execution? Probably around the commits during 4.1.9.
Maybe the whole bug/fix need some reviews?

@FakelsHub
Copy link
Collaborator Author

about the flag, now I have questions about this flag check
https://github.com/FakelsHub/sFall-Extended/blob/765a593f91c397a95aadae86552a63d5f1510af8/sfall/Modules/BugFixes.cpp#L1090

This check was not included in the original fix.

@NovaRain
Copy link

NovaRain commented Apr 1, 2021

about the flag, now I have questions about this flag check

https://github.com/FakelsHub/sFall-Extended/blob/765a593f91c397a95aadae86552a63d5f1510af8/sfall/Modules/BugFixes.cpp#L1090

This check was not included in the original fix.

You added it in commit 6336d68.

@FakelsHub
Copy link
Collaborator Author

it remains for me to remember for what occasion I put it there, now I have no idea what it is there for, maybe it's my mistake.
too bad I didn't put a comment there.

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

No branches or pull requests

2 participants