how to add new spellbook
Posted: Sunday, 30th December 2018, 15:14
I was add new spellbook(containing some of charm spells), but there is a problem that associated with "spl-book.cc"
It occasionally causes an error with the message "book of 45 out of range 0 (0) .. (int)ARRAYSZ(spellbook_templates) (44)".
I think this will be caused by maximum number of fixed-books.
However, I only found the definition of the maximum number of books in "book-type.h"(#define NUM_FIXED_BOOKS (MAX_FIXED_BOOK + 1))
I checked the changes when the Fen Folio was added, but it did not helpful. What is the solution to solve this crash?
It occasionally causes an error with the message "book of 45 out of range 0 (0) .. (int)ARRAYSZ(spellbook_templates) (44)".
I think this will be caused by maximum number of fixed-books.
However, I only found the definition of the maximum number of books in "book-type.h"(#define NUM_FIXED_BOOKS (MAX_FIXED_BOOK + 1))
I checked the changes when the Fen Folio was added, but it did not helpful. What is the solution to solve this crash?