Error in release version of CB

Post/Author/DateTimePost
#1

sputnikga

Jan 27, 2009 9:46:49
Index out of Range Error/Application Crash

Steps to reproduce:
  • Create a character of whatever type.
  • Add 12 different magic items that are not currently worn. This should fill the list at the bottom of the Magic Item Index on page 2. Create a character sheet now and that list should be filled.
  • Add one more different magic item that is not worn. If you create a character sheet at this point, the application will crash with an Index out of Range error.


This is problematic for those that collect contingency items or keep a variety of potions on hand. My guess is that the code that generates that list is attempting to access a line that doesn't exist. Can you dynamically resize that list or at least add some form of bounds checking so it doesn't crash?
#2

sputnikga

Jan 27, 2009 10:41:20
Further information on this error:

As potions and alchemical items are also listed in this space, this Crash to Desktop (CTD) is particularly annoying for people with Alchemy or the Brew Potion Ritual (or worse, both). Effectively, characters are limited currently to a total of 12 miscellaneous magic items, unequipped magic items, potions, and alchemical items.