-
Notifications
You must be signed in to change notification settings - Fork 8
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
Endless stacking speed bug (+ a way to fix it for users) #17
Comments
could you priovide the BlossomHomes.json config file and a mod list? |
Sure! I also ran into another issue. I kept stacking the movement speed until this message appeared when trying to rejoin my server: I already tried deleting my playerfiles but it didn't help.. |
i'm more interested in the i will try to find the cause of this, which is likely a mod incompatibility, as i've used the homes command myself a bunch, including around speed beacons and such |
Lmao, I was searching through the configs but didn't notice there is another whole folder from this mod in it. Found it now! Thanks for the effort!
Edit: I could fix it by joining with a new profile (with the same mods). So I can join my server again ofc. with cleared inventory as mentioned in the first post (not a big deal) |
ah, i've found where the bug is, it's not a mod compatibility - i had overlooked how player abilities work |
no clue how long before i can fix it (with me attending uni and all), but i'm surprised it's only been reported now, it should've been reported ages ago, as the broken functionality is shared across all my mods |
wait, looked at the code and apparently i don't actually do anything with player abilities, only xp and potion effects so i'll have to look into this deeper |
I am surprised too. I guess in Vanilla Minecraft it's uncommon to have Speed buffs during a teleport? Or maybe they changed something in the Vanilla Minecraft code in 1.20+ that causes troubles with your mod? But don't worry, take your time!! I am attending university too and it can be hella stress. |
i finally looked into this issue, i had forgotten that i do actually mess with FoV even if they're not enabled in the config. and FoV does mess with player abilities. |
EDIT: I just noticed you said it's already implemented. So sorry! Will leave the comment underneath for completion sake. I can recreate this bug too, a lot of head scratching and testing later only to find this report.
My modlist is also quite a bit shorter: Here is a recording of the behaviour on my server: screen-recording.mp4 |
Requirements to cause the bug:
Observation:
If you cancle or get canceled during a teleport while having any active speed buff (doesn't have to be Vanilla Minecraft Speed), you will notice your FOV zooming in. If you then log out and back in again, you will notice your speed is permanently increased. This effect is stackable.
Assumption:
I assume the "FOV zooming in" means it basically sets your current speed as base speed. So it is not actually zooming in but rather neutralizing the by speed changed FOV to the normal one (since your speed is now considered as normal speed).
Once you log back in, you get the speed buffs provided from your current/permanent speed providing buffs additional to your new set base speed.
If that is correct, the additionally speed keeps stacking on the base speed, causing the bug
Video how I recreated the bug: https://www.youtube.com/watch?v=AvG6yl7l1Ik
Hope you can solve that issue! Sadly I have to remove the Mod from my Pack until it is fixed.
How I fixed the bug on my server (fabric 0.15.6 api, Minecraft Version 1.20.1):
!!!!!BEFORE DOING THAT make sure the player stored their whole inventory in a chest and made a screenshot of their current level!!!!!!
Starting point: servers folder
MAKE SURE the server is shut down.
First you navigate to the usernamecache.json and keep this file open. It displays the UUID for each player.
Then you navigate to: world > playerdata
Here you search for the UUID of the player who has the speed bug applied to (the first opened file will help you).
To be save you cut their files out and temporarely store them on your Desktop (or any other preferable folder).
Once the files are removed from the playerdata folder, you can start the server again.
The player will have a cleared inventory and player level and will spawn nearby the world spawn as a new player.
(Achievements and Statistics are kept)
If this doesn't work, put the backup of the players data back in the folder to avoid further issues and search for a different way to solve the problem.
The text was updated successfully, but these errors were encountered: