Zedly / Zenchantments

More enchantments without mods or resource packs. CB/Spigot 1.14.4 / 1.12 / 1.11.x / 1.10.x
GNU General Public License v3.0
12 stars 23 forks source link

Better 1.16 support #47

Closed Geolykt closed 3 years ago

Geolykt commented 4 years ago

This will make some severe changes to the way enchantments are read and written, however I will attempt my best at making this the most downwards compatible. With this changed, nothing stands in the way of support for 1.16.x If you have better algorithms for solving the issues, feel free to give some opinions, thoughts and contribute to the PR in other ways. I hope to finish this by the end of this weekend, but it could easily take longer.

Geolykt commented 4 years ago

And it's done, now we only need to add backwards compatibillity and we should be good to go

Geolykt commented 4 years ago

I'm not 100% sure that this will always work, but it should be sufficent enough to run. Backwards compatibillity needs to be tested though.

It is likely already well optimised, but if you have suggestions on how to make it run better, then please come forward.

Jeradone commented 4 years ago

This does not work with 1.16.2 for some reason, I cant use any of the enchants

Geolykt commented 4 years ago

@Jeradone that is pretty vague, but I will attempt to recreate it using spigot 1.16.2. Craftbukkit isn't supported (duh) and Paper tests aren't performed by me, neither will I perform any attempt at creating compatibillity with Paper. I assume this occoured because I use slightly different settings from normal for debug purposes, so I will try that. Thanks anyways

Geolykt commented 4 years ago

You seem to be right, while old items appear to be still inteact, newer items aren't. I'll change that now

Geolykt commented 4 years ago

@Jeradone Could you look at it again?

Jeradone commented 4 years ago

What am I looking for again? I am using speed boots rn and its not working as well.

Geolykt commented 4 years ago

They work for me, how old are the boots? Like, are they new or are they from before the conversion? And do you get the Item Converted log just once or spammed, and are you using the compiled version with the latest git commit of 6856509?

Jeradone commented 4 years ago

So I just enchanted my boots in my survival, and apparently nothing has changed, I have meador on my boots and I am not gaining speed nor a jump boost, I am playing 1.16.2

On Mon, Aug 24, 2020 at 9:46 AM Jerado vincenthong0602@gmail.com wrote:

On Mon, Aug 24, 2020 at 9:39 AM Geolykt notifications@github.com wrote:

They work for me, how old are the boots? Like, are they new or are they from before the conversion? And do you get the Item Converted log just once or spammed, and are you using the compiled version with the latest git commit of 6856509 https://github.com/Zedly/Zenchantments/commit/6856509d55f59a8b39c8e6d8fae5e26744fab9bc ?

Before the conversion, I’ll try it again once I get home, which will be about an hour or 2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zedly/Zenchantments/pull/47#issuecomment-679131763, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQXDE2KDD4G6ISBM5IHYJKLSCJUPHANCNFSM4QHSAEXQ .

Geolykt commented 4 years ago

Well, sorry for being somewhat late (github at it's finest), I got no clue what (didn't) happen here

Jeradone commented 4 years ago

Im so confused, do the enchantments work?

On Thu, Aug 27, 2020 at 7:53 AM Geolykt notifications@github.com wrote:

Well, sorry for being somewhat late (github at it's finest), I got no clue what (didn't) happen here

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zedly/Zenchantments/pull/47#issuecomment-681900663, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQXDE2PYLGWYRNOVUKVUAI3SCZCKNANCNFSM4QHSAEXQ .

Geolykt commented 4 years ago

What I'm saying is that it works in my Testing Environment, and even my Fork runs without issues (although I only provided the Download yesterday), but I would've got an issue by now especially since it's using the Same Code now.

Where die you get the Plugin jar from?

Jeradone commented 4 years ago

I got it from my.server pros plugin list.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Zedly/Zenchantments/pull/47#issuecomment-682334070, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQXDE2MLPKS7MA7AJRV4FD3SC46NVANCNFSM4QHSAEXQ .

Geolykt commented 4 years ago

Oh god. Well, firstly, this is the wrong place to post, this is a Pull Request, not an issue. Secondly, if you got no idea on how to build the code, then please don't comment on it unless you believe it adds value to the current conversation or you see fundemental flaws (like malicious code), but chances are that you aren't going to spot them if you don't know how to build it. Thirdly, if you wish to obtain a neatly packaged jar file that is based on this PR (along other things), then go to https://github.com/Geolykt/NMSless-Zenchantments/releases

Geolykt commented 4 years ago

I think the last commit should fix the last few bugs that I had with the code

Geolykt commented 3 years ago

I'll be working on rewriting the code, that is if it's needed. (I got no idea if the code that was just pushed actually fixes the current issues)