Fixing NaN bug

AraAra

Member
Jun 15, 2020
6
0
25
I previously posted twice on the bug report thread how my character could crash the game for some reason whenever she does a tease attack to targets, the frequency is random and it would sometimes proc while other times it wouldn't.

I noticed something pretty curious and suspected it had something got to do with lust amount.

One thing I observed was clicking on the lust stat in battle shows current/??? /maximum lust. To illustrate an example would be 30/45/100, so if I understand it correctly, current lust would be 30 with the maximum lust being 100.

Now the question is, what is the middle number? As I noticed each time the middle number would become NaN for me.

If it helps, I did save edit quite a bit in the past, so could it be that the middle value is going out of range and causing the crash?
 

Attachments

  • chrome_2022-10-23_16-54-16.png
    chrome_2022-10-23_16-54-16.png
    184.8 KB · Views: 1

Theron

Well-Known Member
Nov 8, 2018
3,666
1,391
44
Minimum/Current/Maximum. NaN means 'Not a Number'. Something is doing an improper operation on your Current Lust. Or your Current Lust is acting improperly with normal operations.

Found one of your reports and did some testing. What's weird is the inconsistency. Your Current Lust is a valid value when the save loads. Save Editing may be the cause, but I'm not sure how, in this instance.
Also, bumping a report from time to time is considered acceptable, so long as the bug persists.

Doesn't seem to happen when just sleeping. Did happen once when I was on Uveto. Savicite encounter?
 
Last edited:
  • Like
Reactions: AraAra

AraAra

Member
Jun 15, 2020
6
0
25
Minimum/Current/Maximum. NaN means 'Not a Number'. Something is doing an improper operation on your Current Lust. Or your Current Lust is acting improperly with normal operations.

Found one of your reports and did some testing. What's weird is the inconsistency. Your Current Lust is a valid value when the save loads. Save Editing may be the cause, but I'm not sure how, in this instance.
Also, bumping a report from time to time is considered acceptable, so long as the bug persists.

Doesn't seem to happen when just sleeping. Did happen once when I was on Uveto. Savicite encounter?
Thank you for your insight! :)

My encounters were mostly tested on Dhaal, I usually moved around Gyre's End to trigger encounters where it can quite reliably crash or bug out.

One particular encounter is with the Zaika Hydra where fighting it till 0 HP causes the combat text to say "The resistance is knocked out of the Hydra...etc" but combat doesn't end with the victory scenes and you can perpetually fight a 0 HP hydra lol.

Only way I fixed it was to run away.

I noticed the NaN crash can happen sometimes when the enemy uses a tease attack or anything that affects lust.

Could it be one of the perks that is usually used by an NPC but due to it being save edited onto the PC, it causes a weird interaction?
 

Theron

Well-Known Member
Nov 8, 2018
3,666
1,391
44
Could it be one of the perks that is usually used by an NPC but due to it being save edited onto the PC, it causes a weird interaction?
Maybe. One way to test would be to remove those perks, then add them one at a time. The randomness makes it more difficult.
 

AraAra

Member
Jun 15, 2020
6
0
25
Maybe. One way to test would be to remove those perks, then add them one at a time. The randomness makes it more difficult.
Okay, so a small update with this, I removed all the perks and went around messing with encounters, I still do get NaN in my current lust.

I noticed the Zaika Gangers encounter seems to reliably crash the game every single time I make a move, same with the Gabilani Cyborg too. I tried going to other locations (Uveto in my testing) and well, even with the perks removed it still causes the same bug. :/

I'm pretty puzzled by what might be the issue here since if perks was the offending issue, removing all of the perks should fix it, except it doesn't.
 

Attachments

  • Luna (H) - 8Hrs 31Mins, 409 Days - Dhaal, Uond Ephine (1) NP..json
    853.2 KB · Views: 2

Theron

Well-Known Member
Nov 8, 2018
3,666
1,391
44
Your save is so heavily edited, it could be anything. On the one hand, if you want this figured out, the best place is the Bugs forum. On the other, if it's because of Save Editing, it's not really their responsibility.
 

AraAra

Member
Jun 15, 2020
6
0
25
Your save is so heavily edited, it could be anything. On the one hand, if you want this figured out, the best place is the Bugs forum. On the other, if it's because of Save Editing, it's not really their responsibility.
You have a fair point, I guess my best bet is to perhaps just start from the beginning or something lol :(

Thank you for your assistance nonetheless! I truly appreciate it! :)