#(Insilvon) Walk command stops working when players are out of range

17 messages · Page 1 of 1 (latest)

restive shard
#

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

dense hedgeBOT
#

(Insilvon) Walk command stops working when players are out of range

#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

restive shard
keen gladeBOT
# restive shard !logcheck https://paste.denizenscript.com/View/103067
Server Version

Paper version git-Paper-263 (MC: 1.19.2)-- (Current build :white_check_mark:)

Plugin Version(s)

Citizens v2.0.30-SNAPSHOT (build 2746) -- (Current build :white_check_mark:)
Denizen v1.2.5-SNAPSHOT (build 6543-DEV) -- (Current build :white_check_mark:)
dDiscordBot v0.7 (build 253) -- (Current build :white_check_mark:)

Checked For

@restive shard

UUID Version

4 (:white_check_mark: Online)

Java Version

18 :warning: - Only Java versions 17, 16, and 8 are fully supported

restive shard
#

Anything else I should provide?

brave aurora
#

iirc there's a Citizens thing that intentionally does this but offhand i have no memory of the details

restive shard
#

Alright, thanks for the reply. I’ll give it a go.

restive shard