Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Military screen crash WORKAROUND  (Read 2127 times)

Rafal99

  • Bay Watcher
    • View Profile
Military screen crash WORKAROUND
« on: April 07, 2010, 11:57:03 am »

This is about the crash that happens when you try to select a specific squad in the "Positions" section of the Military Screen. If you are unlucky enough that the first squad on the list is the one causing the crash, you probably get a crash every time when entering Military Screen.

It seems that the crash happens when one or more of the members of the crashing squad is assigned with large dagger as a weapon.
The exact cause seems to be DAGGER skill used by large dagger.

The workaround I found is changing this skill, my military screen no longer crashes after this change.
To fix it go to raws folder of your save, the path is something like
"<DFfolder>\data\save\region<whatever>\raw\objects",
find "item_weapon.txt" file,
find [ITEM_WEAPON:ITEM_WEAPON_DAGGER_LARGE] entry,
then change [SKILL:DAGGER] to some other skill, [SKILL:SWORD] seems the most appropriate.

Post in this thread if it fixed the crash for you.

Here is Bug Tracker report about this crash:
http://www.bay12games.com/dwarves/mantisbt/view.php?id=378

If you discover any new causes or workarounds to this crash, post in the bug tracker.


--I am posting this here because you can't make new threads in DF Bug Reports section of the forum.
« Last Edit: April 07, 2010, 12:02:18 pm by Rafal99 »
Logged
The spinning Tantrum Spiral strikes The Fortress in the meeting hall!
It explodes in gore!
The Fortress has been struck down.

freeze

  • Bay Watcher
  • nominal
    • View Profile
Re: Military screen crash WORKAROUND
« Reply #1 on: April 07, 2010, 12:46:45 pm »

Nice find Rafal99, fixed my "press m and crash" savegame.

One quick comment: While there are daggers in the map none of the dwarfs in the crashing squad were assigned daggers. Two have "invdividual choice melee" one is "individual choice ranged"
Logged

Rafal99

  • Bay Watcher
    • View Profile
Re: Military screen crash WORKAROUND
« Reply #2 on: April 07, 2010, 12:52:05 pm »

Yeah I had them with "Individual choice: melee" too, but one of them was immigrant with Novice Knife User skill so he decided the best weapon for him would be a dagger, and equipped it.
Logged
The spinning Tantrum Spiral strikes The Fortress in the meeting hall!
It explodes in gore!
The Fortress has been struck down.

freeze

  • Bay Watcher
  • nominal
    • View Profile
Re: Military screen crash WORKAROUND
« Reply #3 on: April 07, 2010, 12:56:25 pm »

Bingo. My Skilled Lasher doesn't have any whip class available so I think he scans everything else and does a quality evaluation before selecting.
Logged

DarkDragon

  • Bay Watcher
    • View Profile
Re: Military screen crash WORKAROUND
« Reply #4 on: April 22, 2010, 06:35:14 pm »

This should be stickied. It could have saved me a ton of frustration.
Logged

Malkyne

  • Bay Watcher
    • View Profile
Re: Military screen crash WORKAROUND
« Reply #5 on: May 06, 2010, 07:54:30 pm »

Bravo, Rafal99!  That fixed my crash.

Holy cow, I tried all kinds of things to fix that.  You saved my poor dwarves.
Logged

Feral23

  • Bay Watcher
    • View Profile
Re: Military screen crash WORKAROUND
« Reply #6 on: May 16, 2010, 09:13:48 pm »

I too have had a similar crash issue, as I like to embark on goblin towers - told my first military dwarf to equip a high - quality copper dagger left by a dead friendly... never would use it, though he skilled up in the weapon skill from training solo... and suddenly I cannot access the "m" screen - crash every single time. *avoid daggers*
deleted the save, so I cant upload... derp
Logged
Dungeon Crawl Stone Soup tiles ruined Ascii for me forever... and I played Hack when it was new.

s20dan

  • Bay Watcher
    • View Profile
Re: Military screen crash WORKAROUND
« Reply #7 on: May 19, 2010, 07:17:16 pm »

I have registered just so I could say Thanks! You have saved me from starting yet another fortress again, and this is my best fortress so far.
 So Kudos to Rafal99 for the workaround.
Logged