Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Troubleshooting help  (Read 916 times)

Koji

  • Bay Watcher
  • Kobold
    • View Profile
Troubleshooting help
« on: August 10, 2009, 02:15:04 pm »

So I made a really big overhaul mod, and I've been having a lot of fun with it, but something is wrong. When I embark in certain evil areas (usually grasslands, swamps, and beaches) my game crashes. After swapping out some files, I think it's my matgloss_plant. Can anyone tell me what's wrong with it?

Code: [Select]
matgloss_plant

[OBJECT:MATGLOSS]

[MATGLOSS_PLANT:MUSHROOM_HELMET_PLUMP]
[TILE:6][COLOR:7:0:1]
[NAME:mushroom][NAME_PLURAL:mushrooms]
[GROWDUR:300][VALUE:2]
[DRINK:dwarven brew:7:0:0]
[DRINKVALUE:2]
[SEEDNAME:mushroom spawn][SEED:4:0:1]
[GENPOWER:2]
[SPRING][SUMMER][AUTUMN][WINTER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[PREFSTRING:rounded tops]
[WET][DRY][BIOME:SUBTERRANEAN_WATER]

[MATGLOSS_PLANT:REED]
[TILE:231][COLOR:7:0:0]
[NAME:reed][NAME_PLURAL:reeds]
[GROWDUR:300][VALUE:2]
[SEED:0:0:1]
[GENPOWER:1]
[SPRING][SUMMER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[THREAD]
[PREFSTRING:tall stalks]
[WET][BIOME:NOT_FREEZING]

[MATGLOSS_PLANT:WHEAT]
[TILE:231][COLOR:6:0:1]
[NAME:wheat][NAME_PLURAL:wheat]
[GROWDUR:500][VALUE:2]
[DRINK:beer:6:0:0]
[DRINKVALUE:2]
[MILL:wheat flour:7:0:1]
[MILL_VALUE:20]
[COOKABLE_WHEN_MILLED]
[SEED:6:0:0]
[GENPOWER:1]
[SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[PREFSTRING:golden color]
[WET][DRY][BIOME:ANY_GRASSLAND][BIOME:ANY_SHRUBLAND]


[MATGLOSS_PLANT:RICE]
[TILE:231][COLOR:7:0:1]
[NAME:rice][NAME_PLURAL:rice]
[GROWDUR:500][VALUE:2]
[DRINK:sake:6:0:0]
[DRINKVALUE:2]
[EDIBLE_RAW]
[SEED:7:0:1]
[GENPOWER:1]
[SPRING][SUMMER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[PREFSTRING:stalks]
[WET][BIOME:NOT_FREEZING]

[MATGLOSS_PLANT:POTATOES]
[TILE:231][COLOR:6:0:0]
[NAME:potato][NAME_PLURAL:potatoes]
[GROWDUR:500][VALUE:2]
[DRINK:vodka:7:0:1]
[DRINKVALUE:2]
[EDIBLE_RAW]
[SEED:6:0:0]
[GENPOWER:1]
[SUMMER][AUTUMN][WINTER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN][SEEDNAME:seed potato:seed potatoes]
[PREFSTRING:lumpy eyes]
[DRY][BIOME:TUNDRA][BIOME:FOREST_TAIGA]

[MATGLOSS_PLANT:GRAPES]
[TILE:231][COLOR:5:0:1]
[NAME:grape][NAME_PLURAL:grapes]
[GROWDUR:500][VALUE:2]
[DRINK:wine:5:0:0]
[DRINKVALUE:2]
[SEED:6:0:0]
[GENPOWER:1]
[SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_RAW]
[PREFSTRING:stalks]
[WET][DRY][BIOME:ANY_SHRUBLAND]

[MATGLOSS_PLANT:CANE_SUGAR]
[TILE:232][COLOR:4:0:1]
[NAME:sugar cane][NAME_PLURAL:sugar cane]
[GROWDUR:500][VALUE:2]
[DRINK:rum:5:0:1]
[DRINKVALUE:2]
[MILL:sugar:6:0:0]
[MILL_VALUE:20]
[COOKABLE_WHEN_MILLED]
[EXTRACT:cane syrup:6:0:0]
[EXTRACTVALUE:20]
[EXTRACT_BARREL]
[EXTRACT_COOKABLE]
[SEED:2:0:1]
[GENPOWER:1]
[SPRING][SUMMER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[PREFSTRING:sweet stalks]
[WET][BIOME:ANY_TROPICAL]

[MATGLOSS_PLANT:BEETS]
[TILE:232][COLOR:4:0:0]
[NAME:beet][NAME_PLURAL:beets]
[GROWDUR:500][VALUE:2]
[MILL:beet sugar:7:0:1]
[MILL_VALUE:20]
[COOKABLE_WHEN_MILLED]
[EXTRACT:beet syrup:4:0:0]
[EXTRACTVALUE:20]
[EXTRACT_BARREL]
[EXTRACT_COOKABLE]
[SEED:2:0:1]
[GENPOWER:1]
[SPRING][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN][EDIBLE_RAW]
[PREFSTRING:round shape]
[BIOME:FOREST_TAIGA][BIOME:TUNDRA]

[MATGLOSS_PLANT:ROOT_NEMOIH]
[TILE:231][COLOR:0:0:1]
[NAME:nemoih root][NAME_PLURAL:nemoih roots]
[WET][BIOME:NOT_FREEZING]
[GENPOWER:1]
[DRINK:hair of the dog:0:0:1]
[DRINKVALUE:1]
[EXTRACT:nemoih tincture:6:0:1]
[EXTRACTVALUE:100]
[EXTRACT_VIAL]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:ability to cause and cure headaches]

[MATGLOSS_PLANT:ROOT_YELITH]
[TILE:232][COLOR:6:0:0]
[NAME:yelith root][NAME_PLURAL:yelith roots]
[DRY][BIOME:MOUNTAIN]
[VALUE:2]
[GENPOWER:1]
[EXTRACT:yelith powder:6:0:1]
[EXTRACTVALUE:100]
[EXTRACT_VIAL]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:50]
[CLUSTERSIZE:5]
[EDIBLE_RAW]
[PREFSTRING:healing power]

[MATGLOSS_PLANT:MOSS_EGHMOK]
[TILE:232][COLOR:0:0:1]
[NAME:eghmok moss][NAME_PLURAL:eghmok moss]
[WET][BIOME:ANY_TEMPERATE_BROADLEAF][BIOME:ANY_TROPICAL_BROADLEAF]
[VALUE:5]
[GENPOWER:3]
[EXTRACT:eghmok potion:7:0:1]
[EXTRACTVALUE:100]
[EXTRACT_STILL_VIAL]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:5]
[CLUSTERSIZE:1]
[PREFSTRING:rarity]

[MATGLOSS_PLANT:BERRY_PRICKLE]
[TILE:58][COLOR:2:0:0]
[NAME:blocil berry][NAME_PLURAL:blocil berries]
[DRY][BIOME:ANY_FOREST]
[GENPOWER:1]
[DRINK:blocil wine:2:0:0]
[DRINKVALUE:1]
[EXTRACT:blocil tincture:6:0:1]
[EXTRACTVALUE:100]
[EXTRACT_VIAL]
[SPRING][SUMMER][AUTUMN]
[SEED:0:0:1]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:healing abilities]
[SEED:2:0:0]

[MATGLOSS_PLANT:BERRY_STRAW_WILD]
[TILE:58][COLOR:4:0:0]
[NAME:wild strawberry][NAME_PLURAL:wild strawberries]
[DRY][BIOME:NOT_FREEZING]
[VALUE:2]
[GENPOWER:1]
[DRINK:strawberry wine:5:0:1]
[DRINKVALUE:2]
[SPRING][SUMMER]
[SEED:0:0:1]
[FREQUENCY:50]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[PREFSTRING:vivid red color]
[SEED:0:0:1]

[MATGLOSS_PLANT:CORN_WILD]
[TILE:231][COLOR:6:0:1]
[NAME:wild corn][NAME_PLURAL:wild corn]
[DRY][BIOME:NOT_FREEZING]
[VALUE:2]
[GENPOWER:1]
[DRINK:moonshine:6:0:0]
[DRINKVALUE:2]
[MILL:cornmeal:7:0:1]
[MILL_VALUE:20]
[COOKABLE_WHEN_MILLED]
[SPRING][SUMMER][AUTUMN]
[SEED:6:0:0]
[FREQUENCY:50]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[PREFSTRING:ability to attract raccoons]
[SEED:6:0:0]

[MATGLOSS_PLANT:HERB_VALLEY]
[TILE:152][COLOR:2:0:1]
[NAME:georin grass][NAME_PLURAL:georin grass]
[DRY][BIOME:GRASSLAND_TEMPERATE]
[VALUE:5]
[GENPOWER:3]
[EXTRACT:georin salve:6:0:1]
[EXTRACTVALUE:100]
[EXTRACT_VIAL]
[SPRING]
[FREQUENCY:3]
[CLUSTERSIZE:1]
[PREFSTRING:healing power]

[MATGLOSS_PLANT:LEAF_PLOVIK]
[TILE:152][COLOR:2:0:1]
[NAME:plovik leaf][NAME_PLURAL:plovik leaves]
[BIOME:ANY_FOREST]
[VALUE:5]
[GENPOWER:3]
[EXTRACT:plovik tea:6:0:1]
[EXTRACTVALUE:100]
[EXTRACT_VIAL]
[AUTUMN]
[FREQUENCY:3]
[CLUSTERSIZE:1]
[PREFSTRING:healing power]

[MATGLOSS_PLANT:FLOWER_JADICE]
[TILE:152][COLOR:6:0:1]
[NAME:jadice flower][NAME_PLURAL:jadice flowers]
[BIOME:ANY_TROPICAL][BIOME:ANY_DESERT][WET][DRY]
[VALUE:5]
[GENPOWER:3]
[MILL_VALUE:20]
[MILL_DYE:GOLD]
[EXTRACT:jadice tincture:6:0:1]
[EXTRACTVALUE:100]
[EXTRACT_VIAL]
[SPRING]
[FREQUENCY:3]
[CLUSTERSIZE:1]
[PREFSTRING:healing power]

[MATGLOSS_PLANT:LEAF_ALOE]
[TILE:152][COLOR:2:0:1]
[NAME:aloe leaf][NAME_PLURAL:aloe leaves]
[BIOME:ANY_DESERT]
[VALUE:5]
[GENPOWER:3]
[EXTRACT:aloe balm:6:0:1]
[EXTRACTVALUE:100]
[EXTRACT_VIAL]
[SPRING][SUMMER][AUTUMN][WINTER]
[FREQUENCY:5]
[CLUSTERSIZE:1]
[PREFSTRING:healing power]

[MATGLOSS_PLANT:SAP_SUFIL]
[TILE:152][COLOR:2:0:1]
[NAME:sufil sap][NAME_PLURAL:sufil sap]
[BIOME:ANY_FOREST]
[VALUE:5]
[GENPOWER:3]
[EXTRACT:sufil tincture6:0:1]
[EXTRACTVALUE:100]
[EXTRACT_VIAL]
[SUMMER]
[FREQUENCY:5]
[CLUSTERSIZE:1]
[PREFSTRING:healing power]

[MATGLOSS_PLANT:WEED_SEOLARN]
[TILE:231][COLOR:2:0:0]
[NAME:seolarn weed][NAME_PLURAL:seolarn weed]
[WET][BIOME:NOT_FREEZING]
[GENPOWER:1]
[DRINK:seolarn tea:6:0:0]
[DRINKVALUE:1]
[MILL:emerald dye:2:0:0]
[MILL_VALUE:20]
[MILL_DYE:EMERALD]
[SPRING][SUMMER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:spiky leaves]
[SEED:0:0:1]

[MATGLOSS_PLANT:BERRY_TAFFEL]
[TILE:58][COLOR:5:0:1]
[NAME:taffelberry][NAME_PLURAL:taffelberries]
[WET][BIOME:NOT_FREEZING]
[VALUE:2]
[GENPOWER:1]
[MILL_VALUE:20]
[MILL_DYE:FUCHSIA]
[DRINK:taffelberry wine:5:0:1]
[DRINKVALUE:2]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:50]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[PREFSTRING:syrupy sweetness]
[SEED:5:0:1]

