Page 1 of 1

Dev build/Linux: quest involving books always pick the same one [RESOLVED]

Posted: Sun Feb 24, 2019 6:03 pm
by pango
If you start a quest involving a random book (say, commoners quest A0C00Y12), the book picked is always "The First Scroll of Baan Dar".
Given it's book ID 0 in books.txt, I suspect quests to not fully initialize all the fields of the books they generate.

Re: Dev build/Linux: quest involving books always pick the same one

Posted: Thu Apr 04, 2019 2:29 am
by pango
It seems that even random loot books are "The First Scroll of Baar"
https://www.youtube.com/watch?v=1jZB0arUJT4&t=745
or he's been very unlucky

(PS I think that was just luck)

Re: Dev build/Linux: quest involving books always pick the same one

Posted: Thu Apr 04, 2019 4:21 pm
by jayhova
I have noticed this. It seems the system stops looking after i finds the first scroll. :lol:

Re: Dev build/Linux: quest involving books always pick the same one

Posted: Thu Apr 11, 2019 4:11 pm
by Midknightprince
I think this stuff ain't working right yet, I figure they know about it but they're doing other stuff, like maybe lycanthropy :D :D :D

Hey man it's possible....

Re: Dev build/Linux: quest involving books always pick the same one

Posted: Thu Apr 11, 2019 5:04 pm
by Jay_H
pango wrote: Thu Apr 04, 2019 2:29 am It seems that even random loot books are "The First Scroll of Baar"
https://www.youtube.com/watch?v=1jZB0arUJT4&t=745
or he's been very unlucky

(PS I think that was just luck)
With the most recent builds I've found books as loot that aren't The First Scroll of Baan Dar. However, as a quest reward I believe it will always be that book.

Re: Dev build/Linux: quest involving books always pick the same one

Posted: Tue Apr 16, 2019 6:52 pm
by SlainByWoodborne
I, too, have encountered an unlikely number of editions of "The First Scroll of Baan Dar" in quests, dungeons, containers, et cetera, in the Win_x64_0.7.91 version.

Wardrobe_w_2_BaanDar_SAVE38.7z
Load this save and look in the wardrobe directly ahead. Verify two books both named "The First Scroll of Baan Dar".

TheRiddle_pt2_BaanDar_SAVE39.7z
Load this save and look in the inventory. Verify "The First Scroll of Baan Dar" is a quest item for the second part of The Riddle.

Wardrobe_w_4_BaanDar_SAVE58.7z
Load this save and look in the wardrobe directly ahead. Verify four books all named "The First Scroll of Baan Dar".

Re: Dev build/Linux: quest involving books always pick the same one

Posted: Sat May 04, 2019 2:43 pm
by R.D.
Is every single book you encounter "The First Scroll of Baan Dar", or is it just common? (This is a question to anyone with this issue)

If you open the console and type "add book" what does it give you?

I'm getting random books with the console command and in treasure.

Re: Dev build/Linux: quest involving books always pick the same one

Posted: Sat May 04, 2019 2:50 pm
by pango
In my experience, books created for quests are always "The First Scroll of Baar".

Books in loot seem random, at least I've seen other books in loot.
"add book n" console works fine and generates random books (mmmh just created one "Book by %ba[nullMCP]", but that's another issue).
The problem must be that quest generator does not use the same code.

Re: Dev build/Linux: quest involving books always pick the same one

Posted: Sat May 04, 2019 3:33 pm
by R.D.
I just pushed a fix for quest reward books.

If random loot is okay now, as it seems to be, then I think we can close this after the fix is merged.

Re: Dev build/Linux: quest involving books always pick the same one

Posted: Sun May 05, 2019 3:13 am
by SlainByWoodborne
If random loot includes containers in buildings in towns, I would say that may also need to be examined.

viewtopic.php?p=23392#p23392