Jump to content

NPC restores default name from time to time

Pending 1.3.2

laodu
laodu

Posted

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.

  • Administrator
Steenamaroo

Posted

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

laodu

Posted

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

laodu

Posted

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.

  • Administrator
Steenamaroo

Posted (edited)

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
  • Administrator
Steenamaroo

Posted

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
laodu

Posted

I'm not a technician, so I don't quite understand what you mean.

  • Administrator
Steenamaroo

Posted

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 ^ 👍

laodu

Posted

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

  • Administrator
Steenamaroo

Posted (edited)

👍
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
laodu

Posted

After multiple tests, it was found that it was caused by certain plugins reloading. This issue can be closed now. thank you.

  • Administrator
Steenamaroo

Posted

Thanks for the update @laodu

I've worked in a solution in the next update. 👍

  • Love 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

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.