Minetest logo

IRC log for #minetest, 2023-09-13

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

All times shown according to UTC.

Time Nick Message
00:04 Lesha_Vel joined #minetest
00:45 Noisytoot joined #minetest
00:58 v-rob joined #minetest
01:18 v-rob joined #minetest
01:20 smk joined #minetest
02:15 meldrian joined #minetest
02:15 meldrian joined #minetest
02:28 v-rob joined #minetest
02:54 Lesha_Vel joined #minetest
03:12 Boingo joined #minetest
03:17 yella joined #minetest
03:21 yella joined #minetest
04:00 MTDiscord joined #minetest
05:02 v-rob joined #minetest
05:21 YuGiOhJCJ joined #minetest
05:24 Unit193 joined #minetest
06:00 calcul0n_ joined #minetest
06:13 meldrian joined #minetest
06:13 meldrian joined #minetest
06:20 Noisytoot joined #minetest
06:49 Lesha_Vel joined #minetest
06:59 calcul0n joined #minetest
07:23 s20 joined #minetest
07:53 peterz joined #minetest
08:19 peterz joined #minetest
08:26 peterz joined #minetest
08:31 peterz joined #minetest
08:34 Thelie joined #minetest
08:39 Leopold joined #minetest
09:05 calcul0n joined #minetest
09:29 yella joined #minetest
09:29 yella joined #minetest
09:29 erle MisterE123 i got no reply to https://github.com/minetest/blog/issues/129 by you so far, but you are assigned. anything i should do?
09:31 diceLibrarian joined #minetest
09:35 [MTMatrix] joined #minetest
09:44 [MTMatrix] joined #minetest
10:00 MTDiscord1 joined #minetest
10:39 appguru joined #minetest
10:47 jonadab Hmm.  My instinct on seeing that question would've been to point to the /emergeblocks documentation.  Technically not what was asked, but I'm used to seeing XY problems, and that's where my brain would've gone.
10:47 jonadab (The question about generating empty blocks, I mean.)
10:49 [MTMatrix] joined #minetest
11:12 Desour joined #minetest
11:44 MTDiscord <mistere_123> Looks like it will go in to the blog.
11:50 [MTMatrix] <localhost> create ghost object for build - this mod exists?
12:17 loggingbot_ joined #minetest
12:17 Topic for #minetest is now The official Minetest channel | Latest version: 5.7.0 (2023-04-08) | General, player and modding discussion is on-topic. If in doubt, post here | Responses may take a while, be patient | Rules: https://wiki.minetest.net/IRC#Rules | Development: #minetest-dev | Server list: https://minetest.net/servers | IRC logs: https://irc.minetest.net/minetest
12:23 JerryXiao joined #minetest
12:28 Sobinec joined #minetest
13:39 MinetestBot [git] sfan5 -> minetest/minetest: Fix double-free of minimap textures 2479d51 https://github.com/minetest/minetest/commit/2479d51cc665f8b29b919ad3158444d032840b82 (2023-09-13T13:27:07Z)
13:46 Sobinec joined #minetest
14:09 Sobinec joined #minetest
14:32 jaca122 joined #minetest
14:35 est31 joined #minetest
14:35 fling joined #minetest
15:00 lmisu joined #minetest
15:09 definitelya joined #minetest
15:22 appguru joined #minetest
15:22 fluxionary joined #minetest
15:33 fluxionary joined #minetest
15:42 DeepThgt joined #minetest
15:59 mrkubax10 joined #minetest
16:19 v-rob joined #minetest
16:30 mrkubax10 joined #minetest
16:45 Verticen joined #minetest
16:47 olliy joined #minetest
17:00 Talkless joined #minetest
17:07 v-rob joined #minetest
17:12 Thelie1 joined #minetest
18:04 peterz joined #minetest
18:43 Desour joined #minetest
19:07 luk3yx joined #minetest
19:14 v-rob joined #minetest
19:19 sparky4 joined #minetest
20:04 elelelelel2010 joined #minetest
20:04 elelelelel2010 h
20:04 elelelelel2010 hi
20:25 jaca122 joined #minetest
20:27 [MTMatrix] <localhost> How i can do "sleep" (wait some seconds) in function?
20:28 [MTMatrix] <localhost> How i can do "sleep" (wait some seconds) inside function?
20:28 [MTMatrix] <localhost> Just for slowdown on_place speed
20:29 calcul0n use minetest.after()
20:29 [MTMatrix] <localhost> wait, but if only for call outside function?
20:29 [MTMatrix] <localhost> wait, but it only for call outside function?
20:29 calcul0n a real sleep would block the whole engine
20:30 calcul0n you'll have to write things differently but it's not very hard
20:31 [MTMatrix] <localhost> eg. minetest.after(5, func), but in my case if i do on_place = minetest.after(5, func), it causes error
20:32 calcul0n yep, that would only call after at registration time
20:32 calcul0n you need on_place = function(...) minetest.after(5, func) end
20:33 [MTMatrix] <localhost> oh.. thanks
20:33 v-rob joined #minetest
20:35 MTDiscord <rollerozxa> erle: we made a little discovery that since [png blindly passes on the image data to irrlicht as an in-memory file, it works for inlining images of any format, not just PNG
20:35 erle ROllerozxa this makes the grammar even stupider, but also this is useful lol
20:36 MTDiscord <savilli> sfan5: fixing that is trivial. Just replace __temp_png with __temp.png.
20:37 MTDiscord <rollerozxa> (no, it won't, irrlicht doesn't care about file extensions, only the header)
20:37 erle ROllerozxa i guess that means you can pretty much start using unicode_text on signs without doing the dynamic media dance
20:37 MTDiscord <rollerozxa> yep
20:37 erle i mean, it's super fucking ugly (i actually cautioned against adding anything like [png or [tga or so), but it's obviously useful. so have fun with it!
20:38 MTDiscord <savilli> It doesn't care only because __temp_png doesn't have an extension.
20:39 erle savilli are you playing “let's break some useful feature because itwas not intended” or what?
20:39 MTDiscord <rollerozxa> the fun police has arrived, thankfully they can't stop us
20:39 erle FUN is banned!
20:39 erle btw, i actually think the dynamic media API is pretty stupid for stuff like signs and so on, for all the racy conditions.
20:40 erle it would be much better if this would work more like a web browser, where you can reference a texture and the client loads it later.
20:40 MTDiscord <savilli> I'm just eating my popcorn. You guys are very entertaining with that tga discussion.
20:40 erle at least for signs
20:40 erle savilli i am amused too. i mean the whole minetest.encode_png() and [png was kinda not too well-thought-out in the first place.
20:41 erle this is probably the funniest bug i have seen in a while
20:41 erle i think since the object oriented enchanted book probably
20:41 erle the bug was like this: books needed to be enchantable in mcl2 to have an enchantment. so … you could use a stack of books. and enchant the stack using one book.
20:41 erle because nothing prevented you from enchanting stacks of items
20:41 celeron55 obviously the "png" in the texture modifier doesn't refer to the image format but actually means Potentially Not a Graphic
20:42 erle and weapons are not stackable in mcl2
20:42 erle IF ONLY someone had warned the implementors and said “you need to have a grammar for texture modifiers that is context-free or regular”
20:42 erle oh wait, i did that
20:42 erle and i think luatic did too?
20:43 MTDiscord <savilli> I thought it means Pleasure Not Guaranteed
20:43 erle anyway, this is the most monkey's-paw thing i have seen so far and evidently useful to implement a signs mod.
20:43 erle because so far the problem is that you need lots of bookkeeping for the players and the textures
20:44 erle with this way however, you can just replace whatever generates your texmods with unicode_text and call it a day. well, i need to fix 1 bug in the bidi algorithm (or disable it) i guess. you'll find it soon enough (uniess i get there first).
20:44 sparky4 joined #minetest
20:45 erle yeah so
20:45 erle uh
20:45 erle LANGSEC told you so! :P
21:01 [MTMatrix] <localhost> hm, so strange, it still crashes server... invalid invocation
21:17 v-rob joined #minetest
21:20 erle ROllerozxa i have learned from my question “can i change the main menu script from a mod” that FUN is best kept to oneself to not invite the FUN POLICE :P
21:25 erle by which i do mean of course that i have no idea how to achieve code execution via a crafted ogg vorbis file
21:27 qqq joined #minetest
21:27 erle but readers of CVE-2020-20412 might be able to figure that out!
21:28 erle (i am not good with computers)
21:29 [MTMatrix] <localhost> so... the 'while true do if math.random(1,10000) < 5 then break end end' very bad idea for use?
21:29 erle for what use
21:29 erle heating your room, it might be useful
21:30 erle depending on speed of device obv
21:30 [MTMatrix] <localhost> ahahah
21:30 erle and bias of RNG
21:32 erle localhost can i ask you a question
21:32 erle or maybe two
21:33 [MTMatrix] <localhost> maybe, but no warranty answer
21:33 erle okay, are you on windows?
21:33 [MTMatrix] <localhost> no, linux :D
21:33 erle which one?
21:35 [MTMatrix] <localhost> Server side or client side? (but of course I can't imagine Windows server running minetest) 👀
21:35 erle client side
21:36 [MTMatrix] <localhost> Okay, void
21:36 erle what's your version of libvorbis
21:36 erle i mean the one you compiled minetest with
21:36 [MTMatrix] <localhost> Wait a sec
21:37 [MTMatrix] <localhost> libvorbis-devel-1.3.7_1
21:37 [MTMatrix] <localhost> hack via sound? 👀
21:37 erle that's too new for CVE-2020-20412
21:37 erle https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-20412
21:38 erle > lib/codebook.c in libvorbis before 1.3.6, as used in StepMania 5.0.12 and other products, has insufficient array bounds checking via a crafted OGG file
21:40 erle but vorbis_version=1.3.7
21:40 erle i am disappoint!
21:42 [MTMatrix] <localhost> eh... debian stable... so stable CVE
21:46 erle localhost this list is too short, you can help by expanding it! https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=minetest
21:52 [MTMatrix] <localhost> fly speed violation is CVE?
22:33 panwolfram joined #minetest
22:37 nore joined #minetest
22:57 erle localhost i doubt it
23:18 Lesha_Vel joined #minetest
23:29 v-rob joined #minetest
23:51 vampirefrog joined #minetest

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