Time Nick Message 00:33 makayabou Can I use io.write to store infos in a file inside minetest.get_modpath("mymod")/some_file ? 00:34 rubenwardy you should avoid doing that, it's bad practice 00:34 rubenwardy anything written there 00:34 rubenwardy may be lost during mod updates 00:34 rubenwardy it's better to write to the world dir 00:34 rubenwardy or use mod storage 00:34 rubenwardy !book storage 00:34 MinetestBot rubenwardy: Storage and Metadata - https://rubenwardy.com/minetest_modding_book//en/map/storage.html 00:36 makayabou yes I did read it and I use it, but it's data I want to create in a world and retrieve when creating other worlds, using the same game 00:36 makayabou I understand it is bad practice 00:38 makayabou database... 00:39 p_gimeno also, the mod directory might be unwritable 00:42 makayabou so I can use it only on setups I know that owner of /bin is the same than /mods/mymod/ .. 00:43 olliy makayabou: are you trying to make a map for CTF? 00:43 p_gimeno do you need to read the info you write during the game, or just at the start? 00:43 makayabou just at the start 00:44 makayabou no CTF but levels with parcours 00:44 p_gimeno then mod storage should work, find it in the page that rubenwardy linked 00:44 makayabou euh.. is that CTF? 00:44 makayabou mod storage is inside world folder 00:45 p_gimeno eep 00:45 p_gimeno rubenwardy: guess that should be specified in that page then 00:46 p_gimeno it says per mod, I guess it should say per world per mod 00:47 makayabou and I want to define data in a world (formspec on nodes), create and save schematics, and, when someone create a new world with the same game, it imports mts ... and formspecs with it (storing pos and formdef and re-putting it as meta on nodes) !! 00:49 makayabou importing mts and get its size, and implant protection is working, and you all helped me a lot !! 00:49 makayabou *implement 01:10 makayabou As I need to collect those data only on some nodes, I'd better to register a new node each time I really nead, then data can be stocked in on_punch 04:45 paneg hi 14:52 nezby czech ? 14:53 nezby cz 15:18 galaxie Ha! My first core dump! Cannot have more than 65,536 vertices apparently. 15:18 p_gimeno I don't recommend more than 100 15:19 benrob0329 Hmm, that number is suspiciously close to the world size limit 15:19 galaxie Even for nodes that don't appear more than a few times? 15:19 p_gimeno there's no LOD, everything is visible from hundreds of m away 15:20 galaxie LOD? 15:20 p_gimeno level of detail handling 15:20 galaxie Also, how do I force the grass to grow faster? 15:20 benrob0329 I suspect it has something to do with floating point precision 15:20 p_gimeno LOD is a technique used to reduce polygons in objects that are far away and don't need so much detail 15:20 galaxie Well, it explicitly tells me it can't handle more than that, so yeah, maybe. 16:26 Calinou it's probably plenty for most use cases, especially in a voxel world 16:27 Calinou 3-4 year old AAA game characters are around 65k vertices :) 16:32 benrob0329 Inb4 Mario 64 in minetest 21:11 makayabou galaxie: for grass growth, in minetest_game/mods/default/nodes.lua grass is defined between l.1466-1515 . There should be somewhere a minetest.register_abm for growth but I don't know where.. 21:19 JDCodeIt You mean growth or spread? 21:24 makayabou growth, that was the question of galaxie 23:13 makayabou I can't find a way to share datas from one world to another.. 23:15 p_gimeno minetest.conf? 23:16 makayabou nodes metada .. 23:18 p_gimeno well, minetest.conf is global, it could get quite clobbered if it included large amounts of data though 23:18 makayabou In fact, from a world I export (by hands) schematics created with WorldEdit, I just need to do the same things with datas I write in mod_storage... 23:19 makayabou but minetst 23:20 makayabou but minetest.conf looks good for some infos. It doesn't require insecure env to be written in ? 23:23 p_gimeno I don't think so 23:23 makayabou It should not, as we can fix seed map in mod.. no? 23:26 p_gimeno names starting with "secure." can't be set, others can 23:32 makayabou ok I got it. But I think it's better if I create a single mod dedicated to writing a specific file from one world's mod_storage to another. Then I don't have to include that inside my mod