Time Nick Message 06:08 * cheapie pokes at an old RPi 1B, a copy of minetestserver, and Dreambuilder 06:08 cheapie Time to see if the server manages to start up before the swapping kills the SD card :P 06:30 cheapie 2024-05-19 07:27:11: WARNING[Server]: Server: Maximum lag peaked at 571.37 (steplen=0.02) 06:30 cheapie hmm 14:56 Amino question for lua gurus 14:56 Amino why can I freely use somestring:split(" "), but not sometable:insert(foo)? 14:57 Amino the latter errors until I replace it with table.insert(sometable, foo) 14:58 MTDiscord because :split is in the metatable for strings, while insert isnt for tables 14:58 Amino wsor4035 thanks.  is this metatable set in lua proper or in minetest? 14:59 MTDiscord string in proper lua has this metatable, split is a method minetest adds 14:59 MTDiscord somewhere in builtin 15:02 Amino okay, thanks very much 15:03 Amino indeed, string.split is not in the standard lua string library, I missed that 15:03 MTDiscord see https://www.lua.org/pil/contents.html#13 for metatables in lua 15:04 Amino yeah thanks, I have that open in a tab 15:05 Amino would be nice if I could use all kinds of table ops with the ":" notation in minetest without having to go through explicit metatable hoops though 15:05 Amino it works dandy for vectors 15:06 Amino have to declare vars as vector.new of course 15:07 Amino maybe having a table.new is kind of weird given how tables are a polyformic basic lua structure 15:08 MTDiscord not exact sure of the terms, but string has a master/main type in lua, so adding metamethods is easy, tables doesnt have that master/main type, so you have to add the methods per table instance. vectors get around this by having vector() and vector.new() which creates the vector tables with meta methods. you could create some util function that returns you a function with all your meta methods 15:10 Amino ? vector() is a thing? I thought vector is a table? 15:11 MTDiscord its just table with meta tables and functions added to it 15:16 Amino allright 15:40 MTDiscord Amino: You do not want tables to have a metatable set by default because that would result in surprises. Say you had a table of words, for example. t["insert"] would now be the table.insert function rather than the data associated with the word "insert". 15:41 MTDiscord If however you know that you're only going to use a table in a list-like fashion, you could simply set the appropriate metatable, as wsor said. 15:56 ireallyhateirc I invented a new joke name for Minetest/MineClone/whatever: ExcavateAssemble, you know like MineCraft :D 15:58 ireallyhateirc Renaming MineTest to YourProduction would be also quite funny 16:09 Amino luatic: yes, I figured that too. 16:09 Road_Killer Amino 16:09 Road_Killer Acid 16:10 Road_Killer Oops 16:10 Road_Killer I was studying 16:10 Amino aminoacids aren't very acidic actually 16:10 ireallyhateirc you spelled out my intrusive biochemical thoughts, thanks 16:10 Amino they're zwitterions 16:10 Road_Killer Sorry for ping vore- I mean Amino guy! :) 16:10 ireallyhateirc depends on the definition of acid you use I guess 16:11 Amino lewis acid or bronsted acid 16:11 Amino superacid 16:11 Road_Killer Funny name, Amino. 18:23 Amino New question, about chat commands 18:24 Amino in a chat command, some text is written using minetest.log 18:24 Amino but somehow it is also written to the chat, with a timestamp and [server] prepended to it 18:25 Amino how do I stop the message from appearing in chat? 18:26 ireallyhateirc you could change log level from "error" to "action" or something 18:26 rubenwardy see https://github.com/minetest/minetest/blob/5.8.0/minetest.conf.example#L2572 18:27 rubenwardy also it only appears in chat when in singleplayer or hosting the server 18:28 Amino rubenwardy thanks 18:29 Amino though it has me stumped that this did not happen in an earlier iteration of the script that I wrote. 18:30 Amino I have no idea what changed this, my only guess is that it started to write to chat after I impemented return values for the function in the chat command 18:32 Amino also, I searched around quite a bit, but could not locate the info you, rubenwardy, just gave me 18:33 Amino is the detail that this is restricted to singleplayer/hosting server documented anywhere at all (apart from snippets of wisdom on #minetest)? 18:34 Amino ireallyhateirc: I have it at "none" (that is the default) 18:51 Mantar it's documented right there, in minetest.conf.example, which ships with minetest 18:52 Amino sure, it's also "documented" in the source code 19:09 Mantar huh? it's a setting, all settings are listed in minetest.conf.example, that's the documentation for settings. where else should it be? 19:18 MTDiscord Meintest 19:20 shaft What's the state of the modern V6 mapgen Trailgen? https://github.com/minetest/minetest/pull/13019 19:23 PoochInquisitor shaft: Stfu 19:23 shaft rude 19:27 Mantar looks like it's stalled, waiting on a second review, as he's made the changes v-rob requested but seems like nobody's looked at it since 19:28 Mantar *added v-rob's fixes 19:33 shaft Sad. I like v6 because of the scale but it doesn't generate sandstone, new materials and plants and has no biome api. 19:40 Mantar it really just needs somebody to remember to look at it, so poking folks here on IRC was a good idea. 19:42 MTDiscord Mantar, please look at it 19:44 Mantar I suppose I could, but I meant somebody on the dev team. I have loads of Exile stuff on my to-do list that needs attending to. (And my C++ is rusty, lol) 19:45 MTDiscord Port it to rust 19:46 Mantar lol 19:46 shaft Everyone likes more dependencies :) 19:46 PoochInquisitor Jordan: oof 19:51 ireallyhateirc Rust got C++sy 19:51 sy yes 19:59 mazes_84 hi all, can I have an explanation about runsy being banned ? it annoys me a bit as I was using one of his mod (petz) 20:00 mazes_84 I've seen he also closed his github. 20:05 ROllerozxa mazes_84: runs was permanently banned from CDB due to repeated copyright infringement 20:09 mazes_84 ok, so maybe thing to take care of if I at any point decide to maintain my own version of petz (I don't feel brave enough yet) 20:20 shaft Somebody asked me about petz support for Blood Splatter once. I guess it must be popular. What is the infringement about? Code, models or textures? 20:21 MacroFaxSax shaft 20:21 shaft What? 21:09 MTDiscord Models and textures are at least known