[MATGLOSS_PLANT:COTTON]
[TILE:159][COLOR:2:0:0]
[NAME:cotton][NAME_PLURAL:cotton]
[WET][BIOME:NOT_FREEZING]
[VALUE:2]
[GENPOWER:1]
[SPRING][SUMMER]
[FREQUENCY:50]
[CLUSTERSIZE:5]
[THREAD]
[PREFSTRING:fluffy tufts]
[SEED:6:0:0]

[MATGLOSS_PLANT:GRASS_BRAIDED]
[TILE:159][COLOR:2:0:0]
[NAME:grass][NAME_PLURAL:grass]
[DRY][BIOME:ANY_GRASSLAND]
[VALUE:2]
[GENPOWER:1]
[SUMMER][AUTUMN]
[FREQUENCY:50]
[CLUSTERSIZE:5]
[THREAD]
[PREFSTRING:]
[SEED:6:0:0]

[MATGLOSS_PLANT:TRUFFLE_BLACK]
[TILE:3][COLOR:1:0:0]
[NAME:black truffle][NAME_PLURAL:black truffles]
[GROWDUR:500][VALUE:2]
[MILL:dimple dye:1:0:1]
[MILL_VALUE:20]
[MILL_DYE:BLACK]
[SEEDNAME:black truffle spawn][SEED:5:0:1]
[GENPOWER:2]
[SPRING][SUMMER][AUTUMN][WINTER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_RAW]
[EDIBLE_VERMIN]
[PREFSTRING:rich flavor]
[WET][DRY][BIOME:SUBTERRANEAN_WATER]

