Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lonely Knight - Crazy Spawn rates, and cant turn them off. Cusing TPS Lag over time. #6

Open
WholeThrower119 opened this issue Feb 2, 2025 · 6 comments

Comments

@WholeThrower119
Copy link

WholeThrower119 commented Feb 2, 2025

Hi, thanks for the time and effort you put into this mod. Ive enjoyed finding your structures throughout my world and plan to use this mod in my future packs 👍

However I am running into a weird issue.
The Lonely Knight is causing major headaches and lag, and there is no way to stop it from spawning without additional mods for mob control.

Whats happening: Fabric 1.20.1

  • Lonely Knight Spawn rates are beyond too much on my server for some reason.. every time i /kill @e[type=create_ltab:lonely_knight], there are over 300 of them. and if I wait only 1-2 min before running the command again it kills another 300, when 3 players are online.
    There is over 100 of them spawning around every player. Quickly Dropping TPS to its knees.

  • The knights seem to stay persistent. Unloading chunks doesn't remove them.

  • No Config option to disable their spawning. Which is odd considering i cant find a purpose of the knights in the first place (yet lol), which would make me want to turn them off to save resources. Especially in a ModPack environment where Server resources are already spread thin.

Sidenote: I confirmed all other mobs/animals have normal spawn rules and amount, I also have a few other modded mobs and confirm they also spawn like normal. So it seems this problem is localized to this specific mob/mod.
There are also no errors or related log lines i can share. Nothing appears out of ordinary in logs/console.


So far 3 solutions exist for me:
1 - Remove mod, and regenerate the world .. - (not gonna do this because of friends hard work on my server and i enjoy the structures added by this mod)
2 - Install a Mob control plugin/mod to stop the specific mob from spawning (tried, but ran into unrelated issues.)
3 - Make a datapack to kill all Lonely_knights every tick.

For now, Number 3 is what i did.
While its a working temporary fix. its really noticeable.
Since the spawn rate is so extraordinarily high no matter where you go, you always see floating dying lonely knights everywhere.
Heres a random GIF i took of it, when i was exploring the END (where its most noticeable)
Image
if you sit still, roughly 10 spawn every second, but while you move, 30-40 spawn at once and repeatedly in the direction your heading.

Hopefully the spawn rules/weights can be dealt with, or at-least add a config option to disable spawning them for now.

I'm going to attach the datapack zip i made to kill the lonely knights in case someone else has similar issues.
All this datapack does is run /kill @e[type=create_ltab:lonely_knight] every tick.
while it doesn't address the spawning and visual issues. It does stop the lag buildup and insane volume of LK's in the world.

Kill-Lonley_Knights_(Create-LTAB)_repeated.zip
Used on Fabric 1.20.1
But should also work on Forge.

Sorry for the long post 🤣
ty for your hard work!

@WholeThrower119 WholeThrower119 changed the title Lonley Knight - Crazy Spawn rates, and cant turn them off. Cusing TPS Lag over time. Lonely Knight - Crazy Spawn rates, and cant turn them off. Cusing TPS Lag over time. Feb 2, 2025
@not-jun0
Copy link
Owner

not-jun0 commented Feb 2, 2025

Hi thank you so much for the detailed post it helps a lot. Just one question what version of my mod do you play with since I think there one time was a small version with this bug.

@not-jun0
Copy link
Owner

not-jun0 commented Feb 2, 2025

If it isn’t a problem with the version you could join the discord since it’s a lot easier for bigger problems (which this is)

@WholeThrower119
Copy link
Author

Sorry for the late response!
Sure i can join the discord, However the invite link to it on Modrinth is expired.
(Also noticed: When clicking "View source" in moderinth, it links to the Create: Dimensions Github. instead of here. The "Report bug" button works fine though.)

As of right now, i am using v2.5.0 for Fabric-1.20.1 on both my clients and server. Runnin create v0.5.1j.
Was planning to update my server side of your mod to 2.5.1 this weekend.
Major L on my part if my bug was already fixed in the latest version that i simply havnt updated to yet. I made an assumption based on the changelogs that nothing changed for the LonleyKnight, and figured to post anyway.
Whoops

Send over a new invite link 👍

@not-jun0
Copy link
Owner

not-jun0 commented Feb 8, 2025

Sorry for all the problems on modrinth. I have tried to figure out what’s causing the bug but can’t seem to recreate it in any of the newer versions. It shouldn’t happen in 2.5.0 or any version close to it. I will fix all the stuff on modrinth and we can discuss this further in the bug channel on discord.

@WholeThrower119
Copy link
Author

The invite link on Modrinth still doesnt work for me.
( https://discord.com/invite/bmWF3F3z )

i again apologize for late responses, got lots goin on lol.

@not-jun0
Copy link
Owner

the invite link on modrinth is https://discord.com/invite/vBCfabYUsR. I think the one you send is somehow the old one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants