webNBT icon indicating copy to clipboard operation
webNBT copied to clipboard

Error on Loading an NBT

Open ghost opened this issue 6 years ago • 5 comments

hello. i'm a Minecraft developer. i'm using your webNBT to tweak my NBT file-based structures. i can load ALL my structures BUT this one: castle.zip it's actually same with others. i generated it by the same way as i did with the others. but webNBT errors about loading it. can you help about it? it would be very helpful. thank you

ghost avatar Jun 28 '18 20:06 ghost

Hi @kenijey. I'd like to debug this, but I'll need some more precise information.

  • What did you create the file with?
  • Are other programs able to open it?
  • What error(s) do you get?

iRath96 avatar Jun 29 '18 10:06 iRath96

in Minecraft, with Better Structure Block mod. YES, NBTExplorer helped me a lot just yesterday night, it saved the case. i could open my castle then edited it easily. your webNBT just says error and click ok to contact to developer. thats all it says

ghost avatar Jun 29 '18 12:06 ghost

i can open my other structures with you webNBT but the castle structure. I think the castle has more properties than the others, since it's bigger and has more details than them.

ghost avatar Jun 29 '18 12:06 ghost

@kenijey The issue here is that the pre-allocated memory is not sufficient. Although this can easily be increased, this will not actually solve the issue, as the browser will crash on trying to load all these hundreds of thousands of properties in your NBT file. The only way to fix this would be to rewrite large parts of the application (generating tree data lazily and not displaying the entire source-code in the sidebar), which I do not have time for at the moment. Until then, I'll keep this issue open.

iRath96 avatar Jul 02 '18 08:07 iRath96

Okay. Thank you a lot for your reply. I hope you fix it.

ghost avatar Jul 02 '18 08:07 ghost