Angel Ring

Angel Ring

23M Downloads

[BUG] XP cost is only visual. No experience points actually are removed from player's pull.

Patryk122PL opened this issue ยท 4 comments

commented

There's something wrong with either how this mod calculates xp drain or how it applies this cost.

Sometimes I test flying with 30 levels and it clearly shows my xp is draining, but after re-login I'm back to 30 levels.
Other times I used for example 12 levels and after re-login it drained only 3-5 levels.

Also depending on configuration if you set xp cost low or high, but with short delay, then you can see visually experience bar is getting drained, but after a moment it snaps back to what it was or just slightly less then before first drain e.g. from 31.5 -> 30.5 -> 31.2 -> 30.3 -> 30.9 etc.

I've checked with only this mod, curios and JEI to verify if this was mod conflict and unfortunately no, it's still bugged.

Forge 43.2.3 - MC 1.19.2
Latest mod version.

commented

Thank you for creating an issue and letting me know. I will relook into it since in certain versions it didn't happened and I was not able to reproduce it, but seems this is still an issue and I'm going to see if something breaks when the "de-sync" of XP is happening and XP bar begins to pull XP, but this is only a visual behaviour.

commented

It's definitely some sort of de-sync. I was trying while standing still and it very rarely happens. Also it's much more pronounced while above 30 levels and with more mods since the server has a lot more to do there..

I've recorded some example videos:

After re-login
https://share.icloud.com/photos/0bawJNMGjdVf3_119_AHmnRgw

Bouncing back
https://share.icloud.com/photos/01c2i1pBeOhkFrq7Mgcyo8sLA

commented

Seems that Angel Ring tried to read dirty XP data, so probably that was the reason, that Minecraft could send to Angel Ring raw data that wasn't already changed and Angel Ring tried to set a value that was changed much earlier than the update happened and reading only client data, not server's one.

Should be fixed in versions:
v2.0.3 for MC 1.16.5 and 1.18.2
v2.1.6 for MC 1.19.2
v2.2.0 for MC 1.20.1

Please, let me know if this still persists in newer versions, since I couldn't reproduce it anymore after patching the check to not read dirty data.

I will leave this issue open for some time if this still will persist in newer versions. They will come in a couple of hours.

Ok, the higher the XP cost, the more cursed it is; However it doesn't reproduce on small values. Probably something goes wrong when recalculating the levels, not the whole experience of the player.

commented

Nevermind.