Mount & Blade: Warband

Mount & Blade: Warband

Phantasy Calradia
vassandor Nov 19, 2024 @ 9:41am
Game crashing when I save
Does this happen for everyone? Every time I save the game crashes either instantly or within 1 minute. The game is saved, but having to reload all the time is pretty annoying.
< >
Showing 1-15 of 25 comments
gsstar  [developer] Nov 19, 2024 @ 11:28pm 
I get a crash once in awhile immediately after saving but not every time. For me it is more like 1 in 20. The save always takes. I get that whether or not WSE2 is loaded, so it's notapure WSE2 issue. I originally thought this happens after Warband makes a backup of the game, as I always find a "last_savegame_backup.sav" file in the savegames folder, which is at Windows Documents. I don't have any commands forcing a save so it is coming from outside the mod.
gsstar  [developer] Nov 21, 2024 @ 12:19am 
It seems somewhat more stable without WSE2 loaded but still crashes once in awhile during saves. I'll continue monitoring and try changing module.ini settings to see if it influences this.
vassandor Nov 21, 2024 @ 9:13am 
I used a "save as" on another slot and it seemed to fix the issue. I have no idea what caused it.
gsstar  [developer] Nov 21, 2024 @ 11:05pm 
@vassandor this is a good work around but I'll have to keep exploring to see if I can find anything to change the behavior. It used to work cleanly so there aren't that many changes; plus it works when there isn't a backup save yet or needing to overwrite an existing save. I still see it when WSE2 is NOT running, but far less often, so WSE2 seems to magnify the problem at the moment. I still prefer WSE2 for compile test compile sessions but not sure if its 100% worth its side effects. Not being able to create characters at the moment is a drag under WSE2; mainly because I don't have access to the window that pops up asking how I want to handle saves (its not part of the scripts the mod has access to, it's coming from the Warband engine). Outside these, WSE2 is faster, not doubt about it.
gsstar  [developer] Nov 25, 2024 @ 5:41am 
I changed the module.ini defaults at all the ones I could change without blowing up savegames and have not crashed, either with or without WSE2 running, but I really shotgunned them and want to see which one was "it". Also early games don't crash, it is later ones that did. maybe they only crash after I get a ship. I will test more and when I think I know the answer I'll update again. There is a lot to do for one person :)) It didn't used to crash like this, but I did a huge merge for C series to bring back all the quests I turned off in the last years, and this slipped in. It was > 200,000 lines changed :((( so not easy to find where/how/what. But I am persistent.

I expect it is a two factor problem - either the merge or the module.ini changes could work, but not the two in combination, making it difficult to debug.
Last edited by gsstar; Nov 25, 2024 @ 5:42am
gsstar  [developer] Nov 25, 2024 @ 8:04am 
I can't make it crash under WSE2 even with a ship. I'll try more tests and if it seems my module.ini changes work cleanly in both non-WSE2 and WSE2 I'll update the module.ini tomorrow, without waiting for more content (gotta love Steam for making it easy on players). I used to hold back because updates were a drag for other people, not just me.
vassandor Nov 26, 2024 @ 1:32am 
I havent run into such frequent crashing since then, what bothers me more is the inability to leave siege battles once I'm downed. My soldiers dont charge upon my death, despite the setting being toggled on, and especially in siege defence, the enemy ai gets stuck on stuff outside the walls and I have to alt+f4 to end the battle. It's especially annoying with how I still get 1 shot by 250dmg spells with 10 magic defense when I'm on the walls.
gsstar  [developer] Nov 26, 2024 @ 7:53am 
I won't update today and tomorrow I will review the two (really 3) different siege missions. the mission is different depending on whether ladders or a tower is used, and then there is the inner tower and defender charge as a 3a and 3b all different missions with potentially different behavior.
gsstar  [developer] Nov 26, 2024 @ 10:08pm 
@vassandor: If you are getting reliably 250 damage from incoming fireballs, change your armor. You may have heavy plate, which is definitely making matters worse for you. Stick to Elf/Drow silk or mithril based armors, the mithril suit at four ways inn, laminates from Kherghits, silk based caster robes and head gear, or if those are too expensive try cuir boilli leather as something reasonably cheap to make. The lower weight helps dodge and the material matters especially.

from Reports: click Reference Material: View all Lords (and yourself): (the left arrow at the top to go to the last selection): and now click yourself. At resistances, all the pluses and minuses from the materials worn times their surface area (roughly) gave a percent plus or minus as a resist for fire as F. A negative value amplifies damage and a positive value reduces damage. This is independent from your magic defense skill, which is different and occurs elsewhere. Non-magical Metal is worst, plate, banded, and chain from worst to best, although non magical metal offers some protection from cleric "spells". (Good aligned) Clerics add to magic defense, again not at this layer, while necromancers reduce effective defense, from the presence of positive and negative energy pools. I won't touch the damage, but the retreat at sieges I will look at.

