#(_seppy_) Oddly specific pathing bug

43 messages · Page 1 of 1 (latest)

narrow trellis
#

An NPC with attributes:

  • GENERIC_STEP_HEIGHT 0.1
  • GENERIC_JUMP_STRENGTH 0

Can actually jump up a whole block if a Trapdown is placed on the floor, and clicked once to change the state of the trapdoor to vertical

To reproduce:

  • Step 1: Place trapdoor on floor
  • Step 2: Make the trapdoor stand up
  • Step 3: Enable wander pathing on NPC
  • Watch it walk up a whole block height and escape the enclosed area

My guess is that 0.1 is the trapdoor height, but the pathing doesn't take the trapdoor other state into consideration, and only looks for the original state of the trapdoor

solemn slateBOT
#

(seppy) Oddly specific pathing bug

solemn 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.

cerulean compassBOT
#
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.

narrow trellis
#

Seems to be super inconsistent too, not always reproduceable from my testing

#
  • Is it possible that NPC pathing can start messing up if my server is running super low on RAM?
narrow trellis
#

I'm also noticing some skins not loading, even though they are hosted locally using --file

#

Hypothetically... 100 NPC's, 50 of them are moving with wander, and the server has 3 GB ram. The server itself is using all the ram, but it's not lagging, however, can this cause issues with Skin loading and Pathing?

spice vale
pine mirageBOT
# spice vale !logcheck https://paste.denizenscript.com/View/126905
Server Version

Paper version 1.21.1-105-master@b7ab22d (2024-09-27T18:16:58Z)

Plugin Version(s)

Citizens v2.0.35-SNAPSHOT (build 3568) -- (Outdated build, behind by 4)
Denizen v1.3.1-SNAPSHOT (build 7067-DEV) -- (Current build :white_check_mark:)

Checked For

@spice vale

Online/Offline

Offline, but proxied.

UUID Version

4 (:white_check_mark: Online)

Java Version

21.0.2 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.12+829a4a4, MythicMobs v5.7.2-SNAPSHOT-4cdd235e, ProtocolLib v5.3.0-SNAPSHOT-730

Possibly Relevant Plugin(s)

HeadDatabase v4.20.2 - HeadDatabase has been known to cause issues with skins.
CMI v9.7.6.3 - CMI tends to mess with a large variety of server features and often gets in the way of issue debugging.
ModelEngine vR4.0.7 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
Multiverse-Core v4.3.13 - Multi-world configuration plugins may affect NPCs in unexpected ways.
FastAsyncWorldEdit v2.11.3-SNAPSHOT-916;7daafa9 - 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'.

Potentially Bad Line(s)

Starting Minecraft server on *:25612 - server is offline but has no address bind. This might mean you're using a system level firewall, but if not, it means your proxy is bypassable by hackers. Either enable a system level firewall, or bind your server to localhost in server.properties via server-ip=127.0.0.1.
[17:54:53] [Server thread/ERROR]: [ExecutableItems] Invalid world: myWorld in the option disableItemsPerWorld :warning: Log contains error messages.

spice vale
narrow trellis
slate mason
#

step height is reset to 1 on spawn

narrow trellis
slate mason
#

@narrow trellis firstly; is this related to respawn persistence?

narrow trellis
slate mason
narrow trellis
#

Yes

slate mason
#

NPCs spawn every time a chunk reloads or a server loads

narrow trellis
#

Ohh, didnt know that

slate mason
#

yes, they need to be spawned in

narrow trellis
#

I believe the answer is yes then

slate mason
#

ok there just needs to be some extra code then

#

can fix this today

narrow trellis
#

Sweet!

slate mason
#

@narrow trellis can you try in the new build

narrow trellis
#

Testing now

narrow trellis
#

And they arent coming back, even if i keep doing /citizens reload

#

Also I'm only using --file skins if that matters

slate mason
#

@narrow trellis no, build 3575

narrow trellis
# slate mason <@289942152308588544> no, build 3575

Seems to fail to load the skins half the time when i do /citizens reload, but if i go far away, and return to make them "respawn" they fix themselves majority of the time

As for the other issue (attributes) i havent tested yet

slate mason
#

@narrow trellis ok please test the other issue

narrow trellis
slate mason
#

ok, if you are having issues with seeing skins then open another thread

#

enable debug mode and post logs in that thread

cerulean compassBOT
#
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.)

#

@narrow trellis

#
Resolved

Thread closed as resolved.

#
Thread Reopened

Thread was manually reopened by @narrow trellis.