#(rojer_klass) The Npc stops sitting after restarting the server or updating chunks.

45 messages · Page 1 of 1 (latest)

steady templeBOT
#

(rojer_klass) The Npc stops sitting after restarting the server or updating chunks.

#

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>

pastel forge
calm sigilBOT
# pastel forge !logcheck https://paste.denizenscript.com/View/108931
Server Version

Paper version git-Paper-388 (MC: 1.18.2)-- (Current build :white_check_mark:)

Plugin Version(s)

Citizens v2.0.30-SNAPSHOT (build 2936) -- (:warning:Outdated build, behind by 100)
Denizen v1.2.7-SNAPSHOT (build 1791-REL) -- (Current build :white_check_mark:)

Checked For

@pastel forge

UUID Version

4 (:white_check_mark: Online)

Java Version

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

Other Noteworthy Plugin(s)

WorldGuard v7.0.7+216b061, MythicMobs v5.2.1-fd1d0777, ProtocolLib v5.0.0-SNAPSHOT-b614

Possibly Relevant Plugin(s)

ModelEngine vR3.1.6 - 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.
FastAsyncWorldEdit v2.5.3-SNAPSHOT-356;783dc35 - 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)

[19:47:05] [Server thread/ERROR]: &cERROR, Couldn't load the Option value of option from config, value: NULL &7&o(Item: Bomb_ID1) &6>> Options available: https://docs.ssomar.com/ :warning: Log contains error messages.

pastel forge
#

definitely start by updating citizens

night jay
brave flicker
#

First thing to check would be a

#

!pluginconflict

calm sigilBOT
brave flicker
#

An easy test would be just, temporarily remove everything but Denizen and Citizens and see if you can still replicate it

#

(Can use a test server/local copy, ofc)

night jay
limpid nebula
#

also, can you enable debug-mode in Citizens/config.yml and retest and post a log from there

#

(making sure either way that the log contains the time when it stopped sitting properly)

#

most sitting failures will output an error via Denizen, but there's also some internal debug as it tries to make sitting happen via the Citizens debugger

night jay
night jay
# limpid nebula also, can you enable `debug-mode` in `Citizens/config.yml` and retest and post a...

https://paste.denizenscript.com/View/108972

The npc I showed here has an ID 119 "Старец". But this problem is relevant for all sitting NPCs (Although, some (not many) of them work correct).

#

line 4303 [21:17:36] -> I select the NPC and use commands to stand and sit down to display the sitting animation, cuz when the server started, NPC was standing inside the block as in the photo above.

line 5899 [21:18:27] -> I walked away from the sitting NPC, and when I returned the NPC was "standing" again. And I entered the /npc stand and /npc sit commands again to play the sitting animation. I think there must be a problem somewhere here. Perhaps it appears with the update of the chunk in which the NPC is located.

limpid nebula
# night jay https://paste.denizenscript.com/View/108972 The npc I showed here has an ID 119...

so, here's what I can tell you right now
A: Obviously, what you're seeing there is not intended behavior, NPC's shouldn't be standing back up
B: there's nothing in your logs to explain what's gone wrong. All debug looks completely normal, it even spawns a valid seat for the NPC when it loads (line 3845 in that log) and nothing goes wrong when doing so. In fact, that chair never despawns either, according to the log.
C: I tested locally to be safe, tried to build the shape structure and all as you in case it mattered, spawned an NPC, /npc sit, flew away, made sure the chunk unloaded, then flew back

#

and it's still fine

calm sigilBOT
# limpid nebula !checklog https://paste.denizenscript.com/View/108972
Server Version

Paper version git-Paper-388 (MC: 1.18.2)-- (Current build :white_check_mark:)

Plugin Version(s)

Citizens v2.0.31-SNAPSHOT (build 3036) -- (Outdated build, behind by 1)
Denizen v1.2.7-SNAPSHOT (build 1791-REL) -- (Current build :white_check_mark:)

Checked For

@limpid nebula

UUID Version

4 (:white_check_mark: Online)

Java Version

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

Potentially Bad Line(s)

[21:16:53] [Server thread/ERROR]: [Citizens] The trait meg_model failed to load for NPC ID: 197. :warning: Log contains error messages.

limpid nebula
#

D: you're basically up to date on everything, other than an unusual version of Java and on 1.18.2 (vs I'm on 1.19.4) but I don't really expect either of those two be necessarily at fault (unless there's some new bug with 1.18.2? I doubt it but we don't really actively test for it)

#

and you're testing without other plugins involved

#

so... what exactly went wrong is really hard to determine here

#

Possible theories are
1: 1.18.2 has a bug? Could try updating to 1.19.4
2: something is corrupt related to your Citizens saves / config. You have hundreds of NPCs on that server, so, clearly using a well-worn save file there. Might try resetting configs to see if the result is different?
3: Your world file looks a bit well-worn too, I notice errors in that log related to broken playerdata. There's also possibly gamerules or something. You might see if testing with a blank world makes a difference?
4: Could also try with a reset to spigot/paper configs? Not sure what in them could mess with anything here but it's possible I suppose?
5: Possibly even some combination of those?
basically tldr is, what you're seeing shouldn't happen, and doesn't on a clean server, but there's no obvious reason why, so only thing left available is to try to figure out what part of your server is different from a normal empty server that's causing the change.

#

If we can find out what difference caused it, we can hopefully work from there to actually fix it. (Or at least to reapply whatever the one actual change needed is to your actual full server)

night jay
# limpid nebula Possible theories are 1: 1.18.2 has a bug? Could try updating to 1.19.4 2: somet...

Okay, I get you. Give me some time. I will run all the tests you have listed and try to find out what is the cause of this error. (I doubt about the version, since it was also observed on 1.15.2 (as far as I remember, but it was a long time ago)). It seems to me that the problem may really be hiding in the saves/config and corrupted files of my world. I'll let you know when I get the test result.

Also, I want to note that while I was looking for a solution to this error, I came across 2 people who faced the same problem. But the solution was never found. One of the people wrote about this problem in your discord, but in the citizens channel.
I hope we can find out what is the problem and help others avoid similar situations.

limpid nebula
#

There was a bug that caused this a few years ago that's since been resolved, so examples of it or threads about it from years ago aren't relevant to a current issue

#

(if it reappeared it would show in logs, as there's messages for anything like it now)

#

Actually, one possible case I can think of that might explain it: if your NPC has some other trait on it that is trying to teleport it or unmount or anything

#

if the NPC is ripped off its seat by a separate trait, that wouldn't be logged directly

night jay
#

@limpid nebula I have completed all the tests you mentioned. The only test in which the error has disappeared is the change of the paper to a new version (paper-1.19.4-516). Apparently, the problem is in 1.18.2. Either in the Minecraft version itself, or in paper-388 1.18.2
However paper-388 is the latest release for 1.18.2.
I do not know what to do. Switching to another version is very problematic for me.

night jay
woeful remnantBOT
#

@night jay

Thread Close Blocked

Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.