-
Notifications
You must be signed in to change notification settings - Fork 50
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
1.18.1 #311
Comments
Which version did you try? Current master does not support Minecraft >= 1.13 (I think), I suggest you first try my current but old pull request for 1.13 support #310 (edit: I did test it with an early version of 1.17 where it worked mostly) I stopped working on it since it seems that no one was interested and I really wanted feedback on code quality and design approach. |
Hi!
|
Alright then workshop time; I'll take a look and see what's going on |
Well; now that I have installed 1.18.1 I'm able to reproduce this issue |
Ok! It happens here with tiny maps (just created) and massive ones. |
So building the |
Managed to get the top-down rendering to work, the Y section indexing (which is used to compute the block height) is just broken now, I noted before that the deepslate was negative but now they all are and I need to figure out a way to normalize it since the computation expected them to start at zero and then increase. |
Thanks, unfortunately it crashes here:
|
Hmm that is at the Y-index decoding process |
I cannot easily reproduce any crashes currently (I'm almost positive that if we did input fuzzing of map data that there will be crashes), I looked into one thing in the internal NBT library and have now pushed that. All my old test maps and new ones seems to be working for me regardless. @folkertvanheusden If it is still not working could you send me the offending map and maybe provide me with your compiler and library versions? Finally have you verified that it is not a ram-issue on your end? |
Hi, I don't think it is a ram issue: memory usage: 2789 MB I'm using gcc 11.2.0 but clang++ 13.0.0-2 gives the same problem. Can I share the map with you without it being accessible for everyone? Can you send me your e-mail address so that I can send you the url? [email protected] Valgrind mentioned also all kinds of errors, see attached. |
Excellent report; I was contemplating running Valgrind. For completeness sake here is my compiler and dependency versions; I have not tried using |
Got it! Sections need to be allocated before setting their Y-index. I should really write a few unit-tests for the level data parser to ensure that corner cases like this cannot happen again. |
Thanks for all the work! |
Hi,
With minecraft 1.18.1 I only get completely transparent .png-files, e.g. with nothing visible.
The text was updated successfully, but these errors were encountered: