0.7.2 Win x64: %bn[unhandled] in biography

Curated user bug reports with enough information to reproduce issue. Moderators will move topics here from Help & Support once a bug is confirmed and enough information has been provided.
BansheeXYZ
Posts: 468
Joined: Fri Oct 23, 2015 8:19 pm

Re: 0.7.2 Win x64: %bn[unhandled] in biography

Post by BansheeXYZ » Thu Jul 25, 2019 9:49 am

I've tried several times to get this macro to appear in classic, but I failed to reproduce a biography using it. Maybe someone has a classic save or knows how to hack it in?

Floppy N'Wah
Posts: 10
Joined: Mon Jun 17, 2019 6:10 am

Re: 0.7.2 Win x64: %bn[unhandled] in biography

Post by Floppy N'Wah » Fri Jul 26, 2019 3:16 am

It's the Nightblade bio. if this helps anyone?

BansheeXYZ
Posts: 468
Joined: Fri Oct 23, 2015 8:19 pm

Re: 0.7.2 Win x64: %bn[unhandled] in biography

Post by BansheeXYZ » Fri Jul 26, 2019 7:41 am

Floppy N'Wah wrote:
Fri Jul 26, 2019 3:16 am
It's the Nightblade bio. if this helps anyone?
Thanks, I think I've solved the riddle now. %bn is a random name of your chosen race. So if you chose a Nord, it will be a random Nord name.

User avatar
Hazelnut
Posts: 1374
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: 0.7.2 Win x64: %bn[unhandled] in biography

Post by Hazelnut » Fri Jul 26, 2019 11:26 am

Great work guys thanks, so it probably stands for bio name then. I'll implement this soon.

User avatar
Ferital
Posts: 124
Joined: Thu Apr 05, 2018 8:01 am

Re: 0.7.2 Win x64: %bn[unhandled] in biography

Post by Ferital » Fri Jul 26, 2019 12:08 pm

I just reverse engineered the classic function behind the %bn macro, it's a standard random name generation except it uses the player character race, not a random one. In classic, the gender is randomly chosen, but I suppose it should be changed in DFU to be a male name only, because the %q8 token expansion leads to one of the following "profession":

priest
wizard
sorceror
revolutionary
anarchist
warlord
robber baron
assassin

And these are mostly masculine nouns.

To summarize: %bn (biography name) = random name using the player character race and a male gender.

User avatar
mikeprichard
Posts: 677
Joined: Sun Feb 19, 2017 6:49 pm

Re: 0.7.2 Win x64: %bn[unhandled] in biography

Post by mikeprichard » Fri Jul 26, 2019 12:33 pm

Great work! This has been a very visible bug in DFU videos for some time; nice to see it fixed.

User avatar
Ferital
Posts: 124
Joined: Thu Apr 05, 2018 8:01 am

Re: 0.7.2 Win x64: %bn[unhandled] in biography

Post by Ferital » Fri Jul 26, 2019 1:06 pm

Hazelnut, I'm implementing it at the moment, I should push a PR in a few minutes.

User avatar
Hazelnut
Posts: 1374
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: 0.7.2 Win x64: %bn[unhandled] in biography

Post by Hazelnut » Fri Jul 26, 2019 1:11 pm

Okay thanks for letting me know. I will review the PR one it's up.

User avatar
Ferital
Posts: 124
Joined: Thu Apr 05, 2018 8:01 am

Re: 0.7.2 Win x64: %bn[unhandled] in biography

Post by Ferital » Fri Jul 26, 2019 1:26 pm

PR submitted.

Locked