Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: World gen crashing regularly.  (Read 1315 times)

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
World gen crashing regularly.
« on: November 15, 2013, 03:46:45 am »

So! I've just started testing a recent version of my mod. I've added quite a bit of STUFF since I last tested, so I unfortunately don't know exactly what could be setting it off. One thing that comes to mind is I have several plants used for "middling" steps in plant processing that do not spawn in the world, nor have seeds, nor have anything but a structural mat, and maybe an alcohol/milling/extract mat. But it seems to be crashing shortly after civilization generation, in the first few years of the world history, so I don't think it'd be the plants.

Are there any common causes of world gen crashes? I doubt it's taking up too much memory, there really isn't enough to the mod for that to happen yet I'd think. The error log is completely empty.

So uhh, yeah. Any common causes of world gen crashes? Or should I start systematically removing what I added and see what's setting it off? :P 

EDIT: Naturally it works on the fourth try without a hitch. It still seems to be giving me trouble most of the time though.
« Last Edit: November 15, 2013, 03:52:08 am by Seriyu »
Logged

sackhead

  • Bay Watcher
    • View Profile
Re: World gen crashing regularly.
« Reply #1 on: November 15, 2013, 03:57:12 am »

does worldgen always crash?.
what stage does it crash at
Logged

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: World gen crashing regularly.
« Reply #2 on: November 15, 2013, 03:58:22 am »

While it's generating the history, usually less then ten years in, sometimes before it even starts generating the history, although it made it up to 30 years once on a small world.

EDIT: Oh, and it made it through twice, once when I commented out megabeasts (didn't try more then one with that, gonna try it some more to make sure), and once seemingly completely at random.

EDIT2: Yeah, it definitely seems to be the megabeasts. I'll go ahead and post my megabeast raws and people can point out if anything seems particularly out of whack.



I did try something new with that interaction, so it's entirely possible that I've caused some kind of terrible world gen chain reaction.
« Last Edit: November 15, 2013, 04:09:29 am by Seriyu »
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: World gen crashing regularly.
« Reply #3 on: November 15, 2013, 07:57:34 am »

Creatures dont use interactions in world-gen. So its certainly not the cause. But your megabeast is missing a lair, which can cause crashes. I remember that all BIOME:ANY_LAND MEGABEAST without a lair assigned can cause worldgen to crash. Maybe it helps.
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 :::

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: World gen crashing regularly.
« Reply #4 on: November 15, 2013, 06:56:08 pm »

That certainly seems to have done it! Thanks Meph.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: World gen crashing regularly.
« Reply #5 on: November 15, 2013, 07:33:23 pm »

That certainly seems to have done it! Thanks Meph.
YEAH!  :D Happy to help, I know how frustrating crashes can be.
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 :::

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: World gen crashing regularly.
« Reply #6 on: November 15, 2013, 08:57:26 pm »

Definitely! I saw it happen and was basically like "well this is gonna take all night". Ends up it was fairly simple! I'll be sure to run a world gen periodically to make sure nothing I'm adding is breaking anything from now on.