Time Nick Message 09:41 repetitivestrain New bug: AreaStores with more than 65536 values cannot be serialized completely 09:42 repetitivestrain 65535* 09:42 repetitivestrain because num_areas is written as an unsigned short 10:19 [MatrxMT] good old size limitations 10:20 [MatrxMT] see also: areas and xban mods running out of serialization space 10:20 repetitivestrain in this instance it's my level generator 10:20 [MatrxMT] AreaStore is backed by libspatial, hopefully that has no such inherent limitation 10:20 repetitivestrain core.serialize can't cope either: "nil [string "local _={};_[1]="mcl_levelgen:pillager_outpos..."]:1: main function has more than 65536 constants" 10:20 repetitivestrain libspatialindex is fine 11:14 sfan5 you are not supposed to have more than 65500 things 11:15 sfan5 try imagining 65500 rice 11:15 sfan5 doesn't work, right? 11:15 [MatrxMT] 64 Kibirice 11:16 repetitivestrain sfan5: i don't understand, my server already has 77k+ mineshaft segment 11:16 repetitivestrain segments* 11:16 repetitivestrain since they are very modular structures that generate quite frequently too 11:39 MTDiscord repetitivestrain: technically it's core.deserialize (aka the lua implementation, so luajit here) that can't cope, core.serialize most certainly can cope. 11:39 MTDiscord but once you have that much data consider spreading it across multiple files / mod storage. 11:40 luatic at least the areastore bug should be relatively easy to fix 12:11 MTDiscord also, not a new bug. replace core.serialize with core.write_json 13:18 repetitivestrain luatic: 65535 bounding boxes is not much and i certainly expect AreaStore's serializer to manage such an amount 13:18 repetitivestrain but PUC Lua also imposes a 65k limit on constants in functions i believe 13:19 repetitivestrain wsor4035: sure, but the question i wanted to raise is why such a limit exists to begin with 13:20 repetitivestrain AreaStore can manage hundreds of thousands of AABBs without breaking a sweat and the binary serializer/deserializer is more space efficient when compressed and more performant to boot 13:23 repetitivestrain moreover this limitation is NOT documented anywhere 15:29 [MatrxMT] how can i make a node floodable but turns to itself when it dries up instead of air 15:29 [MatrxMT] or how can i detect when a liquid changes a node 15:29 [MatrxMT] but it turns to itself* oops typo 17:50 sfan5 did you check on_flood