Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Path finding spam  (Read 637 times)

bloodyfool

  • Bay Watcher
    • View Profile
Path finding spam
« on: August 26, 2006, 06:40:00 am »

I think Toady wants to know when your dwarves spam red, so here are a couple instances I've found using the latest version.

Dwarves spam when they want to build a trp but can't find their way, locked door, retracted bridge etc..
Also spam when they want to drag a body off to the tomb, locked doors etc..

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Path finding spam
« Reply #1 on: August 26, 2006, 02:27:00 pm »

Yeah, I'd like to handle all of the message spam at some point.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Zake

  • Bay Watcher
    • View Profile
Re: Path finding spam
« Reply #2 on: August 26, 2006, 09:42:00 pm »

I just recently started getting "[Random dwarf] cancels Give Water: Could not find path." spammed incessantly.  I don't even know what they're trying to give water to.

Oh yah, and relatedly, fisherdwarves also give "cannot find path" errors when trying to fish, and other dwarves give similar errors when (I assume) trying to drink out of rivers.  Theres no obvious reason for this- all the rivers I've uncovered are accessible at some point, but perhaps they're trying to get to an inaccessible place on the river?


Edit- An update, now all of the sudden, attempts to make rock crafts get "cannot find path" errors, which spam incessantly (not cancelling the task).

[ August 26, 2006: Message edited by: Zake ]

Logged

Zake

  • Bay Watcher
    • View Profile
Re: Path finding spam
« Reply #3 on: August 27, 2006, 07:16:00 pm »

Further updates on the same bugs:  Oddly enough, one dwarf or another can *occaisonally* find the way to deliver water to those poor wounded dwarves which are tantrum-ing constantly for it.  However, this doesn't keep them drom dying simply due to the rarity of such an event- it would make lots of sense, even were this bug fixed, if a dehydrated wounded dwarf with, say, a wounded arm could get up and go to the well before he dies of thirst (it would also make sense for dwarves to be able to give water by going to a well instead of the river, which they apparently can't).

On the fishing pathfinding spam, several dwarves can be fishing and then another will spam this message... perhaps he insists on fishing from the same spot, even though much more of the river is accessible?

I have a save file handy which can display all of the issues noted, if required.

Logged

JT

  • Bay Watcher
  • Explosively Canadian
    • View Profile
    • http://www.jtgibson.ca/df/
Re: Path finding spam
« Reply #4 on: August 28, 2006, 01:42:00 am »

Another form of message spam you can get is to have a ballista constructed without having at least one ballista arrow constructed first.  Once an operator attempts to load the ballista, he can't find an arrow and spams the announcements (flooding gamelog.txt).  If I assign the siege workshop to construct a ballista arrow, however, he goes ahead and does that and stops spamming.
Logged
"The very existence of flamethrowers proves that some time, somewhere, someone said to themselves, 'You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.'" --George Carlin

Maurog

  • Bay Watcher
    • View Profile
Re: Path finding spam
« Reply #5 on: August 28, 2006, 02:57:00 am »

If you tell them to connect a level to a floodgate that they can't reach, they give the "cannot find path" but don't cancel the job.
Logged

Aquillion

  • Bay Watcher
    • View Profile
Re: Path finding spam
« Reply #6 on: August 28, 2006, 03:38:00 am »

Would it be possible to set up the message buffer to automatically concatinate repeated messages, like Nethack's does?  So instead of saying "cannot find path" fifty times and filling up the whole list, it could say "cannot find path [x50]" or something similar.

Of course, the pathfinding spam will hopefully all be fixed eventually, but there's bound to be legitimate spam in some situations, too.

Logged
We don't want another cheap fantasy universe, we want a cheap fantasy universe generator. --Toady One

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Path finding spam
« Reply #7 on: August 28, 2006, 05:18:00 pm »

I looked at that a few days ago...  but found a reason that it was annoying and did something else.  It probably wasn't a big deal, though...  I was probably just tired.  Maybe I'll get around to it sooner rather than later, since the gamelog flood explode the hard disk and so on.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Janne Joensuu

  • Bay Watcher
    • View Profile
Re: Path finding spam
« Reply #8 on: August 29, 2006, 12:21:00 am »

I have a prisoner who is spamming a lot. He wants to free his pet from a cage. And to drink. And to go to his room. He can't, though, because he's in jail.

Dwarves can't find their way over a river, through farm/kitchen area and to the third quarters area, but because the armor stand was supposed to be put to a noble's room, I got message spam. Now THAT would be a place for a suspended construction.

Logged
Janne )`*

Doctor Zero

  • Bay Watcher
    • View Profile
Re: Path finding spam
« Reply #9 on: August 29, 2006, 11:12:00 am »

I have a cloth maker spamming that she couldn't find a path to collect webs for a while even though there were webs all over. I finally figured out that one web somehow got into the same space as a mason's workshop, and I had to delete the shop, let her collect it, and then rebuild. I couldn't even delete the task from the loom queue, it would magically appear again (and I didn't have it in the manager queue either.)
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Path finding spam
« Reply #10 on: August 29, 2006, 09:19:00 pm »

Yeah...  there have been a number of issues with the workshop squares.  An axe got on one once and then people would walk to the top left corner to pick it up.  Very spacey.
Logged
The Toad, a Natural Resource:  Preserve yours today!