Server log is flooded with Pathfinder warnings

Post Reply
User avatar
Piezo_
Member
Posts: 219
Joined: Fri Jul 20, 2018 21:36
GitHub: is proprietary I use NotABug
Location: (x,y,z)

Server log is flooded with Pathfinder warnings

by Piezo_ » Post

My server's logs are constantly being flooded with the warning message "Pathfinder: Failed to update cost map.", but there's nothing wrong (that I've seen) with mob behavior.

How do I make this message shut up?
while (true) { suffer(); }

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Server log is flooded with Pathfinder warnings

by sofar » Post

Possible solutions:

- Patch minetest to omit the message (since it's inactionable)
- Patch the mod to search for paths in a shorter area only

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Server log is flooded with Pathfinder warnings

by Festus1965 » Post

Pathfinder is used from what ?
(Animals, Monsters)

Most I realized that when a monster is trapped that message is happening, so I tried /clearobjects (but takes 2.5 hours) ... maybe we should find out how to avoid the reason.

If the message would also show where (Position) the problem occurs, could just go there and "kill" it.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
Piezo_
Member
Posts: 219
Joined: Fri Jul 20, 2018 21:36
GitHub: is proprietary I use NotABug
Location: (x,y,z)

Re: Server log is flooded with Pathfinder warnings

by Piezo_ » Post

Festus1965 wrote:If the message would also show where (Position) the problem occurs, could just go there and "kill" it.
Sadly, it doesn't print position, entity info, or anything remotely useful.

I could edit the engine code, but I'd rather not, as it would be more hassle to run and keep track of a modified binary on my server.
while (true) { suffer(); }

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Server log is flooded with Pathfinder warnings

by Festus1965 » Post

i found out, that the admin command

Code: Select all

/clearobjects quick
takes all monsters out, and so path finding is obsolete.

Careful ! It also takes away
* fallen items
* animals, mobs, monsters
* crashes the DigTron
* maybe take out the selling shop items shown
... other side effects
Last edited by Festus1965 on Wed Jan 30, 2019 01:18, edited 1 time in total.
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Server log is flooded with Pathfinder warnings

by paramat » Post

> My server's logs are constantly being flooded with the warning message "Pathfinder: Failed to update cost map.", but there's nothing wrong (that I've seen) with mob behavior.

Yes there's an engine issue at GitHub for this.

User avatar
Piezo_
Member
Posts: 219
Joined: Fri Jul 20, 2018 21:36
GitHub: is proprietary I use NotABug
Location: (x,y,z)

Re: Server log is flooded with Pathfinder warnings

by Piezo_ » Post

paramat wrote:> My server's logs are constantly being flooded with the warning message "Pathfinder: Failed to update cost map.", but there's nothing wrong (that I've seen) with mob behavior.

Yes there's an engine issue at GitHub for this.
I ended up just going into the C++ source and commenting out the annoying line.
while (true) { suffer(); }

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests