When asking an NPC for any news, you can sometimes get information about a random new ruler of a random kindgom. But from what I remember in Classic, kindgoms with their ruler set in Factions.txt (Daggerfall, Sentinel, Wayrest, Anticlere, Lainlyn...) would use this one instead of generating a random name.
That's not the case in DFU:
0.7.65: wrong ruler in "Any news" [RESOLVED]
- Ferital
- Posts: 282
- Joined: Thu Apr 05, 2018 8:01 am
- Ferital
- Posts: 282
- Joined: Thu Apr 05, 2018 8:01 am
Re: 0.7.65: wrong ruler in "Any news"
After investigating how classic works, I confirm there is an issue there. I'll submit a PR when I'll have time.
In classic, when you get information about the new ruler of any country, the game looks at first for a faction of type "facINDIVIDUAL" using the same region id as the country. And since Factions.txt contains many bugs, this can lead to odd news like that:
In classic, when you get information about the new ruler of any country, the game looks at first for a faction of type "facINDIVIDUAL" using the same region id as the country. And since Factions.txt contains many bugs, this can lead to odd news like that:
-
- Posts: 379
- Joined: Fri Oct 07, 2016 10:41 am
Re: 0.7.65: wrong ruler in "Any news"
I found what the problem is. A faction's "flags" value is assigned from the faction file with =, when it should be |=. Some factions (Sentinel, at least), have their flags value across multiple lines for some reason. This causes only the last value to be used, so the "ruler immune" flag that is supposed to protect story factions from getting the new ruler event gets overwritten. I'm sending a PR for it now.
- Ferital
- Posts: 282
- Joined: Thu Apr 05, 2018 8:01 am
-
- Posts: 379
- Joined: Fri Oct 07, 2016 10:41 am
Re: 0.7.65: wrong ruler in "Any news"
Resolved now.
- Ferital
- Posts: 282
- Joined: Thu Apr 05, 2018 8:01 am
Re: 0.7.65: wrong ruler in "Any news" [RESOLVED]
The issue is still present:
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: 0.7.65: wrong ruler in "Any news" [RESOLVED]
Based on the nature of bug, any saves created prior to fix will likely still have issue. Source faction data is only read when character is created or persistent faction data is missing.
Something you could try is deleting the FactionFile.txt file from your save and reload game. This will force DFU to recreate the persistent faction data. Let me know if problem still persists after that and I'll re-open bug report.
Something you could try is deleting the FactionFile.txt file from your save and reload game. This will force DFU to recreate the persistent faction data. Let me know if problem still persists after that and I'll re-open bug report.
- Nystul
- Posts: 1501
- Joined: Mon Mar 23, 2015 8:31 am
Re: 0.7.65: wrong ruler in "Any news" [RESOLVED]
or delete ConversationData.txt
- Ferital
- Posts: 282
- Joined: Thu Apr 05, 2018 8:01 am
Re: 0.7.65: wrong ruler in "Any news" [RESOLVED]
I first deleted FactionData.txt and the problem was still there (this time with the King of Daggerfall not being Gothryd). I then deleted ConversationData.txt and I can't get any news since then, I always get something like "I try not to spread rumors", even if I set "talk_npcsKnowEverything" using the console command.
- Interkarma
- Posts: 7247
- Joined: Sun Mar 22, 2015 1:51 am
Re: 0.7.65: wrong ruler in "Any news" [RESOLVED]
The rumours in "any news" are on a rotation. They're not related to "knows everything". You just need to pass time until they recycle. Travel around for about 30 days and they'll get repopulated. Once you've reset your faction data, the next rumours generated should have correct ruler names.