Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Game crashes generating painted world  (Read 375 times)

Terratoch

  • Bay Watcher
    • View Profile
Game crashes generating painted world
« on: July 20, 2008, 07:43:01 pm »

I took some time to paint a 257 by 257 world as a crater, starting at elevation 1 in the center and raising gradually to 400 on the outside. Regardless of the rest of the parameter settings from what I have seen, every time I try to generate the world using this setting of elevation, the game crashes; That is, I get an illegal operation error. I don't know if this has already been reported or not. It should be looked into.
Logged
The only thing better than dining on a fine goblin is using said goblins tallow for soap to fix up my soldiers.

Reasonableman

  • Bay Watcher
  • ...Probably.
    • View Profile
    • Twitter is dead, long live Cohost
Re: Game crashes generating painted world
« Reply #1 on: July 20, 2008, 07:51:05 pm »

That's a bug alright. What operating system are you using?

EDIT: Also, does the generator work alright without painting anything?
Logged
A sane man must be reasonable, but a reasonable man need not be sane.

Terratoch

  • Bay Watcher
    • View Profile
Re: Game crashes generating painted world
« Reply #2 on: July 20, 2008, 09:04:24 pm »

OS: Windows XP
As to part 2: Yes, it just runs fine, and I have even had some degree of success with painting worlds before I knew how to access the rest of the world besides the initial corner via right click dragging.
« Last Edit: July 20, 2008, 09:06:14 pm by Terratoch »
Logged
The only thing better than dining on a fine goblin is using said goblins tallow for soap to fix up my soldiers.

Reasonableman

  • Bay Watcher
  • ...Probably.
    • View Profile
    • Twitter is dead, long live Cohost
Re: Game crashes generating painted world
« Reply #3 on: July 20, 2008, 09:10:58 pm »

Did you save the parameters? If so, does it do this every time you try to generate this world?
Logged
A sane man must be reasonable, but a reasonable man need not be sane.

Terratoch

  • Bay Watcher
    • View Profile
Re: Game crashes generating painted world
« Reply #4 on: July 20, 2008, 10:55:18 pm »

Yes and Yes
Logged
The only thing better than dining on a fine goblin is using said goblins tallow for soap to fix up my soldiers.

Reasonableman

  • Bay Watcher
  • ...Probably.
    • View Profile
    • Twitter is dead, long live Cohost
Re: Game crashes generating painted world
« Reply #5 on: July 20, 2008, 11:09:58 pm »

Well then, post the parameters up here (you ought to find them in data\init folder in your DWAAARF FORTRESS directory as a file called world_gen.txt, either upload the file somewhere or just copy-paste its contents in a post) and join hands in prayer to summon the great and mighty Toady One.
Logged
A sane man must be reasonable, but a reasonable man need not be sane.

Terratoch

  • Bay Watcher
    • View Profile
Re: Game crashes generating painted world
« Reply #6 on: July 21, 2008, 01:02:11 am »

... Okay now it is just making fun of me. I saved the parameters to recreate the .txt file in order to paste my level elevation into it, then went through and set the minimum for everything to zero to avoid an infinite rejection loop... and now its working. I am going to play around some more to see if I can't recreate the problem.

Edit: Got it. The problem occurs when I try to generate the world randomizing everything except for the terrain elevation and the terrain volcanism. This may take a few posts since it breaks the character limit for a single post by quite a bit.
« Last Edit: July 21, 2008, 01:06:08 am by Terratoch »
Logged
The only thing better than dining on a fine goblin is using said goblins tallow for soap to fix up my soldiers.

Terratoch

  • Bay Watcher
    • View Profile
Re: Game crashes generating painted world
« Reply #7 on: July 21, 2008, 01:07:12 am »

World Gen Parameters:
Code: [Select]
[WORLD_GEN]
[TITLE:LARGE]
[DIM:257:257]
[END_YEAR:1050]
[BEAST_END_YEAR:300:80]
[END_YEAR:1050]
[REVEAL_ALL_HISTORY:1]
[CULL_HISTORICAL_FIGURES:1]
[ELEVATION:1:400:800:800]
[RAINFALL:0:100:400:400]
[TEMPERATURE:25:75:400:400]
[DRAINAGE:0:100:400:400]
[VOLCANISM:0:100:400:400]
[SAVAGERY:0:100:400:400]
[ELEVATION_FREQUENCY:1:1:1:1:1:1]
[RAIN_FREQUENCY:1:1:1:1:1:1]
[DRAINAGE_FREQUENCY:1:1:1:1:1:1]
[TEMPERATURE_FREQUENCY:1:1:1:1:1:1]
[SAVAGERY_FREQUENCY:1:1:1:1:1:1]
[VOLCANISM_FREQUENCY:1:1:1:1:1:1]
[GOOD_SQ_COUNTS:0:0:0]
[EVIL_SQ_COUNTS:0:0:0]
[PEAK_NUMBER_MIN:0]
[OCEAN_EDGE_MIN:0]
[VOLCANO_MIN:200]
[REGION_COUNTS:SWAMP:0:0:0]
[REGION_COUNTS:DESERT:0:0:0]
[REGION_COUNTS:FOREST:0:0:0]
[REGION_COUNTS:MOUNTAINS:0:0:0]
[REGION_COUNTS:OCEAN:0:0:0]
[REGION_COUNTS:GLACIER:0:0:0]
[REGION_COUNTS:TUNDRA:0:0:0]
[REGION_COUNTS:GRASSLAND:0:0:0]
[REGION_COUNTS:HILLS:0:0:0]
[EROSION_CYCLE_COUNT:0]
[RIVER_MINS:0:0]
[PERIODICALLY_ERODE_EXTREMES:1]
[OROGRAPHIC_PRECIPITATION:1]
[SUBREGION_MAX:5000]
[CAVE_MAX_SIZE:500]
[MOUNTAIN_CAVE_MIN:100]
[NON_MOUNTAIN_CAVE_MIN:200]
[ALL_CAVES_VISIBLE:0]
[TOTAL_CIV_NUMBER:50]
[TOTAL_CIV_POPULATION:20000]
[PLAYABLE_CIVILIZATION_REQUIRED:1]
[ELEVATION_RANGES:0:0:0]
[RAIN_RANGES:0:0:0]
[DRAINAGE_RANGES:0:0:0]
[SAVAGERY_RANGES:0:0:0]
[VOLCANISM_RANGES:0:0:0]

And actually, since the problem doesn't seem to arise from the actual painting of the terrain, I see no reason to post the inordinately large world terrain and volcanism parameters.
« Last Edit: July 21, 2008, 01:15:24 am by Terratoch »
Logged
The only thing better than dining on a fine goblin is using said goblins tallow for soap to fix up my soldiers.

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Game crashes generating painted world
« Reply #8 on: July 21, 2008, 01:17:41 am »

It's probably the volcanos -- you are asking for 200 and so it needs 200 spots with 100 volcanism.  In the current version, if you have to much volcanism at 100, it'll crash.  That's fixed for next time.  These parameters get through with a few rejects now.  Until the next release is up, you can avoid the crashes by playing in a 129x129 or decreasing the volcano requirements.
Logged
The Toad, a Natural Resource:  Preserve yours today!