When my character's name appears in dialog, the reference instead shows up as "%pfn[undefined]". I've noticed it both in the normal dialog window when you talk to a random npc, and in on screen pop ups, like when an npc says they have no words for you because your rep is too low. But my character name shows up normally in quest letters from NPC.
[0.11.0] Character name references appear as "%pfn[undefined]" [RESOLVED 0.11.1]
-
- Posts: 44
- Joined: Sat Jan 30, 2021 6:24 pm
- Location: US-central KY
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: [0.11.0] Character name references appear as "%pfn[undefined]"
Looking at string tables, the "%pfn" macro only appears once as a variant of text record 8558 - which is the text shown in your screenshot. It doesn't appear anywhere else in game data.
This macro looks like a typo and should be "%pcf" for player's first name. I'll move to bug reports so text can be updated in core.
Thanks for report!
This macro looks like a typo and should be "%pcf" for player's first name. I'll move to bug reports so text can be updated in core.
Thanks for report!
- Ferital
- Posts: 282
- Joined: Thu Apr 05, 2018 8:01 am
Re: [0.11.0] Character name references appear as "%pfn[undefined]"
I submitted a little fix.
-
- Posts: 44
- Joined: Sat Jan 30, 2021 6:24 pm
- Location: US-central KY
Re: [0.11.0] Character name references appear as "%pfn[undefined]"
Glad to help. I'll see if I can catch the undefined name reference in the dialog window. I expect it's a similar issue, but not spelled the same.