Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Strike river flood and door "cutting"  (Read 420 times)

Mechanoid

  • Bay Watcher
  • [INTELLIGENT]
    • View Profile
Strike river flood and door "cutting"
« on: February 22, 2007, 02:33:00 am »

This bug involves the initial flood of the cave river ("Flee the mines!" Flood) and doors.

Basically, the door "caught" the water as it closed, and stopped it mid-flood.

A little code diagram:

code:
 + and - is a door; @ = dwarf miner
1. Water is struck.
#########
...+...@~ <- Flood direction
#########

2. Dwarf is pushed into door, opening it.
#########
...@~~~~~
#########

3. Flood continues to push dwarf while door is open.
#########
.@~-~~~~~
#########

4. Door closes, and flood is stopped.
Dwarf moves away.
"Flood has stopped" message is generated.
#########
@.~+~~~~~
#########

5. Flood remains stationary at doorway, cut off from the rest of the flood.
Flood receeds normally; mud is left on all flooded tiles, including the door.
#########
..~+~~~~~
#########

6. Dwaves behave as if the cave river is still flooding,
running frantically around outside, yet attempting to enter
into the unflooded parts of the fortress, trying to do hauling
for jobs (because they arn't covered in flood water, the game
may think they're "available" before checking flooded status)


[ February 22, 2007: Message edited by: Mechanoid ]

Logged
Quote from: Max White
"Have all the steel you want!", says Toady, "It won't save your ass this time!"

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Strike river flood and door "cutting"
« Reply #1 on: February 22, 2007, 08:44:00 pm »

I don't know how much of this is going to survive the current rewrite, but I'll note it down.  These sorts of floods might not return until I handle flows with the Z additions.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Mechanoid

  • Bay Watcher
  • [INTELLIGENT]
    • View Profile
Re: Strike river flood and door "cutting"
« Reply #2 on: February 22, 2007, 09:21:00 pm »

Good to know.
Logged
Quote from: Max White
"Have all the steel you want!", says Toady, "It won't save your ass this time!"

flap

  • Bay Watcher
    • View Profile
Re: Strike river flood and door "cutting"
« Reply #3 on: February 23, 2007, 12:55:00 pm »

Pfiou, it seems that you are conducting some in depth rewrite toady !

A good portion of the wiki might get deprecated with the next release...

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Strike river flood and door "cutting"
« Reply #4 on: February 25, 2007, 08:32:00 pm »

Yes, it's been very painful and slow, since I'm trying shift around the guts of the game without causing too many catastrophic issues.  It gives me headaches.  I have 9 days off for spring break in two weeks.  I hope I can be through by then, but who knows.
Logged
The Toad, a Natural Resource:  Preserve yours today!

inquisiteur

  • Bay Watcher
    • View Profile
Re: Strike river flood and door "cutting"
« Reply #5 on: March 02, 2007, 06:58:00 am »

thank you toady.
Logged