Arguing with me will have you encouraged to start modding by the way; repetitively bringing up how you were one shotted like it is my fault could be a passive aggressive argument. I can get aggressive too, but lets skip that.
Last edited by gsstar; Nov 26, 2024 @ 10:25pm
gsstar  [developer] Nov 26, 2024 @ 10:37pm 
If you want to mod, the passive resist per agent is set at mission_templates npc_paladin_pre_aura. This calls script_find_agent_resists, found at module_scripts search on find_agent_resists, which calls script_get_mat_to_resist_value to find the material used at each slot, then the values returned are multiplied by a scaling according to the slot being examined:
head 3
body 5
legs 3
gloves 2

Each gear slot is examined for material, scaled, then the result added to a cumulative total by damage category. Once all equipped gear slots are checked the total is written to a slot at the agent database, to save these types of calculation having to be done repetitively during battle. The player is rechecked every 21 seconds or so, because sneaky players may change their gear depending on whether I forgot to remove chests etc.

This passive resist is the last adjust to every spell's damage; the magic aptitude amplifies outgoing damage while magic defense tends to partially reduce that amplification, but the amount reduced by defense differs by spell. I don't get hit by 250 points damage reliably, but I also tend to steer away from plate armor as it interferes with my freedom of movement. I seldom try to tank at a siege, and instead attack ladders by spell or ranged from the sides so that I am not the first target.

Ladder sieges are best for defenders as the height difference caster to target offers more protection from lightning and ice storm. Tower sieges are the same height for casters at the tower so they will have more damage to you. Fireball is the great equalizer, although lightning might do more damage to the single intended target and few armors resist cold very well, excepting fur based.
vassandor Nov 27, 2024 @ 12:53am 
Originally posted by gsstar:
@vassandor: If you are getting reliably 250 damage from incoming fireballs, change your armor. You may have heavy plate, which is definitely making matters worse for you. Stick to Elf/Drow silk or mithril based armors, the mithril suit at four ways inn, laminates from Kherghits, silk based caster robes and head gear, or if those are too expensive try cuir boilli leather as something reasonably cheap to make. The lower weight helps dodge and the material matters especially.

from Reports: click Reference Material: View all Lords (and yourself): (the left arrow at the top to go to the last selection): and now click yourself. At resistances, all the pluses and minuses from the materials worn times their surface area (roughly) gave a percent plus or minus as a resist for fire as F. A negative value amplifies damage and a positive value reduces damage. This is independent from your magic defense skill, which is different and occurs elsewhere. Non-magical Metal is worst, plate, banded, and chain from worst to best, although non magical metal offers some protection from cleric "spells". (Good aligned) Clerics add to magic defense, again not at this layer, while necromancers reduce effective defense, from the presence of positive and negative energy pools. I won't touch the damage, but the retreat at sieges I will look at.

Arguing with me will have you encouraged to start modding by the way; repetitively bringing up how you were one shotted like it is my fault could be a passive aggressive argument. I can get aggressive too, but lets skip that.
Im wearing all mage robes+ogre gauntlets. Grand mage hood with 16 in magic and the chest is 12 in magic, still getting occasionally instakilled with 250 dmg. legs is drow armor with 0 in the magic department.
gsstar  [developer] Nov 27, 2024 @ 1:07am 
these are good armors. You must be fighting specific high lords, expert mages, tower mages, or some other high tier caster. I don't expect such damage from mage adepts or lower, and these the bulk of mage casters. Stand a little to the side (8-9 meters) to be out of the blast radius for the ladder defenders and add a few clerics near the shield wall troops in your order of battle for a better chance at recovery from repeated hits to the spot just past the ladder. I have addressed the not being able to retreat while in deathcam mode for today's patch. It needed one line changed.
gsstar  [developer] Nov 27, 2024 @ 2:18am 
by the way you could set cheat mode to 5 to enable spell trace. After getting a 250 point hit press L key to see who threw that fireball. It will clog up the message display though from too much traffic in a big fight, but it is accurate, just the log fills very fast so it only sees the last few seconds in a huge fight. You will see who threw which spell, but not their damage because each target is a different value. There are a number of hidden systems to answer questions like this. Pretty much nothing is secret but "under documented" is a fair appraisal.
gsstar  [developer] Nov 27, 2024 @ 10:47am 
I think I found the error but tell me if you think you cannot tab out and retreat during sieges when in deathcam mode. I'll get it right sooner or later ;)
gsstar  [developer] Nov 27, 2024 @ 1:16pm 
I managed to crash after saving, so there is still something to sort out with that. It seems more rare than it was, but it is still there.
< >
Showing 1-15 of 25 comments
Per page: 1530 50