MarkusBordihn / BOs-Easy-NPC

Create easily NPC for your world or for your mod.
Other
19 stars 7 forks source link

[Bug] Spam in my server command and make the server lag #337

Open cutekitticat opened 1 week ago

cutekitticat commented 1 week ago

💡 Check the Bug Tracker and Crash Tracker before reporting a new issue. There you can find a lot of useful information and solutions for common problems.

Note: Please make sure to fill out the following template to the best of your ability. This will help us to identify and fix the issue faster.

Minecraft and Mod version 🐞 Minecraft forge 47.3.0, mod 1.20.1 - 5.6.0

Describe the bug 🐞 spam in my server command and make the server lag/unplayable

To Reproduce ⚙️ Steps to reproduce the behavior:

IDK

Expected behavior ✔️ Don't spam and don't make my server laggy

Screenshots 📸 image_2024-09-18_215052911

Debugging 🛠️ Before reporting an issue, please enable the debug mode over /easy_npc debug true to get more detailed information about the issue in the logs. Additionally, check if there is anything relevant in the crash-reports, debug.log, and latest.log file. latest.log

Is the issue happening in combination with other mods? (If yes, please provide a full list) 🧩 IDK Additional context 📝 Everything was working when suddenly the server lag, we check why and we see that Easy_npc spamming in the command

MarkusBordihn commented 1 week ago

Thank you for the report. The shared messages are designed to trigger only once when the NPC spawns.

If you're seeing something different, could you please provide a log file that shows duplicate entries for the same NPC with the same ID?

In your case, the messages are repeating, but with different IDs (indicating a technically different NPC). This suggests that something may be reloading or respawning the NPC, which requires further investigation.

Do you have any setup or mod in place that reloads/respawns NPCs, or any optimization mod that might despawn and respawn entities?

cutekitticat commented 1 week ago

I think it can be an optimization mod

image

Can it be one of those mods ?

cutekitticat commented 1 week ago

???

MarkusBordihn commented 6 days ago

Apologies, but I currently don't have the time to test each of these individual mods myself. You can expedite the process by deactivating them one by one to check if the NPCs are still respawning intermittently.

Additionally, enabling debug mode might provide more detailed information, which could help isolate the issue. At this point, it seems like a specific issue with your mod pack rather than a general problem with the mod.

I’ll try to reproduce the issue with the specific mods you mentioned over the next week or so.