This script uses zlib, and you probably need to update that script.
Hey avb, another thing to try is this setting:
zlib libramburn_minmp = integer (amount of MP to save IN ADDITION to your autoRecoverMP setting in Mafia)
I generally have mine set around 300 so it won't summon anything unless I've got a lot of excess MP
KoLMafia currently has it loaded such that each summon costs 1mp, when it's up to ~800.
So Mafia is reporting that the next summon will only cost 1mp, but when you go look at the actual costs on your Magical Bookshelf in the relay browser it says over 800mp? Are you using the latest daily build from http://builds.kolmafia.us/?
I haven't done much of anything outside of Mafia for years If you go look at your mystical bookshelf in Mafia after summoning outside Mafia, does it then update to the correct summoning price for your next libram item? I know Mafia doesn't go looking for certain things everytime it is run, but it gleans info from various pages if you go visit them yourself