KNOWN ISSUE: ON LOAD GAMES FROM MENU, CRASH ON TICK WORKAROUND: Close and relaunch BannerLord
CAUSE: Town Item Consumption behavior is loading an unknown expectation upon GameTick, causing a Key Not Found exception. Presumably, this is a missing Item Key from Better Food, but since the BF items show in inventory before the GameTIck, I don't really know how to address it. Please use the workaround, closing and relaunching BL.
From looking at the error message and into the campaignsystem.dll a few things come to my mind (in no particular order):
- does the food need to be tagged as items/food or both for the city to consume? - is the list of food items in the base game hardcoded in size? - did you add your food properly to every list it needs to be in? - do towns and parties use different food lists? - do you need to add your food to consumption behaviour (base) or (base) item categories? - do you need to add line breaks? - does the consumption expect just one item per food category? - how does the list sorting work with multiple foods in the same category? - are underscores accepted from the dictionary functions in naming? - are the number of keys limited the dictionary can get in one go? - is there actually a get_Item function? *- is it compatible with "Better Time"´s time acceleration?
just my thoughts as someone with rudimentary understanding, of how code works, hope it helps :)
Yeah, this is a problem which I have not been able to fix.
The added items show up fine when you load a save (in the Inventory), but for some reason the Towns cannot figure out how to consume them, comes up with the Key Not Found error.
I'd love to learn how to fix this, but I've not had any luck.
68 comments
WORKAROUND: Close and relaunch BannerLord
CAUSE: Town Item Consumption behavior is loading an unknown expectation upon GameTick, causing a Key Not Found exception. Presumably, this is a missing Item Key from Better Food, but since the BF items show in inventory before the GameTIck, I don't really know how to address it. Please use the workaround, closing and relaunching BL.
I will take any help we can get on this! :-)
- does the food need to be tagged as items/food or both for the city to consume?
- is the list of food items in the base game hardcoded in size?
- did you add your food properly to every list it needs to be in?
- do towns and parties use different food lists?
- do you need to add your food to consumption behaviour (base) or (base) item categories?
- do you need to add line breaks?
- does the consumption expect just one item per food category?
- how does the list sorting work with multiple foods in the same category?
- are underscores accepted from the dictionary functions in naming?
- are the number of keys limited the dictionary can get in one go?
- is there actually a get_Item function?
*- is it compatible with "Better Time"´s time acceleration?
just my thoughts as someone with rudimentary understanding, of how code works, hope it helps :)
Let me know!
it will always crash after you try and load after a save - a daily tick over and it crashes.
The only work around is leaving the game completely and then loading your save....
The added items show up fine when you load a save (in the Inventory), but for some reason the Towns cannot figure out how to consume them, comes up with the Key Not Found error.
I'd love to learn how to fix this, but I've not had any luck.
Hey, it works with AD 1259. But, what "load after" means? Above or below Item/Workshop mods?
dont wanna farm 430 points in Leadship
Safe to add to an existing save?