Issue915

Title set_new_random_waypoint found a waypoint without connection
Priority minor Status open
Assigned To Keywords
Linked issues Watchers

Submitted on 2018-04-25 10h19 by flaviojs, last changed by flaviojs.

Files
File name Uploaded Type Edit Remove
console.txt flaviojs, 2018-04-25.10:19:01 text/plain
Messages
Author: flaviojs Date: 2018-04-25   10h19
FreedroidRPG 0.16-410-g7d8504e_mod encountered a problem in function:
set_new_random_waypoint
Found a waypoint without connection
The offending waypoint nr. is: 600 at 0, 0.
The map level in question got nr.: 59.


The full console log is attacked to the issue.

While invisible, I was walking around in Hell Fortress stepping on "summon
traps" and killing the 999's because they can still attack me while invisible.
Eventually I noticed a bot that was stuck on the corner of a pillar, which I
couldn't target with my small axe (didn't try skills).
I checked the console and found messages saying "Found robot that seems really
stuck on position" and "Found a waypoint without connection". The second message
type mentions reporting in the bug tracker, so I created this issue.

I do have a work-in-progress replacement for recursive_find_walkable_point, but
it is disabled in this build.
(I confirmed by checking that it's not being used in the current version of
pathfinder.c, then ran make and saw that no src file was recompiled)

Attached console.txt.
Author: flaviojs Date: 2018-04-26   17h57
Regarding the bot that I couldn't target with a melee weapon, I got it again and
this time tried skills, then tried going out of sight for a bit, and the
teleporting to town.
The only way to target it again is was by saving and loading the game.
History
Date User Action Args
2018-04-26 17:57:16flaviojssetmessages: + msg3581
2018-04-25 10:19:01flaviojscreate