Page 1 of 2

%hnr[unhandled] during NPC chat dialog [RESOLVED]

Posted: Wed May 09, 2018 10:25 pm
by FilthyCasual523
This is the first time I've reported a bug for you guys to look into, and I'm sorry if it's a known issue, but if I ask an NPC for directions and they don't know where something is, they address me as "%hnr[unhandled]" when they respond. Meanwhile they have no problems saying my name upon greeting me.

Re: %hnr[unhandled] during NPC chat dialog

Posted: Wed May 09, 2018 10:30 pm
by Interkarma
Thanks for report! This one isn't so much a bug as just one of the text macros that hasn't been implemented yet. I understand how unexpected it looks though.

I see the unhandled %hnr fairly frequently, so it would be a high-value macro to implement. I'll make sure this goes in soon.

Re: %hnr[unhandled] during NPC chat dialog

Posted: Thu May 10, 2018 11:23 pm
by Nystul
I implemented this one - will resolve either to Sir or Madam for the moment. Where does vanilla take those strings from? did not find these in the text.rsc file. Maybe hard-coded in the exe?
Are there any other possible values for this macro?
I put the strings "Sir" and "Madam" in StreamingAssets/Text/ConversationText.txt file

Re: %hnr[unhandled] during NPC chat dialog

Posted: Thu May 10, 2018 11:45 pm
by Interkarma
Thanks for fixing that one Nystul! Yeah, I think these are hardcoded in .exe. I can see the following two items in my hardstrings dump from fall.exe.
sirmadam-offsets.JPG
sirmadam-offsets.JPG (14.09 KiB) Viewed 2255 times

Re: %hnr[unhandled] during NPC chat dialog

Posted: Fri May 11, 2018 7:50 am
by Nystul
ah thanks - Ma'am it is ;)

Re: %hnr[unhandled] during NPC chat dialog

Posted: Fri May 11, 2018 8:48 am
by Interkarma
Thankyou %hnr! ;)

Re: %hnr[unhandled] during NPC chat dialog

Posted: Fri May 11, 2018 10:45 pm
by Nystul
haha we are both members of %fnpc ;)

Re: %hnr[unhandled] during NPC chat dialog

Posted: Fri May 11, 2018 10:48 pm
by Interkarma
:lol: I feel like we could mine this joke for several days if we wanted to.

Re: %hnr[unhandled] during NPC chat dialog

Posted: Fri May 11, 2018 11:42 pm
by Jay_H
You know what I heard? %joke.

Re: %hnr[unhandled] during NPC chat dialog [RESOLVED]

Posted: Sat May 12, 2018 4:21 am
by Interkarma
Oh by %god you just had to do that didn't you, %pcf!