Time Nick Message 01:08 jSnake Does anyone know why celeron55's work with converting MT to use Urho3D was ditched? 01:39 paramat it wasn't converting MT, it was a new project called 'buildat' 01:39 paramat i seem to remember he has stated why somewhere, something like 'ran into some issues, became lazy'? 01:42 jSnake hmm 01:42 jSnake what about this "The core dev that managed to abstract away Irrlicht and run Mt in ogre3d has quit Minetest." from forum post 01:47 paramat see http://irc.minetest.net/minetest-dev/2015-02-01#i_4138144 01:48 paramat well c55 hasn't quit MT, he's just inactive 01:48 jSnake ruben mentioned some dev quit 01:48 jSnake https://forum.minetest.net/viewtopic.php?f=7&t=12997&start=25 01:48 paramat if that even refers to c55 01:49 jSnake don't think it was about c55 01:49 paramat agreed 01:56 paramat ah Zeno, http://irc.minetest.net/minetest-dev/2015-11-06#i_4443257 01:59 paramat Zeno did indeed leave MT 02:04 jSnake cool, thanks for the info paramat if you see this 02:56 scr267 p_gimeno: thanks 03:44 trom_ why vma:area:index(pos) where pos have xyz as zero give me ERR: voxelarea.lua:36: attempt to perform arithmetic on local 'z' (a nil value) 04:29 paramat if you link to your code i'll take a look later 04:39 Nezrok Hello again. Is sban abandoned? I found a bug in it, but it doesn't seem to have been updated in a year or so 04:55 ANAND There were recent optimizations to sban, IIRC 04:55 ANAND ...or was that sauth? 09:39 Astrobe Hi, some custom trees seem to spawn on top of plants, or their first trunk node is replaced by a plant. What can be the cause of this? 09:45 p_gimeno what plant? 09:45 p_gimeno and what trees 09:51 Astrobe Both are custom made, extracted from Farlands (for instance willow trees and giant grass) 10:42 p_gimeno sounds like the growing code has bugs then 10:51 Astrobe I have not seen it happen to default trees, so I'm suspecting a more "local" issue. Something like decoration registering order, or something about force_placement. 11:45 Astrobe Is there a command line parameter to force server announcement? I don't want it in minetest.conf because I'm often switching between a test world and a public world for the same game. 11:46 p_gimeno what I do in my server is have a different configuration file per world 11:46 rubenwardy you could use another config using --config 11:46 p_gimeno ^ like that :) 11:46 Astrobe That should do it, thanks! 11:49 p_gimeno MT really needs a per-world configuration file. Curiously I can't find any open issue requesting it. 11:49 rubenwardy yes! 11:49 rubenwardy it's in my todo list 11:50 p_gimeno \o/ 13:44 makayabou when i refresh a formspec, label elements are updated but not field elements, what can I do for it? 13:48 makayabou do I need to use sfinv? can't legacy formspec handle this? 13:48 rubenwardy avoid implementing yet another inventory mod 13:49 rubenwardy the field elements should be updated, not sure why they wouldn't be 13:49 rubenwardy MT version/? 13:49 makayabou ah ok . so it has to be with my code so.. 5.0.1 13:52 makayabou please correct me if i'm wrong : all i have to do to refresh form , is to call it again with minetest.show_formspec inside callback (minetest.register_on_player_receive_fields) ? 13:53 rubenwardy it depends 13:53 rubenwardy if this is from sfinv, then no 13:53 makayabou no, with classic formspec only 13:53 rubenwardy then yes 13:53 makayabou ok.. thank you very much 13:54 rubenwardy as long as it's not set_player_inventory_formspec or a node formspec, then it's fine 13:54 rubenwardy if it's the latter, then that callback isn't called anyway 13:57 makayabou yes, it's in a external basic formspec. I'll review my code and find what's wrong... 14:34 makayabou i don't really understand what happens.. I created a snippet to localize the functions but same behaviour, field does not update if change had not been validated. Here I have to ensure the value is a number, so when it's not, it should go back to the previous value... Here's snippet link : https://gitlab.com/garagenum/minetest_tools/lug9000/snippets/1851925 14:41 rubenwardy if not formname:match("test_formspec") then --> if formname ~= "test_formspec" then 14:41 rubenwardy match uses Lua patterns, which is like regex 14:43 rubenwardy the type of myhp also changes 14:43 rubenwardy you should also include the mod name in the formname 14:43 rubenwardy modname:fsname 14:46 makayabou oh yes sorry . match was a dirty copy-paste from another match("^(mymod:formspec_type)) 14:47 makayabou and formspec name in snippet was just a quick write, I usually follow naming with modname:formname 14:49 makayabou about myhp type, yes original value should be "16" because it's taken from Settings 14:52 makayabou and after I want it to be a number to check if it is between 1 and 16 14:52 ANAND makayabou: Does the print statement print the correct value of myhp everytime? 14:52 makayabou ANAND: yes 14:54 ANAND So myhp is being updated, but the field displays the old value? 14:55 makayabou that's it, and label element is being updated each time 14:56 ANAND Weird o_O 14:56 makayabou field displays the old value ONLY if I put a value in field that is NOT a number 14:57 ANAND o_O x2 14:57 makayabou if I put a number value, then field is updated as expected 14:57 ANAND Aha 14:58 makayabou that would be because the "new" value (that had been reset by callback) is the same than the initial value (first showed in field before hand-modification of field) 14:59 ANAND That's probably because passing a string to tonumber returns a nil, and myhp = fields.hp isn't executed 14:59 rubenwardy ah yeah 14:59 rubenwardy you need to add random strings 14:59 rubenwardy I had this issue 14:59 rubenwardy if the formspec is the same, it is discarded 14:59 makayabou yes that's it, let's try 14:59 ANAND Wait, what? 14:59 rubenwardy I did this by adding random spaces, I think 15:00 rubenwardy oh no I didn't 15:00 makayabou euh..let's try but how..? 15:00 rubenwardy I added a random container 15:00 rubenwardy "container[0," .. math.random() * 1000 .. "]container_end[]" 15:01 ANAND MT discards a formspec if it's the same as the previous one? 15:01 rubenwardy yes 15:01 rubenwardy same name too 15:01 ANAND What on earth.... 15:02 rubenwardy as in, has to be same name and FS 15:02 makayabou it works ! 15:02 rubenwardy yay! 15:02 makayabou thank you very much! 15:03 rubenwardy yw 15:03 rubenwardy really data and layout should be separate 15:05 makayabou what do you mean? 15:08 rubenwardy data = the values in formspecs layout=the elements and styles 15:08 rubenwardy so you can change the layout without deleting field contents 15:08 makayabou separated like in different functions? 15:08 rubenwardy and you can change values without sending layouts 15:08 rubenwardy yeah 15:08 makayabou i did that in the real code 15:09 makayabou i think.. 15:09 rubenwardy the Lua code doesn't matter, it's the C++ that matters 15:09 rubenwardy you still call show_Formspec 15:09 rubenwardy which will resend the entire layout and clear and fields 15:10 makayabou in my code i call a local mymod.gui and that function call show_formspec. does it make a difference? 15:12 makayabou i guess no. I will have a look to !book#clean_arch and come back to you later. Thanks 15:12 rubenwardy :D 15:12 rubenwardy not technically 15:12 rubenwardy like, nicer code 15:12 rubenwardy but the engine does the same thing 15:12 ANAND show_formspec still ends up stuffing a string into the client. 15:13 makayabou yes, what else to update a formspec? 15:13 rubenwardy I'm talking about engine modifications :P 15:13 rubenwardy I'm a core developer who unfortunately has done too much formspec stuff 15:13 * ANAND awaits this feature in 7.0.0 15:14 makayabou ah ok!!! 15:14 rubenwardy estimated year: 2033 15:14 ANAND I'd have already introduced my great-grandchildren to MT :D 15:15 makayabou and that's a good thing.. 15:15 ANAND Indeed :) 16:53 lllI1I speaking of formspec stuff I've found very little in the area of themeing the GUI in the docs 16:53 lllI1I apparently texture packs can change that but it doesn't explain how 16:53 rubenwardy lllI1I: that will be in 5.0.1 16:53 rubenwardy oops 16:53 rubenwardy 5.1.0 16:53 lllI1I great 16:53 rubenwardy you'll be able to do stuff like this: style[button;bgimg;image.png] 16:54 rubenwardy as for texture packs, you can use them to override any tectures used by formspecs 16:54 lllI1I looking forwards to it, would that also work for like the entire look and feel of the UI elements? 16:54 rubenwardy including the background texture in MTG 16:54 rubenwardy no, it won't be universal 16:54 rubenwardy because I cba for that 16:55 rubenwardy formspecs need to die, this is just something before they do 16:55 lllI1I one of the things that bug me about MT is that the GUI appears very uninspired visually 16:56 lllI1I the style appears to be "sterile dark grey" 16:57 makayabou Can I have multiple lines selected by default in textlist element of a formspec ? Is there some reverse of minetest.explode_text_list_event() ? 16:59 makayabou can i use a list for in extlist[,;,;;,,...,;;]` ? 17:03 kurtzmusch lllI1I thats because its an engine, servers are meant to customize it 17:04 lllI1I yes I would like to customize it, but I haven't been able to find documentation on how that is done 17:04 rubenwardy player:set_formspec_prepends 17:04 rubenwardy you can set backgrounds and colors of some things 17:04 rubenwardy you can't set button colors or styles yet 17:05 rubenwardy but if you write the mods, you can make imagE_buttons 17:05 rubenwardy worth waiting for or using 5.1.0-dev when the styles PR is merged 17:05 lllI1I appreciate it 17:05 rubenwardy PR :#8383 17:05 ShadowBot https://github.com/minetest/minetest/issues/8383 -- Add formspec styling using a style[] tag by rubenwardy 17:29 sfan5 !seen linuxdirk 17:29 MinetestBot sfan5: Sorry, I haven't seen linuxdirk around. 17:29 sfan5 !seen 4w 17:29 MinetestBot sfan5: Sorry, I haven't seen 4w around. 17:29 sfan5 hm 17:29 rubenwardy I don't think he's on IRC 17:29 rubenwardy surprisingly 17:29 rubenwardy he has XMPP and a forum account 17:40 sfan5 the server resends custom hud values 60 times a second 17:40 sfan5 wtf 17:41 sfan5 actually just 30, still wtf 17:41 rubenwardy holly what 17:41 rubenwardy like, (custom hud) values? 17:42 rubenwardy which would be hud_add huds, compared to custom (hud values) which would be replacing builtin 17:42 rubenwardy this would explain the network performance issues in CTF 17:42 ANAND custom hud? 17:42 sfan5 just a normal hud_add 17:42 ANAND That is bad 17:42 ANAND O_O 17:42 rubenwardy oh dear 17:49 sfan5 ok it's not minetest, it's a mod issue 17:50 ANAND Whew... :D 18:12 sfan5 rubenwardy: have you lookined at wireshark to debug potential perf issues? 18:14 ANAND I'll give it a shot too 18:14 ANAND once I figure out how to get it working 18:25 rubenwardy sfan5: there was a lot of mapblock fragments 18:25 rubenwardy Like, pages 18:30 p_gimeno what needs to happen in the forum for new users like me to be able to send PMs? 18:31 p_gimeno I guess there's a minimum post count, any idea which? 18:37 rubenwardy p_gimeno: I can approve it 18:37 rubenwardy if you link your account 18:38 p_gimeno do you mean like this? https://forum.minetest.net/memberlist.php?mode=viewprofile&u=24791 18:38 rubenwardy thanks 18:38 p_gimeno no thank *you* :) 18:39 rubenwardy oh 18:40 p_gimeno s/no/no,/ 18:40 rubenwardy turns out that "Remove from newly registered" doesn't do what I thought it would do 18:40 p_gimeno oh? I can write PMs now 18:41 rubenwardy oh can you? 18:41 rubenwardy yay 18:41 rubenwardy so it did 18:41 p_gimeno yes it worked, thanks :) 18:41 rubenwardy your rank is still "New member", hence my confusion 18:41 p_gimeno ah that's normal I think, that depends on post count only 18:58 makayabou with minetest.explode_textlist_event, I get an index number but how can I retrieve the value itself ?? 19:00 rubenwardy makayabou: you unfortunately need to save or regenerate the list 19:02 makayabou ok I see. thanks 19:33 Fixer minetest is doing 19:33 sfan5 nostalgia 19:56 kurtzmusch whut? 19:56 kurtzmusch p_gimeno whas that s/no/no,/ a search+replace thing? 19:57 p_gimeno yes, a pseudo-sed command to fix my previous sentence :) 19:58 Calinou those work out of the box on Discord :P 19:58 kurtzmusch same as vim 19:59 MattJ Calinou, as in, Discord automatically interpets when you type 's/A/B/' in a message? 19:59 kurtzmusch discord botnet 19:59 Calinou yeah (but /g isn't supported) 20:03 Astrobe p_gimeno thinks that rubenwardy is an ex ;-) 20:29 est31 Fixer not doing 20:33 lllI1I rubenwardy: where do I report potential bugs in CTF to 20:42 Krock https://github.com/MT-CTF/capturetheflag/issues 20:42 Krock ^ lllI1I 20:43 lllI1I thanks, was hoping for not github but fair enough 20:44 Krock !next 20:44 MinetestBot Another satisfied customer. Next! 22:31 paramat !tell Astrobe "some custom trees seem to spawn on top of plants, or their first trunk node is replaced by a plant". that's expected and caused by decoration placement order (determined by registration order) and/or the setting of 'force_placement'. notice MTG places decorations largest first 22:31 MinetestBot paramat: I'll pass that on when Astrobe is around 23:35 Antum Is there a reason why I am quieted on #minetest-dev? 23:39 p_gimeno I don't think so, are you sure you mean #minetest-dev and not #minetest-hub? 23:40 rubenwardy Antum: I can't see you on the quiet list 23:45 Antum This is the message if I try to change my nick while connected to #minetest-dev: "#minetest-dev :Cannot change nickname while banned/quieted on channel" 23:45 Antum And this is the message if I try to say something in #minetest-dev: "#minetest-dev :Cannot send to nick/channel" 23:45 rubenwardy try now? 23:46 Antum The nick I usually use is "AntumDeluge". 23:46 Antum Nope, still doesn't work. 23:46 Antum Same message. 23:47 rubenwardy try parting an re-joining 23:47 rubenwardy +d 23:49 Antum Nope. 23:49 rubenwardy I don't know why this is happening 23:49 Antum It's interesting though, because at the same time I have been quieted on some other channels that I usually am in. 23:50 rubenwardy shadowbanned? 23:51 Antum What is shadowbanned? 23:51 rubenwardy idk, it would be weird 23:51 rubenwardy well, say whatever you were going to say in here instead 23:52 Antum Oh no, sorry. I didn't have anything to say at the moment. I was just trying to figure out why I was quieted. Any time I try to change my nick back to "AntumDeluge" it won't let me while I am quieted. 23:53 rubenwardy maybe your client is borked? 23:53 rubenwardy oh nevermind 23:54 paramat using a proper client, not webchat? 23:54 rubenwardy paramat: the cloak says so 23:54 rubenwardy in /whois 23:54 rubenwardy it's not webchat 23:54 AntumDeluge Ya, 6 channels I am quieted on. Once I parted from them I was able to change my nick. 23:54 rubenwardy could be a weird chat bug 23:54 AntumDeluge I am using HexChat on Windows. 23:54 rubenwardy I suggest asking in #freenode 23:54 AntumDeluge Good idea. Thanks. 23:54 rubenwardy there's no staff members online ATM, according to /stats p 23:59 paramat ok 23:59 AntumDeluge It turns out I was not identified for my nick. And apparently you must be identified in those channels because the +q option is set?