You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems a critical bug: once possessed the creature, in case all the effects are removed, the player is locked inside the PNG.
The player is able to see the list of all the PNG (same faction) as in the group, the PNG can level up (if it is done, there is a segmentation fault of the server) and if logout the .bic file is corrupted and overrided with the PNG schedule.
This is more or less the previous behavior of dominate a PNG but in NWNX 1.69.
How to test:
dominate a creature
run a script in which all the effects are removed
eassssy example to put in PCChat event effect e = GetFirstEffect(oPC); while(GetIsEffectValid(e)) { RemoveEffect(oPC, e); e = GetNextEffect(oPC); }
A solution from scripting side can be done by exploiting the NWNX_ON_EFFECT_REMOVED_BEFORE.
Indeed, it is possible to check if the creature is possessed and then UnpossessFamiliar.
Christian-Vassallo
changed the title
NWNX_PossessCreature
NWNX_PossessCreature: PC corrupted if Effect Removed
Jul 24, 2023
Christian-Vassallo
changed the title
NWNX_PossessCreature: PC corrupted if Effect Removed
NWNX_Player_PossessCreature: PC corrupted if Effect Removed
Jul 24, 2023
Christian-Vassallo
changed the title
NWNX_Player_PossessCreature: PC corrupted if Effect Removed
NWNX_Player_PossessCreature: PC irreversibly corrupted if Effect Removed
Jul 24, 2023
It seems a critical bug: once possessed the creature, in case all the effects are removed, the player is locked inside the PNG.
The player is able to see the list of all the PNG (same faction) as in the group, the PNG can level up (if it is done, there is a segmentation fault of the server) and if logout the .bic file is corrupted and overrided with the PNG schedule.
This is more or less the previous behavior of dominate a PNG but in NWNX 1.69.
How to test:
eassssy example to put in PCChat event
effect e = GetFirstEffect(oPC); while(GetIsEffectValid(e)) { RemoveEffect(oPC, e); e = GetNextEffect(oPC); }
The result should be something like that
https://i.postimg.cc/L5yHyPSz/image.png
Thanks
The text was updated successfully, but these errors were encountered: