Hi all, first post in the new forum style.
I was working on some scripts that allowed NPCs to travel far distances. I have a start and end location noted, then break that up into several waypoints that the NPC can follow.
I encountered an issue where roughly halfway through the journey the NPC would stop moving entirely, hung on a - ~walk command. When I flew over the NPC started moving again - no biggie.
I assumed this was because the chunk wasn't loaded and so it timed out.
After appending a step to make sure all chunks were loaded, I found that the problem still persisted. I've enabled chunks.always-keep-loaded in the citizens2 config and as stated I've preloaded all waypoint chunks.
Any ideas on where to go from here?
Logs: https://paste.denizenscript.com/View/103067
Simplified Script: https://paste.denizenscript.com/View/103068
Content of Server Log Paste #103067: 'Npc Pathfinding Bug Log'... pasted 2022/11/08 11:31:06 UTC-08:00, Paste length: 105659 characters across 824 lines
Content of Denizen Script Paste #103068: 'NPC Pathfinding Bug Script'... pasted 2022/11/08 11:37:21 UTC-08:00, Paste length: 1002 characters across 23 lines