Minetest logo

IRC log for #minetest, 2021-04-27

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

All times shown according to UTC.

Time Nick Message
00:00 specing_ joined #minetest
00:02 Verticen joined #minetest
01:04 deltaepsilon23 joined #minetest
02:33 big_caballito joined #minetest
02:49 Surfer2011_ joined #minetest
04:00 MTDiscord joined #minetest
04:11 systwi joined #minetest
04:15 Sven_vB joined #minetest
04:35 Sven_vB joined #minetest
05:20 Flabb joined #minetest
07:13 olliy joined #minetest
07:46 FeXoR joined #minetest
08:00 ShadowNinja joined #minetest
08:09 craigger joined #minetest
08:29 calcul0n_ joined #minetest
08:31 hlqkj joined #minetest
08:46 submariner joined #minetest
08:50 Kimapr joined #minetest
08:58 jess joined #minetest
09:08 Fixer joined #minetest
09:17 SwissalpS joined #minetest
09:52 MinetestBot [git] sfan5 -> minetest/minetest: Update library versions in buildbot (#11229) 9660ae2 https://git.io/JOAAy (2021-04-27T09:50:40Z)
09:52 MinetestBot [git] sfan5 -> minetest/minetest_game: Check for required engine features on startup 79e63a8 https://git.io/JOAAS (2021-04-27T09:50:32Z)
10:03 riff-IRC joined #minetest
10:08 whosit joined #minetest
10:20 twelve_ joined #minetest
10:21 proller joined #minetest
11:03 sagax joined #minetest
11:09 Flabb joined #minetest
11:51 tech_exorcist joined #minetest
12:04 specing joined #minetest
12:08 riff_IRC joined #minetest
12:18 proller joined #minetest
12:32 MDude joined #minetest
12:59 tech_exorcist joined #minetest
13:05 appguru joined #minetest
13:08 absurb joined #minetest
13:16 big_caballito joined #minetest
13:22 kamdard joined #minetest
14:11 hlqkj joined #minetest
14:11 The_Dark_Elf joined #minetest
14:39 jluc joined #minetest
15:42 Pie-jacker875 joined #minetest
15:59 calcul0n__ joined #minetest
16:35 Verticen joined #minetest
16:37 Talkless joined #minetest
16:53 delta23 joined #minetest
17:07 neuro37 joined #minetest
17:10 big_caballito joined #minetest
17:16 proller joined #minetest
17:37 erlehmann joined #minetest
17:59 ircSparky joined #minetest
17:59 ircSparky joined #minetest
18:14 Hawk777 joined #minetest
18:17 beanzilla How can I get an itemstring from a `minetest.get_meta(pos)`?
18:18 beanzilla Could I just do some call like `meta:get_string("name")`?
18:21 Vadtec2 joined #minetest
18:21 Vadtec2 joined #minetest
18:21 TGS2 joined #minetest
18:21 TGS2 joined #minetest
18:24 AntumDeluge beanzilla, I'm not really the one to answer that question (so you should probably wait for someone with knowledge about it), but I just tested it on a node & it seems like that is not what you want. "name" doesn't seem to be set by default (at least for nodes).
18:24 basxto1 joined #minetest
18:25 MTDiscord <Jonathon> If you have pos, get the node itself, then get the name from that, then do ItemStack(name)
18:25 beanzilla AntumDeluge, Ok thank you for the input.
18:25 calcul0n__ yep, i don't think you can get the node infos if you only have the meta
18:26 AntumDeluge Jonathon, how do you "get the node itself" from pos? (trying to look it up now)
18:26 * beanzilla bangs more on the keyboard to get the node then convert to itemstack.
18:27 AntumDeluge Ah, simple: minetest.get_node(pos)
18:28 Hawk777 This plan is going to run into problems for nodes that don’t drop themselves as items, isn’t it? Though I guess it depends on what your intent is.
18:29 AntumDeluge So it should be minetest.get_node(pos):get_name()
18:29 beanzilla I am modifying Technic's Fuel Fired Generators so they consume only plants (Bioreactor)
18:30 MiniontobyPI joined #minetest
18:30 FennecCode joined #minetest
18:30 AntumDeluge Hmmm, didn't work: "attempt to call method 'get_name' (a nil value)"
18:30 z812 joined #minetest
18:30 MTDiscord <Jonathon> Or get_node_or_nil
18:30 AntumDeluge Oh, that's because I was looking at ItemStack definition, not node. I guess node doesn't have "get_name()" method.
18:31 AntumDeluge Sorry I couldn't be more help.
18:31 beanzilla AntumDeluge, Or you could just access the table like minetest.get_node does.
18:32 beanzilla AntumDeluge, It's ok you helped me get closer.
18:35 LoneWolfHT joined #minetest
18:37 calcul0n joined #minetest
18:41 calcul0n joined #minetest
18:50 beanzilla I am confused... How does a furnace get the time an item burns for?
18:52 beanzilla Is it by flammable? Or is there some extra definition to the item? (I'm looking at coal to see how it compares to things like saplings)
19:00 beanzilla Hmm... well I guess I don't need to bother making a bioreactor since the Technic Fuel-Fired Generator can burn items of plant like.
19:00 * beanzilla continues to bable into insanity.
19:03 proller joined #minetest
19:03 calcul0n beanzilla, fuel items are registered with minetest.register_craft() and type="fuel"
19:04 calcul0n see https://minetest.gitlab.io/minetest/definition-tables/#furnace-fuel
19:04 beanzilla Ah ha... Thank you very much calcul0n.
20:29 delta23 joined #minetest
21:20 Verticen joined #minetest
21:23 AntumDeluge Can I prevent a formspec from closing after "Enter" key is pressed while a text input field has focus? I tried setting "fields.quit = false" in "on_receive_fields", but it doesn't work.
21:24 sfan5 on_receive_fields runs on the server after the client has already closed the window, even if you could do that it would be too late
21:24 Sven_vB_ joined #minetest
21:24 sfan5 but yes there's a way to do this, you need to specify this in the formspec
21:25 AntumDeluge In a meta key?
21:25 sfan5 no
21:25 sfan5 !api
21:25 MinetestBot Someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
21:25 sfan5 search for field_close_on_enter
21:26 MTDiscord <Jonathon> https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2422-L2427
21:28 AntumDeluge Perfect! Thank you.
21:32 MTDiscord <Jonathon> hmm, i could have used discord minetest bot to get that faster
21:49 Verticen joined #minetest
21:52 Menchers gyah, why is there a DOS formatted file in irrlichtmt
21:53 sfan5 a? all of them have Windows line endings
21:53 sfan5 it's a pain
21:54 Menchers maybe *that* is why these patches didn't apply
21:55 proller joined #minetest
22:00 Sven_vB joined #minetest
22:01 Menchers I think my main problem is how it's looking for <linux/joystick.h>
22:01 Menchers there are systems that aren't linux irrlicht!
22:03 Menchers hmm the patch to source/Irrlicht/Makefile would have been what fixes this
22:04 Menchers but of course that's been stripped out and replaced with… CMake
22:04 Menchers urgh
22:07 * Menchers must do a lot more therapeutic griping, then learn CMake again
22:33 AntumDeluge Any ideas why '/revoke <player> server' isn't working for me?
22:34 hlqkj is that player the one listed as the admin in minetest.config?
22:34 AntumDeluge I don't think so, but I will check.
22:35 hlqkj *.conf  -- my bad lol
22:35 AntumDeluge No, I have "name = server" in minetest.conf. The actual name "server" should affect it, right?
22:35 AntumDeluge It says the priv has been revoked, but calling '/priv <player' shows they still have it.
22:35 AntumDeluge *shouldn't affect it....
22:36 AntumDeluge Oh, I just realized "name" is name of person that last logged on...
22:39 oleastre joined #minetest
22:47 Nav|C joined #minetest
22:49 Nav|C Does make replace the bin/minetestserver if the built is unsuccsesful? is there some way I can see if a built is succsesful? I have automatic updates via cron
22:50 Hawk777 Make’s exit code should be nonzero on a failed build (of anything; I assume Minetest follows that convention).
22:51 Aris joined #minetest
22:51 Nav|C so like make -j8 && succsessful build commands here || unsuccsessful build commands here
22:51 Hawk777 yeah
22:52 Hawk777 As to whether it replaces its output on failure, probably not in most cases, but if the error happens during linking, it might delete the output file.
22:58 Nav|C Well thanks
22:58 Nav|C left #minetest
23:06 Verticen joined #minetest
23:26 big_caballito joined #minetest
23:30 riff-IRC joined #minetest

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