Accuracy reduced to 0 and Armor reduced to 0 (nan)

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Accuracy reduced to 0 and Armor reduced to 0 (nan)

#1 Post by Planetus »

My Solipsist-themed Adventurer was doing wonderfully until I hit Sandworm Lair 3. I'm not sure when, but somewhere in there my accuracy was persistently dropped to 0 and my armor to 0 (nan). If I de-equipped everything, these values remained, but if I re-equipped everything, my accuracy was 1000 for both main hand and off hand. Even without acting in any way, if I checked my character again, off hand accuracy would be back to 0 and main hand would drop by roughly 50% (value varied, but always around 500-600). A third time, and they were both 0.

Attached is my te4-log.txt. I don't know if that will help anyone out any. I also have the save file if anyone wants it.
Attachments
te4_log-AccErr.rar
(116.43 KiB) Downloaded 144 times

Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#2 Post by Planetus »

As an update, this happened with another character just now. This time, though, I noticed the change earlier and managed to track down some odd stuff in te4_log.txt. I've attached the entire segment of events that seems to be associated with this, which is all about being Fearscaped (though not the first time for this character). The part that really makes me think this is the problem, though, is:

Code: Select all

[PROJECTOR] starting dam	inf
[PROJECTOR] after difficulty dam	inf
[PROJECTOR] res	45.501375760333	0.54498624239667	 on dam	nan
[PROJECTOR] after resists dam	nan
[PROJECTOR] stunned dam	nan
[PROJECTOR] numbed dam	nan
[PROJECTOR] Chant of Fortress (source) dam	nan
[PROJECTOR] final dam after static checks	nan
[PROJECTOR] final dam after hooks and callbacks	nan
Attachments
te4_log-AccErr.txt
(14.6 KiB) Downloaded 160 times

Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#3 Post by Planetus »

Aaand now, when I try to load the character, I just get a screen that flickers between black and the load screen, with the game music playing.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#4 Post by HousePet »

Did you get any more of that log? We really need to know what the offending talent is.
My feedback meter decays into coding. Give me feedback and I make mods.

Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#5 Post by Planetus »

Sorry, I've gotten rid of the rest of it. I only saved what was in that attachment. It was VERY long, and the rest of it seemed pretty normal. Before that Fearscape transition, I was hitting normally, though. However, when I try to load that character now, I get this (see attachment).
Attachments
te4_log.txt
(135.5 KiB) Downloaded 155 times

Zireael
Archmage
Posts: 449
Joined: Tue Jun 18, 2013 7:24 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#6 Post by Zireael »

This error says your psionic_feedback or psionic_feedback_max is nil.

Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#7 Post by Planetus »

Just out of curiosity, any idea if this is more likely to be the source of or an effect of the error? I noticed that several values seem to have come up as nan or inf in my original post. Odd values coming up as nil that shouldn't be (guessing that's feedback max, since feedback is often 0) can easily be the result of somethingorother divided by inf, but then again, inf and nan can be somethingorother divided by 0.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#8 Post by HousePet »

Basically, something is inflicting a debuff with a nonsensible value. Most likely something acidic.
My feedback meter decays into coding. Give me feedback and I make mods.

Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#9 Post by Planetus »

Ok, I thought until now that it was related to me using the Aether Operator addon. Just now, however, I ran into what I think triggered it. I noticed during a fight with a unique rogue-brawler that I had a cross-class (whatever it's called) negative status effect with 'inf' given as the duration. Here is the log of that battle (..._inf_status_short.txt). I exited and saved the record, but the original file is too big to upload. I cut it down to a bit before the fight that generated the status effect, so hopefully everything is there, but I'm saving all versions now and can put the whole file on some file-sharing server if need be. Now, starting that save up, I get the next log (..._not_load.txt) which, if I'm reading this right, says a status effect has duration of 'nil'.
Attachments
te4_log_not_load.txt
Log of trying to save load file with inf duration status effect
(198.67 KiB) Downloaded 165 times
te4_log_inf_status_short.txt
Log of battle that generated inf status effect
(94.75 KiB) Downloaded 177 times

Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#10 Post by Planetus »

Just a quick bump. Has anyone looked into this yet? The full log file is available here.

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#11 Post by edge2054 »

I looked. It seemed really random when it popped up and I couldn't find any common denominator.

Have you seen this issue when you're not running addons?

0player
Uruivellas
Posts: 717
Joined: Fri May 24, 2013 4:27 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#12 Post by 0player »

I found a bug in vanilla that mixes up arguments in a wear method of Player/Actor.
Sinced any table might've gotten into a place it shouldn't have, that may very well be the case of these errors.
The occurence is fixed in git now, anyone who would be so kind to try and repeat their setup would be much welcome.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#13 Post by HousePet »

Its been solved: The Acid Blood trigger doesn't check if the source is dead.
My feedback meter decays into coding. Give me feedback and I make mods.

Taikaponi
Yeek
Posts: 14
Joined: Wed Aug 10, 2011 3:09 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#14 Post by Taikaponi »

Hi,

it's been solved? I have a lvl 30+ reaver going strong, or was, until this happened to me as well. Can't even check my chars attack page w/o LUA errors. Same happens on mouse hover over character.

I can't hit anything without getting errors about CombatAttack being "C= -1" or something like that.

I can shoot same spell ad infinitum once every turn, nothing costs anything since spells trigger a hit on reaver -> LUA errors. Acidic blood is 5/5, so can't take enough points away from it either.

Basically, is my char a goner?

Planetus
Archmage
Posts: 346
Joined: Sat Jun 23, 2012 8:44 pm

Re: Accuracy reduced to 0 and Armor reduced to 0 (nan)

#15 Post by Planetus »

I just saw it happen in another character (and I have the whole log with it popping up right at the end if anyone wants it), and it happened right after an Invoker died, when his Congeal Time bolt hit me the next turn.

I'm wondering if maybe a lot of things don't check to see if the actor is dead. So far I've seen it happen with Congeal Time (caused Spellshock with inf duration), Acid Bath (not sure what that caused, but one of those), and something (not sure what) that caused Off-Balance.

Good to know it's been identified, going forward I'll just have to make sure not to be hit by any non-undead-dead enemies.

Post Reply