Luanti logo

IRC log for #minetest, 2021-03-06

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
8 more elements. Show/hide.
02:49 cheapie This has been possible for a while now, but the digistuff update I pushed today certainly makes it easier :P https://cheapiesystems.com/media/pizzahuhsign.webm
3 more elements. Show/hide.
03:41 DivideByZero I updated some mods on my server that were working, but now I'm getting errors like: .....homedecor_fences/init.lua bad argument #1 to 'insert' (table expected, got nil).
03:41 ShadowBot https://github.com/minetest/minetest/issues/1 -- GlowStone code by anonymousAwesome
03:42 DivideByZero Are the scripts too new for the 5.3.0 server? Or some other reason someone knows about?
04:51 cheapie DivideByZero: Can you pastebin the full error you get?
6 more elements. Show/hide.
07:33 DivideByZero Is there a file to edit or another way to clear the HUD? I ran hbhunger mod and a row of breads appeared on the screen with the bar over it.  I disabled the mod, and the HUD bar is gone, but the row of bread remains, like it got stuck on there somehow.
07:34 DivideByZero exiting and rejoining does not help, even resetting the server didn't solve it.
07:36 DivideByZero I even made a new character and it's still on the screen.
3 more elements. Show/hide.
08:14 DivideByZero Another bug I'm experiencing is that I can no longer send text to the chat. Commands work, but nothing appears in chat.
2 more elements. Show/hide.
09:11 DivideByZero I resolved the not able to text. It was due to a CSM clouredchat. The other issues I have not been able to resolve. All CSM's are disabled now.
13 more elements. Show/hide.
13:23 MinetestBot [git] sfan5 -> minetest/minetest: Fix function override warnings in mg_ore.h 1c7b69f https://git.io/JqTCt (2021-03-06T13:21:08Z)
28 more elements. Show/hide.
18:29 VanessaE moving Unified Inventory out of the formspec dark ages:  https://github.com/minetest-mods/unified_inventory/pull/168
18:29 VanessaE :)
5 more elements. Show/hide.
20:07 VanessaE If someone could please review that pull request, I'd appreciate it.  It's big enough that I don't feel comfortable merging it without someone taking a look at it.
4 more elements. Show/hide.
21:06 MTDiscord <Magnus Blackarm> i'm getting "bus error" crashes running mineclone2 0.71.0 on minetest stable-5. is this more likely to be a problem in minetest or mineclone2?
21:08 sfan5 the application crashing entirely is an engine problem
21:09 Rafi59 joined #minetest
21:09 MTDiscord <Magnus Blackarm> is there some kind of data i could produce to help track the error?
3 more elements. Show/hide.
21:51 Taserface would it be unoriginal of me to mention how minetest's name sounds kind of temporary?
21:51 rubenwardy yes
21:51 VanessaE quite.
21:51 rubenwardy the most permanent things were temporary
22:02 Ruud joined #minetest
22:03 MinetestBot [git] sfan5 -> minetest/minetest: Clean up ClientEvent hudadd/hudchange internals 593d5f4 https://git.io/JqT9I (2021-03-06T22:02:10Z)
22:03 MinetestBot [git] sfan5 -> minetest/minetest: buildbot: Drop i586-mingw32msvc, add i686-w64-mingw32-posix detection dd228fd https://git.io/JqT9L (2021-03-06T22:01:50Z)
22:53 Extexo Could somebody give a code snippet for a 9 slice button?
5 more elements. Show/hide.
23:48 VanessaE Extexo: "background[0,0;1,1;foo.png;true;16]"   imagine drawing a 3x3 tic-tac-toe grid on the image, with the lines at 16 px from each edge.  the image will be positioned starting at 0,0 and since I specified 'true', the image will fill the formspec, with its corners placed as-is and the middle bits scaled up
23:49 rubenwardy that's for a background
23:49 VanessaE (the 1,1 is ignored)
23:49 VanessaE damn it, typo
23:49 rubenwardy style[btn_name;bgimg=image.png;bgimage_middle=10]
23:49 rubenwardy oops
23:49 VanessaE that's an even worse typo ;)
23:49 Extexo Lol
23:49 rubenwardy I corrected the spelling
23:50 rubenwardy style[btn_name;bgimg=image.png;bgimg_middle=10]
23:50 VanessaE I'm literally only just now trying it myself
23:50 rubenwardy you'll also want to use states
23:50 Extexo Oh ok
23:50 Extexo So there's no button9 or anything?
23:50 rubenwardy style[btn_name;bgimg=image.png;bgimg_middle=10]
23:50 rubenwardy style[btn_name:hovered;bgimg=image_hover.png]
23:50 rubenwardy nope
23:50 rubenwardy because we have formspec versions
23:51 rubenwardy there's no need for button9
23:51 Extexo Ah ok
23:51 rubenwardy also, styles
23:51 Extexo I think I'm late on the new formspec stuff lol
23:51 VanessaE for the background, it was surprisingly easy, despite the poorly-worded lua_api.txt :)
23:52 Extexo Yeah I noticed that lol
23:52 Extexo But I got it to work eventually
23:53 Extexo https://thelounge.bloblet.com/uploads/72057531ebda6236/Screenshot_2021-03-06-15-52-38.png
23:53 Extexo Ok so I style the button then just use the normal image_button for it?
23:54 rubenwardy image buttons are for when you want a button _containing_ an image
23:54 rubenwardy if you're using 9 slice then usually you want a button with an image background, not containing an image
23:54 Extexo Ah...
23:54 rubenwardy style[btn_name;bgimg=image.png;bgimg_middle=10]
23:54 rubenwardy style[btn_name:hovered;bgimg=image_hover.png]
23:54 rubenwardy button[0,0;3,0.8;btn_name;Text]
23:54 Extexo Yeah I'm totally new to this lol
23:55 rubenwardy also, to theme all buttons you can use   style_type[button;     instead of    style[btn_name;
23:55 Extexo Ohh
23:55 Extexo I think I understand now
23:56 Extexo So it's like CSS styling
23:56 Extexo Cool
23:56 Extexo Ok thanks
23:56 rubenwardy a little bit, but no tree hierarchies
23:56 Extexo If I have any problems I'll be back
23:56 rubenwardy and very simple selectors

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