[MATGLOSS_PLANT:BERRY_BLUE]
[TILE:3][COLOR:1:0:1]
[NAME:blueberry][NAME_PLURAL:blueberries]
[GROWDUR:500][VALUE:2]
[MILL:blueberry dye:5:0:1]
[MILL_VALUE:5]
[MILL_DYE:MAUVE]
[DRINK:blueberry wine:1:0:1]
[DRINKVALUE:2]
[SEEDNAME:blueberry seeds][SEED:1:0:1]
[GENPOWER:2]
[SPRING][SUMMER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:tart sweetness]
[EDIBLE_RAW]
[WET][BIOME:ANY_TEMPERATE_FOREST][BIOME:ANY_SHRUBLAND]

[MATGLOSS_PLANT:BERRY_BLACK]
[TILE:3][COLOR:1:0:0]
[NAME:blackberry][NAME_PLURAL:blackberries]
[GROWDUR:500][VALUE:2]
[MILL:blackberry dye:5:0:0]
[MILL_VALUE:5]
[MILL_DYE:PLUM]
[DRINK:blackberry wine:1:0:0]
[DRINKVALUE:2]
[SEEDNAME:blackberry seeds][SEED:1:0:0]
[GENPOWER:2]
[SPRING][SUMMER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:bold sweetness]
[EDIBLE_RAW]
[WET][DRY][BIOME:ANY_TEMPERATE_FOREST][BIOME:ANY_SHRUBLAND]


