Skip to content
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

invalid modellist patch for box, fabric server 1.19.2 #82

Open
jac0b-n opened this issue Jun 15, 2023 · 1 comment
Open

invalid modellist patch for box, fabric server 1.19.2 #82

jac0b-n opened this issue Jun 15, 2023 · 1 comment

Comments

@jac0b-n
Copy link

jac0b-n commented Jun 15, 2023

dynmapblockscan loads most mods in correctly (some betterend, betternether fail to open blockstate)
however all fails when loading into dynmap, all errors of the form
[23:40:46] [Server thread/FATAL]: [Dynmap] Invalid modellist patch for box -5.90/0.01/11.90:5.50/5.50/16.20 side NORTH at line 6 etc.
server does not crash, but dynmap does not load in any dynmapblockscan models.
full log:
latest.log

many thanks :)

@eski-dev
Copy link

There was an issue raised on the parent dynmap repo for this same problem: webbukkit/dynmap#4059

Since there hasn't been any movement on this, I took the time to create a python script that will allow you to use a server console logfile to selectively delete the offending lines from the *-models.txt files in renderdata: https://github.com/eski-dev/dynmap_invalid-modellist_fix
I saved the original model text file definitions in a subfolder called "originals" in case I had any issues or needed to restore them for some reason, but you can just as easily temporarily remove dynmap from the mod folder and re-run dynmap-block-scan to regenerate the files.
Now instead of Dynmap taking 30 minutes to load on server start and generating over a million loglines, it only takes 30 seconds with no errors or warnings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants