Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Worldgen freezes with modded race  (Read 909 times)

Jamuk

  • Bay Watcher
    • View Profile
Worldgen freezes with modded race
« on: July 25, 2008, 09:57:49 am »

I have been updating my modded creatures and races for the new version.  I finished adding the files to the game, and updating to fix any errors that displayed in the errorlog, however, now dwarf fortress freezes during worldgen.
I've gone through the files and could find no errors, so if anybody else could help me figure out what is wrong it would be greatly appreciated.
Here is the entity file:
Code: [Select]
entity_lorgon
[OBJECT:ENTITY]
[ENTITY:LORGON]
[CIV_CONTROLLABLE]
[CREATURE:LORGON]
[TRANSLATION:DWARF]
[DIGGER:ITEM_WEAPON_PICK]
[WEAPON:ITEM_WEAPON_AXE_BATTLE]
[WEAPON:ITEM_WEAPON_HAMMER_WAR]
[WEAPON:ITEM_WEAPON_CROSSBOW]
[AMMO:ITEM_AMMO_BOLTS]
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]
[ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
[GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
[SHIELD:ITEM_SHIELD_SHIELD]
[SHIELD:ITEM_SHIELD_BUCKLER]
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]
[TRAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]
[TRAPCOMP:ITEM_TRAPCOMP_ENORMOUSCORKSCREW]
[TRAPCOMP:ITEM_TRAPCOMP_SPIKEDBALL]
[TRAPCOMP:ITEM_TRAPCOMP_LARGESERRATEDDISC]
[TRAPCOMP:ITEM_TRAPCOMP_MENACINGSPIKE]
[TOY:ITEM_TOY_HAMMER]
[TOY:ITEM_TOY_AXE]
[TOY:ITEM_TOY_MINIFORGE]
[CLOTHING]
[SUBTERRANEAN_CLOTHING]
[CURRENCY_BY_YEAR]
[CURRENCY:COPPER:1]
[CURRENCY:SILVER:5]
[CURRENCY:GOLD:15]
[SELECT_SYMBOL:ALL:NEW]
[SELECT_SYMBOL:ALL:NAME_SWAMP]
[SELECT_SYMBOL:ALL:NAME_CAVE]
[SELECT_SYMBOL:ALL:DARKNESS]
[INDOOR_FARMING]
[USE_CAVE_ANIMALS]
[USE_ANIMAL_PRODUCTS]
[COMMON_DOMESTIC_PACK]
[COMMON_DOMESTIC_PULL]
[COMMON_DOMESTIC_PET]
[USE_MISC_PROCESSED_WOOD_PRODUCTS]
[EQUIPMENT_IMPROVEMENTS]
[ART_FACET_MODIFIER:OWN_RACE:256]
[ART_IMAGE_ELEMENT_MODIFIER:CREATURE:64]
[ART_IMAGE_ELEMENT_MODIFIER:PLANT:32]
[ITEM_IMPROVEMENT_MODIFIER:RINGS_HANGING:64]
[ITEM_IMPROVEMENT_MODIFIER:BANDS:384]
[ITEM_IMPROVEMENT_MODIFIER:SPIKES:384]
[ADVENTURE_TIER:4]
[FRIENDLY_COLOR:4:0:1]
[DEFAULT_SITE_TYPE:CITY]
[LIKES_SITE:CITY]
[LIKES_SITE:CAVE_DETAILED]
[TOLERATES_SITE:TREE_CITY]
[LEADER_TYPE:KING]
[SITE_LEADER_TYPE:STANDARD]
[START_BIOME:ANY_WETLAND]
[BIOME_SUPPORT:ALL_MAIN:2]
[DIPLOMAT]
[DIPLOMAT_BODYGUARDS]
[MERCHANT_BODYGUARDS]
[ACTIVE_SEASON:WINTER]
[SIEGER]
[MAX_STARTING_CIV_NUMBER:4]
[START_GROUP_NUMBER:20]
[MAX_POP_NUMBER:500]
[MAX_SITE_POP_NUMBER:200]
[RELIGION:REGIONAL_FORCE]
[SPHERE_ALIGNMENT:NIGHTMARES:512]
[RELIGION_SPHERE:BIRTH]
[RELIGION_SPHERE:CAVERNS]
[RELIGION_SPHERE:CHILDREN]
[RELIGION_SPHERE:NIGHTMARES]
[RELIGION_SPHERE:SACRIFICE]
[RELIGION_SPHERE:STRENGTH]
[ABUSE_BODIES]
[MAYOR]
[PERMITTED_JOB:MINER]
[PERMITTED_JOB:CARPENTER]
[PERMITTED_JOB:BOWYER]
[PERMITTED_JOB:WOODCUTTER]
[PERMITTED_JOB:ENGRAVER]
[PERMITTED_JOB:MASON]
[PERMITTED_JOB:ANIMAL_CARETAKER]
[PERMITTED_JOB:ANIMAL_TRAINER]
[PERMITTED_JOB:HUNTER]
[PERMITTED_JOB:TRAPPER]
[PERMITTED_JOB:ANIMAL_DISSECTOR]
[PERMITTED_JOB:FURNACE_OPERATOR]
[PERMITTED_JOB:WEAPONSMITH]
[PERMITTED_JOB:ARMORER]
[PERMITTED_JOB:BLACKSMITH]
[PERMITTED_JOB:METALCRAFTER]
[PERMITTED_JOB:GEM_CUTTER]
[PERMITTED_JOB:GEM_SETTER]
[PERMITTED_JOB:WOODCRAFTER]
[PERMITTED_JOB:STONECRAFTER]
[PERMITTED_JOB:LEATHERWORKER]
[PERMITTED_JOB:BONE_CARVER]
[PERMITTED_JOB:WEAVER]
[PERMITTED_JOB:CLOTHIER]
[PERMITTED_JOB:GLASSMAKER]
[PERMITTED_JOB:STRAND_EXTRACTOR]
[PERMITTED_JOB:FISHERMAN]
[PERMITTED_JOB:FISH_DISSECTOR]
[PERMITTED_JOB:FISH_CLEANER]
[PERMITTED_JOB:CHEESE_MAKER]
[PERMITTED_JOB:MILKER]
[PERMITTED_JOB:COOK]
[PERMITTED_JOB:THRESHER]
[PERMITTED_JOB:MILLER]
[PERMITTED_JOB:BUTCHER]
[PERMITTED_JOB:TANNER]
[PERMITTED_JOB:DYER]
[PERMITTED_JOB:PLANTER]
[PERMITTED_JOB:HERBALIST]
[PERMITTED_JOB:BREWER]
[PERMITTED_JOB:SOAP_MAKER]
[PERMITTED_JOB:POTASH_MAKER]
[PERMITTED_JOB:LYE_MAKER]
[PERMITTED_JOB:WOOD_BURNER]
[PERMITTED_JOB:MECHANIC]
[PERMITTED_JOB:SIEGE_ENGINEER]
[PERMITTED_JOB:SIEGE_OPERATOR]
[PERMITTED_JOB:PUMP_OPERATOR]
[PERMITTED_JOB:CLERK]
[PERMITTED_JOB:ADMINISTRATOR]
[PERMITTED_JOB:TRADER]
[WORLD_CONSTRUCTION:BRIDGE]
[WORLD_CONSTRUCTION:ROAD]
[WILL_ACCEPT_TRIBUTE]
[PROGRESS_TRIGGER_POPULATION:0]
[PROGRESS_TRIGGER_PRODUCTION:0]
[PROGRESS_TRIGGER_TRADE:0]
[ETHIC:ASSAULT:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_OTHER:ACCEPTABLE]
[ETHIC:KILL_ANIMAL:ACCEPTABLE]
[ETHIC:KILL_ENEMY:ACCEPTABLE]
[ETHIC:KILL_ENTITY_MEMBER:ACCEPTABLE]
[ETHIC:KILL_PLANT:ACCEPTABLE]
[ETHIC:LYING:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:OATH_BREAKING:ACCEPTABLE]
[ETHIC:SLAVERY:ACCEPTABLE]
[ETHIC:THEFT:ACCEPTABLE]
[ETHIC:TORTURE_ANIMALS:ACCEPTABLE]
[ETHIC:TORTURE_AS_EXAMPLE:ACCEPTABLE]
[ETHIC:TORTURE_FOR_FUN:ACCEPTABLE]
[ETHIC:TORTURE_FOR_INFORMATION:ACCEPTABLE]
[ETHIC:TREASON:UNTHINKABLE]
[ETHIC:TRESPASSING:ACCEPTABLE]
[ETHIC:VANDALISM:ACCEPTABLE]
[ETHIC:KILL_NEUTRAL:ACCEPTABLE]

And here is the creature file:
Code: [Select]
creature_lorgon

[OBJECT:CREATURE]

[CREATURE:LORGON]
[NAME:lorgon:lorgons:lorgonian]
[TILE:'ö'][COLOR:4:0:0]
[GENPOWER:3]
[INTELLIGENT]
[TRANCES]
[BENIGN]
[CANOPENDOORS]
[PREFSTRING:awesomeness]
[BLOODTYPE:0]
[BODY:QUADRUPED:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:3TOES:MOUTH:2HEAD_HORN:UPPERBODY_PINCERS:TAIL]
[BODYGLOSS:MAW]
[STOUT]
[MAXAGE:20:40]
[ATTACK:MAIN:BYTOKEN:R_UB_PINCER:snip:snips:5:8:GORE]
[ATTACKFLAG_CANLATCH]
[ATTACK:MAIN:BYTOKEN:L_UB_PINCER:snip:snips:5:8:GORE]
[ATTACKFLAG_CANLATCH]
[ATTACK:MAIN:BYTOKEN:R_UB_PINCER:snip:snips:5:8:GORE]
[ATTACKFLAG_CANLATCH]
[ATTACK:MAIN:BYTOKEN:L_UB_PINCER:snip:snips:5:8:GORE]
[ATTACKFLAG_CANLATCH]
[ATTACK:MAIN:BYTYPE:GRASP:clobber:clobbers:3:6:BLUDGEON]
[ATTACK:SECOND:BYTOKEN:TAIL:tailwhip:tailwhips:3:5:BLUDGEON]
[ATTACK:SECOND:BYTOKEN:2HEAD_HORN:gore:gores:4:6:PIERCE]
[ATTACK:SECOND:BYTYPE:MOUTH:bite:bites:2:2:GORE]
[ATTACKFLAG_CANLATCH]
[CHILD:2][BABY:1][LITTERSIZE:4:6]
[DAMBLOCK:2]
[FAT:5]
[SIZE:4]
[EQUIPS]
[CAVE_ADAPT]
[ALL_ACTIVE]
[CRAFTSMAN_NAME:craftlorgon:craftlorgons]
[FISHERMAN_NAME:fisherlorgon:fisherlorgons]
[HAMMERMAN_NAME:hammerlorgon:hammerlorgons]
[SPEARMAN_NAME:spearlorgon:spearlorgons]
[CROSSBOWMAN_NAME:markslorgon:markslorgons]
[AXEMAN_NAME:axelorgon:axelorgons]
[SWORDSMAN_NAME:swordslorgon:swordslorgons]
[MACEMAN_NAME:macelorgon:macelorgons]
[PIKEMAN_NAME:pikelorgon:pikelorgons]
[BOWMAN_NAME:bowlorgon:bowlorgons]
[SPEECH:general.txt]
[STANDARD_FLESH]
[DRAGONFIREBREATH]
[FIREIMMUNE_SUPER]
[GRASSTRAMPLE:5]
[LIKES_FIGHTING]
[NO_SLEEP]
[NOEXERT]
[SPEED:500]
[SWIMS_INNATE]
[SWIM_SPEED:1500]
[UNDERSWIM]
[PERSONALITY:ACTIVITY_LEVEL:60:80:100]
[PERSONALITY:ALTRUISM:0:20:80]
[PERSONALITY:ANGER:30:75:100]
[PERSONALITY:ANXIETY:0:10:20]
[PERSONALITY:CHEERFULNESS:20:40:70]
[PERSONALITY:COOPERATION:10:30:70]
[PERSONALITY:DEPRESSION:0:10:20]
[PERSONALITY:DUTIFULNESS:98:99:100]
[PERSONALITY:ORDERLINESS:98:99:100]
[PERSONALITY:SELF_DISCIPLINE:98:99:100]
[PERSONALITY:STRAIGHTFORWARDNESS:98:99:100]
[PERSONALITY:GREGARIOUSNESS:50:75:100]
[PERSONALITY:VULNERABILITY:0:10:20]
[PERSONALITY:ACHIEVEMENT_STRIVING:98:99:100]
[PERSONALITY:SYMPATHY:0:10:20]
[PERSONALITY:IMMODERATION:40:60:100]
[HOMEOTHERM:10067]
[LAYERING:50]
[COLDDAM_POINT:0]
[HEATDAM_POINT:50000]
[IGNITE_POINT:50000]

So, any ideas as to why it causes DF to crash?
Logged

Deathbane

  • Bay Watcher
  • Unus volatilis angelus, aeria gloriis.
    • View Profile
Re: Worldgen freezes with modded race
« Reply #1 on: July 25, 2008, 10:03:59 am »

I had this problem with chaos reigns, and ive kind of fixed it, but how i dont actually know.

What i did was firs tto try and gen smaller worlds which worked, then i took out every new race and slowly added them back in, genning a world each time.

It still sometimes crashes on world gen, but you can usualy get worlds to year 300 working fine.

So two things you could try : Smaller worlds, or Limiting the end year to something smaller. I think its something to do with the new history stuff he's put in causes infinite rejects and crashes if you have too many new races in. Not sure though, likei said, still trying to debug my mod.
Logged
Creator of the Chaos Reigns and Age of Heroes modifications.

Developer of the Adventurer Roleplaying game system, assistance required!

http://www.bay12games.com/forum/index.php?topic=46859.0

Jamuk

  • Bay Watcher
    • View Profile
Re: Worldgen freezes with modded race
« Reply #2 on: July 25, 2008, 10:08:52 am »

Ok, maybe I'll get rid of humans or something mundane.

Edit:
Thanks, I took out the humans from the creature_standard and the entity_default file and it got to the end of worldgen.
« Last Edit: July 25, 2008, 10:13:29 am by Jamuk »
Logged

umiman

  • Bay Watcher
  • Voice Fetishist
    • View Profile
Re: Worldgen freezes with modded race
« Reply #3 on: July 26, 2008, 05:29:32 am »

Looks like you already fixed it, but try removing [DRAGONFIREBREATH]. My worlds would freeze when my civ creatures had it.

Jamuk

  • Bay Watcher
    • View Profile
Re: Worldgen freezes with modded race
« Reply #4 on: July 26, 2008, 01:59:45 pm »

Well, now they don't want to pick up axes or picks to mine or cut down trees, and the delay before they start an action is extremely long. I think the delay might have to do with the personality traits, but I'm not sure about why they won't use tools.
Logged

Nonanonymous

  • Bay Watcher
  • A blithering idiot
    • View Profile
Re: Worldgen freezes with modded race
« Reply #5 on: July 26, 2008, 09:40:13 pm »

Might have to do with being quadrupeds, or that the [UPPERBODY_PINCERS] might need modding to allow them to pick up and use things.  Not sure if it requires [liMB],[GRASP], or both.
Logged

Demonic Gophers

  • Bay Watcher
    • View Profile
    • The Tunnels
Re: Worldgen freezes with modded race
« Reply #6 on: July 26, 2008, 11:57:40 pm »

Pretty sure what you need to pick things up and use them is [GRASP]s.  Attaching them to [liMB]s is optional.  Upperbody pincers should work fine.

Dragon fire shouldn't be a problem.  If you're using them in fortress mode, though, you might want to drop the [UNDERSWIM].  I believe it can cause 'dangerous terrain' cancellations, though it's not as bad as flight in that respect.


[ATTACK:SECOND:BYTOKEN:2HEAD_HORN:gore:gores:4:6:PIERCE]
This needs to be split into two, with the tokens RHORN and LHORN.
Logged
*Digs tunnel under thread.*
I also answer to Gophers and DG.
Quote from: Shades of Gray
*Says something inspiring and quote worthy.*
Opinions are great, they're like onions with pi.