Closed SlimeDog closed 3 years ago
Unless you can verify that this directly relates to Sentinel (eg do the wolves stop glitching if you just /trait sentinel
one of the wolves that was consistently glitching, without changing anything else about it?), it's unlikely to relate to Sentinel.
I'm not sure what you want me to test. Each of the glitched NPCs reports that it is a sentinel. For example, from start-up
[13:35:19] [Server thread/WARN]: UUID of added entity already exists: EntityWolfNPC['Wolf'/593, uuid='62fe6737-fffe-4170-b58f-43aeac0dd8d2', l='ServerLevel[world_city]', x=-558.50, y=65.00, z=82.50, cpos=[-35, 5], tl=0, v=false, rR=null]
At the console
> npc select 16
[13:38:37 INFO]: Selected Murphy (ID 16).
> npc
[13:38:38 INFO]: =====[ Murphy ]=====
[13:38:38 INFO]: ID: 16
[13:38:38 INFO]: UUID: 62fe6737-fffe-4170-b58f-43aeac0dd8d2
[13:38:38 INFO]: Type: WOLF
[13:38:38 INFO]: Traits
[13:38:38 INFO]: - sentinel
Normally, that report would include the spawn location (this from my parallel Spigot server)
>npc
[13:38:22] [Server thread/INFO]: =====[ Murphy ]=====
[13:38:22] [Server thread/INFO]: ID: 16
[13:38:22] [Server thread/INFO]: UUID: 62fe6737-fffe-4170-b58f-43aeac0dd8d2
[13:38:22] [Server thread/INFO]: Type: WOLF
[13:38:22] [Server thread/INFO]: Spawned at -559, 65, 81 in world world_city
[13:38:22] [Server thread/INFO]: Traits
[13:38:22] [Server thread/INFO]: - sentinel
As a simple test, if I
all of the nominally-sentinel NPCs spawn normally, other than not having the sentinel
(or any other) trait. That is, they are all active. Is that sufficient isolation?
UPDATE: NPCs did not spawn normally. I was fooled by the lack of WARN messages on start-up. However, one of the relevant NPCs does not show spawn data, with Sentinel not in the plugin mix. I have no idea if that means Sentinel can be ruled out as a causal factor, but there it is.
More data...
Note that NPC 16 is the identified patient above. So
> citizens save
[14:58:07 INFO]: Saving Citizens...
[14:58:08 INFO]: Citizens saved.
> citizens reload
[14:58:20 INFO]: WARNING: this command will load all data from disk without saving first. Please retype /citizens reload to confirm. You can disable this warning in settings.
> citizens reload
[14:58:23 INFO]: Reloading Citizens...
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 1.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 2.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 3.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 4.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 12.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 13.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 14.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 15.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 18.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 19.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 20.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 21.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 25.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 26.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 27.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 28.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 29.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 30.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 31.
[14:58:23 ERROR]: [Citizens] The trait sentinel failed to load for NPC ID: 32.
Note that NPC 16 is not reloaded from the save file. It does exist in the save file.
Please see https://github.com/CitizensDev/Citizens2/issues/2635.