Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: I FIXED THE CRASH #2  (Read 1243 times)

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
I FIXED THE CRASH #2
« on: August 28, 2013, 01:44:36 pm »

Ha. A helpful user on reddit, some random factor ag brought in, and testing with a unpatched exe showed the source of a crash. The main sources of crashes, I do believe.

Every time a creature died of infection, the game crashed 100% of the time. I suspect frostbite to do the same, other death causes possibly as well. I did replace their strings in the string dump with longer, more atmospheric messages, but these proofed to be too long.

This is the example that crashed the game:
succumbed to infection. => succumbed to infection. After a long battle against sickness and necrosis, the corrupted flesh has found its way into the heart.

HA! Next version of the mod will include this crash-fix, and with spatter-add fixed, this random hive-crash fixed, and this... Wow, I am very optimistic all of a sudden. :)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

FengYun

  • Bay Watcher
    • View Profile
Re: I FIXED THE CRASH #2
« Reply #1 on: August 28, 2013, 02:20:58 pm »

Wow. That's good news. That reddit guy must be a white wizard.
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: I FIXED THE CRASH #2
« Reply #2 on: August 28, 2013, 02:31:20 pm »

Not really. But he posted the crash and save, which was enough. :)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

silentdeth

  • Bay Watcher
    • View Profile
    • Let's Play Dwarf Fortress: Mastwork Mod Season 1
Re: I FIXED THE CRASH #2
« Reply #3 on: August 28, 2013, 04:45:26 pm »

Do the season announcements cause issues too? I have noticed some crashed right at season change. I would stay away from editing that kind of stuff, or provide an alternative download without those kind of low level changes, it can cause issues.
Logged
Let's Play Dwarf Fortress: Masterwork Mod Season 1 | Season 2
Let's Play Kobold Fortress: Masterwork Mod Season 1 | Season 2

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: I FIXED THE CRASH #2
« Reply #4 on: August 28, 2013, 04:45:59 pm »

No, they dont.

EDIT: Just wanted to confirm again, another user on reddit reports that he had a crash, replaced the exe, got a dwarf dying of infection, could play on without crash. :)
« Last Edit: August 28, 2013, 10:51:19 pm by Meph »
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Warriors_X

  • Escaped Lunatic
    • View Profile
Re: I FIXED THE CRASH #2
« Reply #5 on: August 29, 2013, 05:49:25 am »

Thanks meph!

I just made an account to say thanks ;D

I was suffering from the same crash, had it saved ~10 sec before the crash would continually occur. Changing the .exe fixed it :D

Awesome mod :D
Logged

The_Draf

  • Bay Watcher
    • View Profile
Re: I FIXED THE CRASH #2
« Reply #6 on: August 29, 2013, 06:42:49 am »

If I want to test this should I replace dwarffortress.exe from masterwork with the vanilla version?
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: I FIXED THE CRASH #2
« Reply #7 on: August 29, 2013, 09:49:49 pm »

Yes. You will lose the name-changes, but no crash. Next version will have the name-changes (like Ambassador/Diplomacy and so on), without the crashes. :)

EDIT: Locked because the fix is included in the newest version.
« Last Edit: August 30, 2013, 01:53:21 am by Meph »
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::