Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Phantom channels created  (Read 377 times)

silsor

  • Bay Watcher
    • View Profile
Phantom channels created
« on: October 13, 2006, 08:44:00 am »

I found a bug that seemed to create a bunch of phantom channels-on-top-of-channels.  The way it happened was:
code:

#    #..R
######..R        # wall       R river
X______XR        X floodgate
######..R        _ channel
#    ##R


I had a channel running from my farm to the riverbank, but then I realized that if the river flooded, strange things could happen if the flood got into the channel around the floodgate.  So I decided to put two doors beside either side of the channel.  The door showed up as red on the bottom side, so I couldn't build there for whatever reason, but I put one on the top.  Then I decided to remove it again, and the next time I looked back the situation was this:

code:

#    #..R
######..R        # wall       R river
X_____DXR        X floodgate
######..R        _ channel
#    ##R

The unattached door fell into the channel somehow, or was left on top of it by my dwarves.  Then the river flooded.  The door was washed up to the end of the channel

code:

#    #FFR
######FFR        # wall       R river
XDFFFFFXR        X floodgate
######FFR        _ channel
#    ##R

When the flood receded, I held my cursor over the various bits of the channel and noticed that the ones near the door had duplicated themselves once or twice, and the ones near the river had duplicated themselves up to 7 times on the same square.

I can't remember whether the channel was still under construction or not when the door first got into it.

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Phantom channels created
« Reply #1 on: October 14, 2006, 12:43:00 am »

The channels are always duplicated like that, if you look at them with [k].  It's an artifact of the channel tree that makes pond water merge that I'd like to get rid of but haven't done yet.
Logged
The Toad, a Natural Resource:  Preserve yours today!