#(oasisavatar) NPC Player Leaving Region

75 messages · Page 1 of 1 (latest)

muted yew
#

My NPCs seem to refuse to stay within their boudries. They seem to flock to the boarder, walk over it, and freeze. I'm using the wand and defining a region in my world, then using /rg path and select worldguardregion myregion. Then wander. Am I doing something wrong? I want them to explore the whole region. They're enemies so I've also tried /trait sentinel and /sentinel wgregion myregion with no luck. Thanks.
MC Java 1.20.2, Paper, Citizens2 2.0.33-b3262, Sentinel 2.8.1-SNAPSHOT-b513

long slateBOT
#

(oasisavatar) NPC Player Leaving Region

long slateBOT
#

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.

toxic geode
#

if you could also share:

#

!logs

sick mistBOT
# toxic geode !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

muted yew
sick mistBOT
# muted yew !checklog https://paste.denizenscript.com/View/117688
Server Version

Paper version git-Paper-291 (MC: 1.20.2)-- (Outdated build, behind by 1... Current build is 292)

Plugin Version(s)

Citizens v2.0.33-SNAPSHOT (build 3262) -- (Outdated build, behind by 4)
Denizen v1.2.9-SNAPSHOT (build 1799-REL) -- (Current build :white_check_mark:)
Sentinel v2.8.1-SNAPSHOT (build 513) -- (Current build :white_check_mark:)

Checked For

@muted yew

UUID Version

4 (:white_check_mark: Online)

Java Version

17.0.9 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.9+5934e49, ProtocolLib v5.1.1-SNAPSHOT-673, Quests v5.0.0-rc.1-b430

Possibly Relevant Plugin(s)

TAB v4.0.8 - This plugin adds Below_Name scoreboards to NPCs.
Multiverse-Core v4.3.12 - Multi-world configuration plugins may affect NPCs in unexpected ways.
SimplePets v5.0-BUILD-222 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.
GSit v1.5.3 - 'Sit on other players' or 'sit on mobs' plugins sometimes allow players to sit on NPCs.

Potentially Bad Line(s)

[12:45:17] [Server thread/ERROR]: [ModernPluginLoadingStrategy] Ambiguous plugin name 'ExecutableItems' for files 'plugins\ExecutableItems_Prem-6.23.11.12.jar' and 'plugins\ExecutableItems-6.23.11.12.jar' in 'plugins' :warning: Log contains error messages.

muted yew
#

I know there are some other plugins that have issues

dreamy spruce
#

Enable path debug and get a screenshot please

autumn latchBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@muted yew

muted yew
muted yew
dreamy spruce
#

@muted yew can you get a pic when it tries to leave the region

dreamy spruce
#

!disablereplies

sick mistBOT
muted yew
#

This is a new world via portal in the main world. Not sure if that matters.

#

Had issues in the main world too but got it to work and NPCs stay in the region but not if I trace the pathout

dreamy spruce
#

I can't see any path debugging in your screenshot

#

is /npc wander set to pathfind or not

#

(can see in /npc path editor)

muted yew
#

Thats what I've been doing ^

#

Not linear

#

Let me check pathfind debug in config

dreamy spruce
#

it should look like flowers

muted yew
#

Sorry, wasn't enabled, just regular, relaoding

#

Oh!

#

I delete it cause the flowers, lol. One sec

dreamy spruce
#

the flowers are clientsided

muted yew
#

He stops

#

And doesn't roam in the bounds, just seems to try to get out, does, the stops.

dreamy spruce
#

yeah I see

#

tricky to fix

#

it is fixable though

#

I just don't know when I'll have time to do it

muted yew
#

Like he doesn't walk from side to side, just flutters like a bee in a corner till it gets out

#

Ok

autumn latchBOT
#
Changed to Bug

Thread is now a Bug thread. This indicates a core code bug that a developer must resolved, not an error message or other support topic. Please do not misuse the Bug label. Use </helpthread:1028674284870180883> to switch the thread back to a normal help thread if you are not 100% confident it is a code bug.

muted yew
#

Like I said this is happening in a new world created in the main world. The main work regions work, but tracing the path doesn't work in either.

dreamy spruce
#

so the wander will always pick points within the pathfinding region

#

but it might include pathfindable blocks outside of the region

#

if you turn off pathfinding it might be better to be honest

muted yew
#

Ok, I havent tried linear before. I'll try now

dreamy spruce
#

not linear

muted yew
#

Oh?

dreamy spruce
#

in /npc path just toggle the pathfind option

#

it will just randomly pick a direction to walk in for a few ticks

#

instead of pathfinding between two points

muted yew
#

I'm not sure I understand. /npc path opens the wander waypoint editor. If I exit and do /npc wander then it set to linear. /npc path in linear gives me Linear Waypoint Editor

dreamy spruce
#

where it says pathfind

muted yew
#

Ohhh

#

Is it pathfind false?

#

or red is off?

#

Ok hes in bounds but stopped

#

Out now with pathfinding off and Sentinel on.

muted yew
#

Another issue is Pathfind seems to obe required to set the walking speed /npc speed

#

We see this for a test NPC on the console

#

This is an NPC that is working in the main world. Pathfind on, set to a region

toxic geode
autumn latchBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@muted yew