[MATGLOSS_PLANT:RAZORLEAF]
[TILE:231][COLOR:6:0:0]
[NAME:razorleaf bush][NAME_PLURAL:razorleaf bushes]
[SAVAGE][BIOME:NOT_FREEZING]
[VALUE:1]
[MILL:razorleaf dye:6:0:0]
[MILL_VALUE:10]
[MILL_DYE:RED]
[GENPOWER:1]
[SPRING][SUMMER]
[FREQUENCY:50]
[CLUSTERSIZE:5]
[PREFSTRING:bloodlike secretions]
[SEED:4:0:0]

[MATGLOSS_PLANT:VINE_MORAH]
[TILE:231][COLOR:0:0:1]
[NAME:morah vine][NAME_PLURAL:morah vines]
[WET][EVIL][BIOME:NOT_FREEZING]
[GENPOWER:3]
[MILL:morah dye:0:0:1]
[MILL_VALUE:20]
[MILL_DYE:BLACK]
[SPRING][SUMMER][AUTUMN]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:hunger for flesh]
[SEED:4:0:1]

[MATGLOSS_PLANT:TRESS_MAIDEN]
[TILE:58][COLOR:6:0:1]
[NAME:maiden tress][NAME_PLURAL:maiden tresses]
[WET][GOOD][BIOME:NOT_FREEZING]
[GENPOWER:3]
[MILL:maiden tress extract:0:0:1]
[MILL_VALUE:20]
[MILL_DYE:CREAM]
[AUTUMN][WINTER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[EDIBLE_VERMIN]
[EDIBLE_RAW]
[PREFSTRING:tendency to attack moving targets]
[SEED:0:0:1]

[MATGLOSS_PLANT:vELA'TOHR]
[TILE:21][COLOR:3:0:1]
[NAME:vela'tohr fruit][NAME_PLURAL:vela'tohr fruit]
[DRY][WET][SAVAGE][BIOME:NOT_FREEZING]
[GENPOWER:1]
[DRINK:vela'tohr nectar:3:0:1]
[DRINKVALUE:4]
[MILL:vela'tohr dye:6:0:0]
[MILL_VALUE:10]
[MILL_DYE:TURQUOISE]
[EDIBLE_RAW]
[SUMMER]
[FREQUENCY:100]
[CLUSTERSIZE:5]
[PREFSTRING:fascinating colors]
[SEED:0:0:1]

The game also crashes if I play for about a year, so I think traders are importing something my game cannot handle. I haven't yet seen a crash in adventurer mode, so I don't think it's creature-based.
Logged
Dwarvenrealms
ASCII | Graphical
Over 220 new creatures, new civs, new industries, and a fully customized tileset!

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: Troubleshooting help
« Reply #1 on: August 10, 2009, 06:09:50 pm »

Is anything suspicious showing up in your error log?
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.

Koji

  • Bay Watcher
  • Kobold
    • View Profile
Re: Troubleshooting help
« Reply #2 on: August 11, 2009, 03:32:17 am »

Is anything suspicious showing up in your error log?

Nothing shows up there at all, that's why I'm so baffled.
Logged
Dwarvenrealms
ASCII | Graphical
Over 220 new creatures, new civs, new industries, and a fully customized tileset!

ST753M

  • Bay Watcher
    • View Profile
Re: Troubleshooting help
« Reply #3 on: August 11, 2009, 12:43:49 pm »

I had a similar problem when I replaced my plant file last week.  It would play just fine until about mid-autumn, then crash without leaving an errorlog.  After a few tries I ended up deleting that mod and rewriting something similar from scratch.

My theory is that you need something with the [LEAVES:6] token, even if you don't plan on processing to bag.  My crash-causing version didn't have anything with leaves, but the working replacement did, and that was the only major change between them, besides some renaming and reorganizing. 
Logged

Chariot

  • Bay Watcher
  • Turtle Trainer
    • View Profile
Re: Troubleshooting help
« Reply #4 on: August 11, 2009, 03:25:08 pm »

The last plant has an odd matgloss name:

[MATGLOSS_PLANT:vELA'TOHR]

I've no idea if ' is even allowed in matgloss names. Could try eliminating it(but leaving it in the plant name itself) to see if that helps.
Logged

Koji

  • Bay Watcher
  • Kobold
    • View Profile
Re: Troubleshooting help
« Reply #5 on: August 12, 2009, 01:48:08 am »

I'll give the leaves:6 thing a shot.

I modded other stuff, but this is the only file that stopped the game from crashing when I took it out and replaced it with the original. Apparently apostrophes work just fine because I had several dwarves killed by marauding adan'f. I changed it here though, you never know when something is going to cause problems in one file and not another.

Fun bug: Copy antmen and paste them into the file right after the original entry 2 times. Name them antman_1 antman_2 and antman_3. Make them different colors and give them different body types (quadruped, biped, etc). When you run into them in dwarf mode (didn't try this in adv mode), the creature has all the body parts of all the antman entries, and cycles between names and colors of them at a decent speed. For whatever reason, instead of treating it like 3 seperate creatures, it tries to load all 3 as the same creature. This might be a neat effect to create a chaotic shapeshifter or something.
Logged
Dwarvenrealms
ASCII | Graphical
Over 220 new creatures, new civs, new industries, and a fully customized tileset!