webbukkit / DynmapBlockScan

Tool to scan post-1.8 MC blocks and JSON model data to automatically generate Dynmap models
61 stars 30 forks source link

invalid modellist patch for box, fabric server 1.19.2 #82

Open jac0b-n opened 1 year ago

jac0b-n commented 1 year ago

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 commented 3 months ago

There was an issue raised on the parent dynmap repo for this same problem: https://github.com/webbukkit/dynmap/issues/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.