#(rojer_klass) The Npc stops sitting after restarting the server or updating chunks.
45 messages · Page 1 of 1 (latest)
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>
Content of Server Log Paste #108931: Latest log... pasted 2023/04/17 10:07:58 UTC-07:00, Paste length: 41673 characters across 448 lines, Content: [19:46:48] [ServerMain/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=http...
Paper version git-Paper-388 (MC: 1.18.2)-- (Current build :white_check_mark:)
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:)
@pastel forge
4 (:white_check_mark: Online)
18.0.2.1 :warning: - Only Java versions 17, 16, and 8 are fully supported
WorldGuard v7.0.7+216b061, MythicMobs v5.2.1-fd1d0777, ProtocolLib v5.0.0-SNAPSHOT-b614
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'.
[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.
definitely start by updating citizens
Just installed Citizens-2.0.31-b3036 the problem has not disappeared.
+++ Info pluginconflict: https://wiki.citizensnpcs.co/Plugin_Conflict
If you've been sent to this page, you're having trouble with a plugin feature and a helper suspects it is caused by a Plugin Conflict.
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)
Ok, I'll try it.
No conflicts. The same problem at empty server
and new log for these two plugins
https://paste.denizenscript.com/View/108933
Content of Server Log Paste #108933: New Latest Log (ONLY CITIZENS AND DENIZEN)... pasted 2023/04/17 10:29:08 UTC-07:00, Paste length: 10159 characters across 115 lines, Content: [20:25:02] [ServerMain/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=http...
did it break from sitting during this log, or only after the restart?
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
It broke during this log. I went a long distance from the sitting NPC, and then returned to him and saw that the NPC was standing. Although the plugin believed that he was sitting.
Okay I’ll enable debug-mode latter today and show you logs
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).
Content of Server Log Paste #108972: Citizens Debug Log... pasted 2023/04/18 11:21:21 UTC-07:00, Paste length: 1002510 characters across 8110 lines, Content: [21:16:21] [ServerMain/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=http...
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.
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
Content of Server Log Paste #108972: Citizens Debug Log... pasted 2023/04/18 11:21:21 UTC-07:00, Paste length: 1002510 characters across 8110 lines, Content: [21:16:21] [ServerMain/INFO]: Environment: authHost=https://authserver.mojang.com, accountsHost=http...
Paper version git-Paper-388 (MC: 1.18.2)-- (Current build :white_check_mark:)
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:)
@limpid nebula
4 (:white_check_mark: Online)
18.0.2.1 :warning: - Only Java versions 17, 16, and 8 are fully supported
[21:16:53] [Server thread/ERROR]: [Citizens] The trait meg_model failed to load for NPC ID: 197. :warning: Log contains error messages.
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)
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.
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
@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.
Also, I found that this is fixed through the seletion NPC and the /npc despawn /npc spawn commands. However, this is a temporary solution, since then the problem will come back again.
@night jay
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>.