nint22 / dwarfcraft

Automatically exported from code.google.com/p/dwarfcraft
Other
0 stars 0 forks source link

Mining bug. #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Designate an area to be mined.

2. If the dwarf is standing on top of the block being mined he will not fall 
but be stuck in the air when the current block is done.

3. The game then throws out a bunch of errors saying that the dwarf cannot find 
a path.

The game slows down to about 15 fps.

Original issue reported on code.google.com by nicola.k...@gmail.com on 11 Dec 2011 at 4:23

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by nicola.k...@gmail.com on 11 Dec 2011 at 4:23

GoogleCodeExporter commented 9 years ago
So this is a known issue associated with some run-time checks I added to 
dwarfs, preventing them from doing weird things. The dwarfs used to execute 
their paths, regardless of changes. For example of dwarf A plans to use a 
tunnel, but dwarf B JUSt blocked it, the code used to still execute dwarf A's 
path. The problem is by me fixing that, weird things happen when the dwarf 
finds itself in an invalid position, like floating above a block.

Original comment by nin...@gmail.com on 11 Dec 2011 at 11:47

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by nin...@gmail.com on 27 Dec 2011 at 5:02