Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: 33g Treeline bug  (Read 984 times)

Troas

  • Bay Watcher
    • View Profile
33g Treeline bug
« on: January 31, 2008, 09:57:00 pm »

Similar to two previous reports I'm having issues with no trees in forested tiles.  Using the 124 96 location in seed 2007 I sometimes get forest, and sometimes not on the same set of tiles depending on whether or not the wagon was located above or below the treeline.  If the wagon is placed at a lower elevation trees are present on the map.  If it is placed at a higher elevation on the same map there are no trees.

The tree/no tree check should test the elevation of the tile, not of the wagon.    Also the world map should probably show a lack of trees at high elevations instead of saying a tile is heavily forested.

Logged
You'd think handing out the crossbows to brain damaged dwarfs would be a bad idea but it isn't

Save the catgirls!

Squeegy

  • Bay Watcher
  • I don't really have any answers for you.
    • View Profile
Re: 33g Treeline bug
« Reply #1 on: January 31, 2008, 10:33:00 pm »

There are no trees anywhere on the map?
Logged
I think I'm an alright guy. I just wanna live until I gotta die. I know I'm not perfect, but God knows I try.
Kobold Name Generator
⚔Dueling Blades⚔
Fertile Lands
The Emerald Isles

Troas

  • Bay Watcher
    • View Profile
Re: 33g Treeline bug
« Reply #2 on: January 31, 2008, 11:33:00 pm »

Correct.  If the wagon winds up on height 150 or greater there are no trees anywhere on the map.  So using that map as an example - generate the 2007 seed world, and copy a couple of duplicate regions.  Start a game in one - double the 3x7 area by extending it northward to 6x7.  If you pick the mountain biome your wagon is likely to wind up at 150+ and there will be no trees on the map.  Exit DF.  Now keeping the same upper left hand corner reduce the area to 2x3 (re: woods only with a corner of brook).  This area (wagon elevation 149) now has trees where it didn't when the wagon elevation was 150.  Extend the selection south 1 to 3x3 (include one mountain tile).  Wagon still at 149 - trees.  Further, there are trees at level 151 on the edge of the mountain.  Embark again selecting the 1 tile mountain biome (wagon at 151) in the 3x3 - no trees.

Note: Further experimentation revealed that the treeline flag may be a latch.  If I open a session of DF and embark over the treeline then save the game and embark again to another copy of the world the over the treeline flag often remains set, even if the wagon is at a lower elevation.

Logged
You'd think handing out the crossbows to brain damaged dwarfs would be a bad idea but it isn't

Save the catgirls!

Draco18s

  • Bay Watcher
    • View Profile
Re: 33g Treeline bug
« Reply #3 on: January 31, 2008, 11:38:00 pm »

This is because the biome may be "forest" but the elevation is too high for trees and the game currently has no way of indicating that yet.
Logged

DDouble

  • Bay Watcher
    • View Profile
Re: 33g Treeline bug
« Reply #4 on: February 01, 2008, 12:12:00 am »

I thought Toady changed this recently to make the treeline a little higher. Like, 150+ can still get trees now.
Logged

Troas

  • Bay Watcher
    • View Profile
Re: 33g Treeline bug
« Reply #5 on: February 01, 2008, 12:14:00 am »

quote:
Originally posted by Draco18s:
<STRONG>This is because the biome may be "forest" but the elevation is too high for trees and the game currently has no way of indicating that yet.</STRONG>

Again - the primary bug is that wagon elevation is what determines whether or not trees are spawned, NOT the elevation of the trees in question.  The exact same 3x3 starting area can be made forested or devoid of trees depending on what biome (and thus what elevation) your wagon starts in.

While it would be nice if the world map was corrected that isn't the main issue.

Logged
You'd think handing out the crossbows to brain damaged dwarfs would be a bad idea but it isn't

Save the catgirls!

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: 33g Treeline bug
« Reply #6 on: February 01, 2008, 09:41:00 pm »

The wagon elevation is not known to the map creation function, and I haven't had this problem, but I'll create a report for it.

[ February 01, 2008: Message edited by: Toady One ]

Logged
The Toad, a Natural Resource:  Preserve yours today!

Zara

  • Bay Watcher
    • View Profile
Re: 33g Treeline bug
« Reply #7 on: February 04, 2008, 09:27:00 am »

Actually, I got the same bug. Quite annoying. I had my almost perfect fortress location, but the first time I build it without preserving enough space at the entrance for some defensive measures. So I start again on the same location, using a copy of the save folder that I had made before I started the first time -  and this time, there were almost no trees left. I am not completely sure here, because I had the bug on other maps too, and although I said "Heavily Forested" in the biome description, there were absolutely NO TREES on the map - except for the Willows around the small lakes. This might actually be helpful. If you tell me, where I should upload them, I can provide screenshots or savegames. And by the way, someone one the wiki has reported the same problem:

http://www.dwarffortresswiki.net/index.php/Pregenerated_worlds

Logged

Troas

  • Bay Watcher
    • View Profile
Re: 33g Treeline bug
« Reply #8 on: February 04, 2008, 10:52:00 am »

I tested again - and my theory about wagon location was incorrect.  The bug occurs when you start more than one fortress in a given session of DF.

To duplicate the bug:

- Create a world with seed # 2007.  By default it is named Strasp Angstur, the Planet of Myth
- Make 3 copies of the region directory
- Start a fortress on this 3x3 square with 1 brook, 7 forest, 1 mountain at 124, 96
This fortress will have forest.  Escape out and save.  
- Using your 2nd copy embark again to the same 3x3 square, this fortress will have no trees.
- Exit DF.  
- Using the 3rd copy embark again to the same 3x3 square, selecting F2.  You still have trees.

Logged
You'd think handing out the crossbows to brain damaged dwarfs would be a bad idea but it isn't

Save the catgirls!