Minetest logo

IRC log for #minetest, 2024-05-19

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:11 phmq joined #minetest
00:21 ShadowBot joined #minetest
01:19 Verticen joined #minetest
04:00 MTDiscord joined #minetest
04:29 vampirefrog joined #minetest
05:27 sparky4 joined #minetest
05:41 gregon joined #minetest
05:43 tarsovbak joined #minetest
06:01 amfl2 joined #minetest
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:26 gregon joined #minetest
06:27 tarsovbak joined #minetest
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
06:30 PoochInquisitor joined #minetest
06:54 Verticen joined #minetest
06:56 tarsovbak joined #minetest
07:23 lemonzest joined #minetest
07:36 calculon joined #minetest
07:39 calculon joined #minetest
07:41 calculon joined #minetest
07:50 calculon joined #minetest
07:52 mrkubax10 joined #minetest
08:01 calculon joined #minetest
08:12 tarsovbak1 joined #minetest
08:15 calculon joined #minetest
08:19 calculon joined #minetest
08:19 est31 joined #minetest
08:20 fling joined #minetest
08:22 Warr1024 joined #minetest
08:32 Talkless joined #minetest
08:39 TomTom joined #minetest
08:47 Warr1024 joined #minetest
09:08 jaca122 joined #minetest
09:10 PoochInquisitor joined #minetest
09:19 calculon joined #minetest
09:36 ireallyhateirc joined #minetest
10:09 fling joined #minetest
11:03 calculon joined #minetest
11:07 imi joined #minetest
11:08 monstanner joined #minetest
11:12 monstanner left #minetest
11:29 est31 joined #minetest
11:35 mrkubax10 joined #minetest
11:38 Glaedr joined #minetest
11:57 d0p1 joined #minetest
12:02 baddogSIT joined #minetest
12:22 imi joined #minetest
12:24 imi joined #minetest
13:30 olliy joined #minetest
13:39 micro_bowels joined #minetest
13:49 Road_Killer joined #minetest
14:01 Juri joined #minetest
14:49 ___nick___ joined #minetest
14:55 Amino joined #minetest
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 <wsor4035> 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 <wsor4035> string in proper lua has this metatable, split is a method minetest adds
14:59 MTDiscord <wsor4035> 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 <wsor4035> 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 <wsor4035> 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 <wsor4035> its just table with meta tables and functions added to it
15:16 Amino allright
15:17 Road_Killer left #minetest
15:17 Road_Killer joined #minetest
15:40 MTDiscord <luatic> 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 <luatic> 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:53 ___nick___ joined #minetest
15:56 ireallyhateirc I invented a new joke name for Minetest/MineClone/whatever: ExcavateAssemble, you know like MineCraft :D
15:56 ___nick___ joined #minetest
15:58 ireallyhateirc Renaming MineTest to YourProduction would be also quite funny
16:05 diceLibrarian2 joined #minetest
16:07 diceLibrarian joined #minetest
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.
16:40 cryne joined #minetest
17:02 Verticen joined #minetest
17:03 diceLibrarian joined #minetest
17:07 mrkubax10 joined #minetest
17:18 MintChipMadness joined #minetest
17:31 liceDibrarian joined #minetest
17:32 diceLibrarian joined #minetest
17:35 MintChipMadness joined #minetest
17:57 MintChipMadness joined #minetest
17:59 diceLibrarian2 joined #minetest
18:23 Amino joined #minetest
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:25 Road_Killer joined #minetest
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:31 Road_Killer joined #minetest
18:32 Road_Killer joined #minetest
18:32 Amino also, I searched around quite a bit, but could not locate the info you, rubenwardy, just gave me
18:32 Road_Killer joined #minetest
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 Road_Killer joined #minetest
18:34 Amino ireallyhateirc: I have it at "none" (that is the default)
18:35 Road_Killer joined #minetest
18:35 diceLibrarian2 joined #minetest
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:13 liceDibrarian joined #minetest
19:16 diceLibrarian joined #minetest
19:17 olliy joined #minetest
19:18 MTDiscord <theidealist> Meintest
19:20 shaft joined #minetest
19:20 shaft What's the state of the modern V6 mapgen Trailgen? https://github.com/minetest/minetest/pull/13019
19:22 MintChipMadness joined #minetest
19:23 PoochInquisitor shaft: Stfu
19:23 calculon joined #minetest
19:23 shaft rude
19:26 Verticen joined #minetest
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 <jordan4ibanez> 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 <jordan4ibanez> Port it to rust
19:46 Mantar lol
19:46 shaft Everyone likes more dependencies :)
19:46 PoochInquisitor Jordan: oof
19:50 MacroFaxSax joined #minetest
19:51 ireallyhateirc Rust got C++sy
19:51 sy yes
19:58 mazes_84 joined #minetest
19:58 Verticen joined #minetest
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?
20:35 Guest8827 joined #minetest
21:09 MTDiscord <wsor4035> Models and textures are at least known
21:28 MarsIronPI joined #minetest
21:55 cation joined #minetest
22:03 wsor4035 joined #minetest
22:32 panwolfram joined #minetest
22:52 whitepaperkat joined #minetest
23:08 whitepaperkat joined #minetest
23:11 Zambyte` left #minetest
23:17 olliy joined #minetest
23:23 whitepaperkat joined #minetest
23:29 olliy joined #minetest
23:40 MintChipMadness joined #minetest
23:44 Noisytoot joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext