Fascinating! I'll check it out! Thank you!
Viewing post in Caverns of Xaskazien II comments
Hi, I found a very concerning bug: If you free a damsel from a sacrificial stone, and that damsel is a uniquely named NPC, it will give you an insane amount of XP and make the game lag like hell.

I started at level 21 and managed to raise it up to level 128, upon which it looped back to level -128 (I guess this is because level is stored as a byte):


Confirmed, this is fixed. If the damsel had an unusual hero number (which could happen if nothing was assigned) all bets were off in terms of the experience gain you can get from them. I've fixed it everywhere random damsels can be generated and put in an extra catch to treat them as non-heroes if their hero value is out of the ordinary.
Hi, new minor bug: If you have a bone scroll case in your inventory (and no nother items that increase inventory size), and then you click on Reorganize, it's very likely to remove that bone scroll casefrom your inventory and drop a ton of items in the process. This doesn't happen with other containers (potion belt, herb pouch, etc) and it doesn't happen if you have any of those in addition to the case neither.
This I've fixed. It wasn't that after some time a missile weapon stopped granting its benefit - it was always. Unless you were dual wielding, the game was now disregarding the distance strike ability of any missile weapon. This one's serious enough that I'll have to upload a new version, likely today. I'm running through a game as an Archer, trying to replicate the other bug you mentioned above, though I suspect that's completely unrelated to the most current fix. Still, when this run through's done (and I'll have to play during work, between clients), I'll upload the latest - bug fixes, and some new content, too. Thanks for the heads up on all of this.
WAIT A MINUTE! Just looked through the summonrandomspirit function again and saw this line:
potentialalternateswap(dice2);
Which should have been this line:
montype[loop] = potentialalternateswap(dice2);
Which means the game is not considering the new spirits, and YES, this could crash (or more likely freeze) the game! Thank you!
I'm not 100% confident in my fix here. I DID find a bug - monsters would have been unable to teleport to a square containing a monster corpse. And I did find a theoretical problem that could happen (and which could lead to the burst of noise you heard). I've definitely fixed the former issue, may or may not have fixed the crash. Time will tell.

