Jump to content

NPC restores default name from time to time

Pending 1.3.2

laodu

NPC restores default name from time to time.

After the server was restarted, the modified NPC name was displayed normally again. But after a few hours, the NPC's name will revert back to default, which happens every day. It seems to be related to the number of NPC refreshes.

Link to comment
  • Administrator

Hi,
Are you on V1.3.2?
To the best of my knowledge there should be no displayname related issues with that version.

Link to comment

I am using version 1.3.2. I can be very certain that there is an issue with the display of NPC names.

Link to comment

After the server is restarted, the modified NPC names can be displayed normally, but after a few hours, the NPC names will return to their default and the server must be restarted to restore normalcy. I discovered this issue a long time ago, when I initiated a question here. I always thought it was a problem with my settings. After about a month of verification. I have confirmed that NPC names will revert back to default.

Link to comment
  • Administrator

I can't think of any reason that would happen but I'll look into it.
 

What name is shown, when the issue occurs? "Scientist" ? "BotReSpawn NPC" ?

Edited by Steenamaroo
Link to comment
  • Administrator

Looks like you've got some other plugin undoing harmony patches, probably by using UnpatchAll();

You'd need to find out what plugin that is - Shouldn't be too hard since it must be loading/reloading at the same time as BotReSpawn names change back to default,
then let that author know to use

private Harmony harmony = new Harmony("TheirPluginName");
harmony.UnpatchAll("TheirPluginName");

 

instead of just

harmony.UnpatchAll();

  • Like 1
Link to comment
  • Administrator

You don't need to be a technician.
You just need to find what plugin is being loaded, or reloaded, when BotReSpawn names stop working
and point its author to this ^ 👍

Link to comment

I understand what you mean. I currently have a lot of plugins, and I need some time to search for them.

Link to comment
  • Administrator

👍
Your server log should show X was killed by Y for every npc that gets killed
so it should be fairly easy to find the first time it says "Scientist" instead of an actual name.

If you can find that, the problem plugin will most likely have been loaded, or reloaded, (...or maybe unloaded?) just before it.

Edited by Steenamaroo
Link to comment
1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

100.7k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.