Page 2 of 2

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

Posted: Thu Jul 25, 2019 9:49 am
by BansheeXYZ
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?

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

Posted: Fri Jul 26, 2019 3:16 am
by Floppy N'Wah
It's the Nightblade bio. if this helps anyone?

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

Posted: Fri Jul 26, 2019 7:41 am
by BansheeXYZ
Floppy N'Wah wrote: Fri Jul 26, 2019 3:16 amIt'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.

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

Posted: Fri Jul 26, 2019 11:26 am
by Hazelnut
Great work guys thanks, so it probably stands for bio name then. I'll implement this soon.

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

Posted: Fri Jul 26, 2019 12:08 pm
by Ferital
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.

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

Posted: Fri Jul 26, 2019 12:33 pm
by mikeprichard
Great work! This has been a very visible bug in DFU videos for some time; nice to see it fixed.

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

Posted: Fri Jul 26, 2019 1:06 pm
by Ferital
Hazelnut, I'm implementing it at the moment, I should push a PR in a few minutes.

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

Posted: Fri Jul 26, 2019 1:11 pm
by Hazelnut
Okay thanks for letting me know. I will review the PR one it's up.

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

Posted: Fri Jul 26, 2019 1:26 pm
by Ferital
PR submitted.