Fairy Factions Revived

Fairy Factions Revived

182k Downloads

[Bug]: considerable lag on server when empty and nothing happening

codec-d opened this issue ยท 2 comments

commented

Describe the Bug

pathing appears to be severly impacting TPS, getting ~58000ms per tick

To Reproduce

[Forge] fairyfactions-1.20.1-1.6

server running with one person
59 fairy_entity spawned in the world, across various chunks

Expected Behavior

time per tick less than 5000ms

Screenshots

image

Minecraft Version

1.20.1

Mod Loader

Forge

Crash Log

No response

Additional Context

strongly believe its pathing related

commented

Hello! Thanks for bringing this to my attention!

I'm not sure if I am able to change the pathing methods to be more efficient. Most of the code responsible for the pathing was in the original mod and I mostly just ported that code over. I'm not experienced enough with messing and coming up with better pathing algorithms. I can try to move things around in the code to see if there is an improvement though, but I can't guarantee that I will be able to fix this issue.

How were you able to check the server performance with that level of detail that's in the screenshot you provided? Is it a separate tool?

commented

apologies for the 3 week delay. the tool used here is spark and its available on curse forge. if you make changes I would be happy to test them out.