Coder Social home page Coder Social logo

Comments (16)

imWillX avatar imWillX commented on June 8, 2024 1

@TomLewis I'll fix the issue where the parser crashes rather than outputs an error.

I knew this was going to be a breaking change thus the major version update. I can add backward compatibility.

from cratereloaded.

scottyboii avatar scottyboii commented on June 8, 2024

Please attach your crate file(s)

from cratereloaded.

TomLewis avatar TomLewis commented on June 8, 2024

Crates work fine and have done until this update.

from cratereloaded.

imWillX avatar imWillX commented on June 8, 2024

@TomLewis we recently have had an update with breaking changes. https://www.spigotmc.org/resources/pro-crate-reloaded-mystery-crate-1-8-1-19-x.3663/update?update=487696

from cratereloaded.

TomLewis avatar TomLewis commented on June 8, 2024

I don't use nbt or CustomModelData which was listed as the breaking changes.

from cratereloaded.

imWillX avatar imWillX commented on June 8, 2024

Could you DM me your crate on discord? It’ll help debug this quicker.

from cratereloaded.

imWillX avatar imWillX commented on June 8, 2024

@TomLewis Do you use durability values? Sorry, I didn't include this in the update logs but damage is moved to a flag.

Before: dirt:123 1

e.g. dirt 1 durability:123

from cratereloaded.

TomLewis avatar TomLewis commented on June 8, 2024

Ahh I may do! That may be it then! I will look over my files when I'm home tonight! Thank you

from cratereloaded.

scottyboii avatar scottyboii commented on June 8, 2024

@TomLewis Did you manage to solve this?

from cratereloaded.

TomLewis avatar TomLewis commented on June 8, 2024

I haven't had time to look over all my configs, I just wont be able to update if it breaks everything and there's no clear message that tells me exactly what needs to change.

It is insnae we have to go back and search through all files, why it wouldn't just output the error instead of entirely killing itself. Very poor implementation.

from cratereloaded.

scottyboii avatar scottyboii commented on June 8, 2024

If you want to send over your crate files to one of us, we can take a look for you and let you know!

from cratereloaded.

WhatsTheBadNews avatar WhatsTheBadNews commented on June 8, 2024

@imWillX Sorry if this is too unrelated to the issue, but with "durability:" being switch to a flag for how damaged an item is, what is now the recommended way to show the Unbreaking enchantment? For example, in previous versions, if we wanted to display an item with Unbreaking 3, we would put durability:3 in the config. Now, all those same items no longer show Unbreaking, but do show the item as being damaged. Any help would be appreciated. Thanks

from cratereloaded.

TomLewis avatar TomLewis commented on June 8, 2024

The latest version seems to boot fine now! And it gives an error message:

[10:32:30] [Server thread/INFO]: [CrateReloaded] Found NBT in deprecated format. This will not be parsed: [{CustomModelData:4}]
[10:32:30] [Server thread/INFO]: [CrateReloaded] Found NBT in deprecated format. This will not be parsed: [{CustomModelData:4}]

So I searched through all my files and found this! Which is weird as I dont have a RP at present on the server and no need for this! Very odd! At least I was able to find this deep in my crates files from the error message now! If you wish to improve on it further you could output the crate name/line number for anyone else that may not know how to search files for text.

from cratereloaded.

scottyboii avatar scottyboii commented on June 8, 2024

Did you manage to solve this, @TomLewis?

from cratereloaded.

TomLewis avatar TomLewis commented on June 8, 2024

@scottyboii yeah! So if you use VScode you can right click on the folder of all your crate files and search all files, I used the text that was shown in the startup error to search all my crate files for the "legacy" broken bits across all crates, vscode then lets you click and takes you to the line where it is, so you dont have to spend ages searching through each doc one by one!

from cratereloaded.

scottyboii avatar scottyboii commented on June 8, 2024

Awesome, glad you fixed it!

from cratereloaded.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.