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

FilthyCasual523
Posts: 64
Joined: Tue Feb 06, 2018 6:06 am

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

Post 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.

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: %hnr[unhandled] during NPC chat dialog

Post 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.

User avatar
Nystul
Posts: 1501
Joined: Mon Mar 23, 2015 8:31 am

Re: %hnr[unhandled] during NPC chat dialog

Post 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

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: %hnr[unhandled] during NPC chat dialog

Post 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 2256 times

User avatar
Nystul
Posts: 1501
Joined: Mon Mar 23, 2015 8:31 am

Re: %hnr[unhandled] during NPC chat dialog

Post by Nystul »

ah thanks - Ma'am it is ;)

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: %hnr[unhandled] during NPC chat dialog

Post by Interkarma »

Thankyou %hnr! ;)

User avatar
Nystul
Posts: 1501
Joined: Mon Mar 23, 2015 8:31 am

Re: %hnr[unhandled] during NPC chat dialog

Post by Nystul »

haha we are both members of %fnpc ;)

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: %hnr[unhandled] during NPC chat dialog

Post by Interkarma »

:lol: I feel like we could mine this joke for several days if we wanted to.

User avatar
Jay_H
Posts: 4062
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: %hnr[unhandled] during NPC chat dialog

Post by Jay_H »

You know what I heard? %joke.

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

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

Post by Interkarma »

Oh by %god you just had to do that didn't you, %pcf!

Locked