Time Nick Message 09:18 MinetestBot 02[git] 04Df458 -> 03minetest/minetest: Formspec: Don't start a button click when the pointer isn't on top (#… 133dfb6ec https://git.io/JvLzB (152020-01-22T09:18:09Z) 09:20 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Remove unused weight property from objects (#9320) 13e05b7db https://git.io/JvLzE (152020-01-22T09:19:27Z) 18:09 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: StaticText/EnrichedString: Styling support (#9187) 131892ff3 https://git.io/JvLyv (152020-01-22T18:09:11Z) 18:09 MinetestBot 02[git] 04zaoqi -> 03minetest/minetest: Remove zh_* from GETTEXT_BLACKLISTED_LOCALES (#9229) 13fab3f5f https://git.io/JvLyf (152020-01-22T18:08:07Z) 18:11 MinetestBot 02[git] 04zaoqi -> 03minetest/minetest_game: Add zh_CN translation 13da39bae https://git.io/JvLyT (152020-01-22T18:09:38Z) 18:19 nuclearkev Hi all, does anyone know how to have an item or stack of items automatically jump into the inventory without having to drag it in? I've seen people one YouTube do this and it doesn't seem to work for me. I've been trying Shift+left click but no dice. 18:24 Krock Shift + Click to 18:24 Corey[m] nuclearkev: Shift+left_click works for me, but that's when the formspec has the list rings setup correctly 18:24 Krock ninja'd 18:24 Krock but it's worthless 18:24 Krock nuclearkev: nuclearkev: Shift+left_click works for me, but that's when the formspec has the list rings setup correctly 18:25 Krock Corey[m]: this time I was faster, kinda ;P 18:25 Corey[m] I win! 18:26 nuclearkev Krock: ah, I see 18:26 nuclearkev Where can I edit the formspec? 18:27 Krock Corey[m]: yes but actually no 18:27 nuclearkev minetest.conf, I assume 18:27 Krock nuclearkev: find out what kind of node you'd like to use. then look up its definition in the source code 18:27 Corey[m] I'll get you next time 18:27 Krock no, that's a mod thing 18:27 Krock :3 18:28 Krock nuclearkev: if you're using Minetest < 5.0.0, update first 18:28 Corey[m] I shall now return to lurking, preparing for my next strike (and avoid getting kicked for inactivity for another 30 days) 18:28 Krock listrings were added somewhere in 0.4.13 or so 18:29 nuclearkev Krock: I'm on 5.1.0 18:33 Krock Corey[m]: now that they know that you exist, there's no turning back 18:34 Corey[m] Noooooo 18:37 sfan5 !api 18:37 MinetestBot Someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt 18:37 sfan5 hmm 18:37 sfan5 never heard of that feature 18:37 Krock listring[ 18:38 Krock added by est afaik 18:50 nuclearkev I wonder if my build lacks support for that feature 18:50 Krock you'd need to patch that out manually 18:51 Krock or are you on MacOS? Shift doesn't work there properly sometimes 18:51 nuclearkev Yeah, I'm on macOS 18:51 Krock #9308 18:51 ShadowBot https://github.com/minetest/minetest/issues/9308 -- Shift-clicking does not work on Mac 18:53 nuclearkev huh 18:53 nuclearkev Sneaking works fine 18:56 Krock nuclearkev: can you select text in text boxes using Shift+ Arrow keys? 18:57 Krock must be possible with the cursor only as well 18:57 nuclearkev Hmm, lemme check 18:58 Krock FYI: sneaking uses another function to check whether a key is pressed 18:59 nuclearkev Krock: selecting text with shift + arrow keys works 18:59 nuclearkev So it must be related to the click, as you suggested 19:00 Krock weird 19:00 Krock this means that event.KeyInput.Shift is correct 19:01 nuclearkev According to a comment on the issue you linked, it might be related to `event` being from something called Irrlicht 19:02 Krock yes. event.MouseInput.Shift and event.KeyInput.Shift seem to have different data sources within irrlicht 19:03 Krock FYI: that's my comment 19:03 nuclearkev OH 19:03 nuclearkev nice 19:08 Krock win32: https://github.com/zaki/irrlicht/blob/fd155bead0e24cc5018b9f4cee2d73c85b18badc/source/Irrlicht/CIrrDeviceWin32.cpp#L777 19:08 Krock macos: https://github.com/zaki/irrlicht/blob/fd155bead0e24cc5018b9f4cee2d73c85b18badc/source/Irrlicht/CIrrDeviceOSX.mm not implemented 19:09 Krock linux: https://github.com/zaki/irrlicht/blob/fd155bead0e24cc5018b9f4cee2d73c85b18badc/source/Irrlicht/CIrrDeviceLinux.cpp#L824 19:09 Krock well done Irrlicht. 19:12 nuclearkev Ah, I see 19:12 nuclearkev Well, that explains it!! 19:12 Krock but it doesn't fix the problem 19:14 nuclearkev True. 19:14 nuclearkev Is there a way to use a different lib for that part when compiling for mac? 19:14 nuclearkev Obviously there is clicking support on mac, so is it possible to use the same lib for regular clicking 19:17 Krock checking patch 19:17 Krock no, Irrlicht cannot be replaced 19:18 nuclearkev Ah, shoot 19:21 Krock nuclearkev: did you build MInetest on your own? 19:22 nuclearkev I did not, I used homebrew 19:22 Krock mmh 19:22 nuclearkev If needed, I can build it 19:22 Krock I'll propose a patch, but I can only test it on Linux 19:22 nuclearkev I'd gladly try it on Mac 19:26 Krock nuclearkev: either you or someone else will need to test it to ensure it works .. added a patch to the issue 19:26 nuclearkev I'll see if I can try it out 19:27 nuclearkev I've never built minetest before, so we'll see how it goes! 19:28 Krock it'll be at least easier than building on Windows. that's all I can say 19:29 nuclearkev haha, I'm sure it will be 19:30 nuclearkev Should I build stable-5 or master? 19:30 nuclearkev or should I use the 5.1.1 release 19:35 nuclearkev wow, I already have all the depends... 19:35 nuclearkev That never happens 19:37 Krock master, preferably 19:39 nuclearkev Krock: is there a special mac flag I need to pass to cmake? 19:39 Krock not that I'd know of 19:40 Krock -DRUN_IN_PLACE=1 could be helpful to compare various Minetest vereions 19:40 Krock *versions 19:41 nuclearkev Hmm, so it requires X11 to build but not to run 19:41 nuclearkev because I don't have that install (since mac doesn't use it generally) 19:50 sfan5 it doesn't require that 19:51 sfan5 cmake might ask for those libraries but it shouldn't 19:51 nuclearkev Hmm, weird. The error I'm getting says that it could not find X11 19:53 Krock https://github.com/minetest/minetest/blob/master/src/CMakeLists.txt#L284 19:53 Krock AND NOT APPLE) 19:54 Krock maybe it helps 19:55 nuclearkev huh, that's weird 20:06 nuclearkev I'm not too sure how to get past this error message. I tried just assigning dumby values to the 2 paths it wants (X11_X11_INCLUDE_PATH and X11_X11_LIB) but no dice 20:08 sfan5 tried editing the CMakeLists.txt as Krock suggested 20:08 sfan5 ? 20:12 nuclearkev sfan5: ah, I'm a fool - I was looking at the wrong file 20:17 nuclearkev all patched up and building 20:28 nuclearkev Krock: it built! 20:29 nuclearkev However, I need to actually build the default_game 20:29 Krock question is whether it runs 20:29 Krock minetest_game does not need compiling. just clone to games/ 20:30 nuclearkev ahh 20:30 nuclearkev Yes, it runs 20:30 nuclearkev but my cursor got stuck in it 20:32 nuclearkev when I type the text goes in the terminal, not inside of minetest 20:32 nuclearkev could that be related to building a development build? 20:33 nuclearkev clicking works but I can't move or type in-game 20:37 Krock /! _IRR_COMPILE_WITH_OSX_DEVICE_ for Cocoa native windowing on OSX 20:38 Krock detection seems fine https://github.com/zaki/irrlicht/blob/97472da9c22ae4a49dfcefb9da5156601fa6a82a/include/IrrCompileConfig.h#L81-L87 20:39 Krock nuclearkev: does cmake find those three: https://github.com/minetest/minetest/blob/master/src/CMakeLists.txt#L292-L294 ? 20:39 Krock mark them as REQUIRED to make sure 20:39 Krock at least cocoa seems to be a dependency if X11 isn't used 20:40 nuclearkev Lemme check 20:41 nuclearkev Ah, yes, I made a mistake 20:42 Krock if you get it to work properly, please open a PR or provide a patch somewhere so that the build can be fixed (once more again) 20:44 nuclearkev Will do 20:45 sfan5 this PR might already fix what you are experiencing https://github.com/minetest/minetest/pull/9335 20:57 nuclearkev Hmm, I made sure those were required but it still doesn't type in minetest, only in the terminal 20:58 nuclearkev Krock: ^ 20:58 nuclearkev cmake doesn't say anything about them, however. 21:01 Krock ok 21:01 Krock thanks for testing so far