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

C2ME causing player teleporting lag on server #138

Closed
LostChairr opened this issue Apr 22, 2022 · 9 comments
Closed

C2ME causing player teleporting lag on server #138

LostChairr opened this issue Apr 22, 2022 · 9 comments
Labels
bug Something isn't working status: more info needed Further information is requested

Comments

@LostChairr
Copy link

Whenever players load in chunks it teleports the player back over and over again and the server TPS is perfectly fine after a while it crashes the whole server (server logs say nothing just shut down)

@toinouH
Copy link
Contributor

toinouH commented Apr 22, 2022

VMP does not affect teleportation (only chunk loading).
C2ME can if you enable an option (off by default) in the latest dev build.
I wonder if you have other mods installed.

@ishland
Copy link
Collaborator

ishland commented Apr 22, 2022

There is a work-in-progress optimization targetting situations like this in development builds. Please try reproduce this with development builds.

@ishland ishland added enhancement New feature or request status: more info needed Further information is requested bug Something isn't working and removed enhancement New feature or request labels Apr 22, 2022
@LostChairr
Copy link
Author

LostChairr commented Apr 22, 2022

Is the fix in any of the 1.18.1 builds? My server won't run any of the 1.18.2 releases.

@toinouH
Copy link
Contributor

toinouH commented Apr 22, 2022

Must probably not as:
Ishland's time is very limited (only a few hours per week to maintain 3 mods, the latest release and often a snapshot version). Maintaining a backported branch is in consequence rarely an option for us.
When the fix is fully done you will be aware of this and you can backport it if you want.

@LostChairr
Copy link
Author

LostChairr commented Apr 23, 2022

Untitled.2.mp4

It happens more often when I move quicker and mobs lag and teleport too

I converted the recent 1.18.2 C2ME version to 1.18.1 and it's not as bad but it's still quite annoying video I sent is what's happening

Here's a spark profile while the mod was teleporting me back
https://spark.lucko.me/IcRoH8Z5bu

@ishland
Copy link
Collaborator

ishland commented Apr 23, 2022

From the spark profile it seems that the server ticking logic just simply can't keep up with the speed of chunk loading. This isn't what we can fix in C2ME. If you really want this to stop this from happening use fabric-carpet with antiCheatDisabled rule.

@LostChairr
Copy link
Author

Anticheatdisabled fixed the rubber banding but is there any solution to the lag? The server is only laggy when C2ME is installed. I really want to use C2ME in my server it drops the server's CPU usage down drastically.

@ishland
Copy link
Collaborator

ishland commented Apr 23, 2022

Can you join our discord server so we can further investigate this?

@ishland
Copy link
Collaborator

ishland commented Apr 23, 2022

Closing as this issue is caused by ferritecore.

@ishland ishland closed this as completed Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: more info needed Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants