Time Nick Message 00:03 Valeria22 I'm trying to use Mineclone 2 on Minetest 5.6.1 on Debian 12. It works but I'm wondering if anyone knows of a way to use custom skins. 08:36 gera Bombo: try installing necessary irrlicht-mt version system-wide, then building minetest 12:07 Helmut1 Messi < Ronaldo 12:08 s20 Very minetesty 12:43 independent56 I found the design document for a mod idea i had back in 2020 12:43 independent56 https://rentry.co/uqudv 12:43 independent56 Do you think it'd be useful or is it a waste of effort? It's inspired by UK legislation to some extent. 12:49 calcul0n i like the extinguisher, might be cool if you can't remove fire by just punching it anymore 12:50 calcul0n for the mod it would be interesting if there's a real risk of accidental fire 12:50 calcul0n which is the case in mineclone and it's very annoying :) 12:50 independent56 yeah, i'm thinking of that 12:51 independent56 A complement mod adding fire classes. https://en.wikipedia.org/wiki/Fire_extinguisher#United_Kingdom 12:51 independent56 For example, technic cables sometimes catch fire, which needs dry powder or carbon dioxide 12:52 independent56 Or maybe you've made a structure out of magnesium. Whoops! you need class d powder! 12:53 independent56 (if you use the wrong extinguisher, there might be an explosion in the case of water and oil, or electrocution for those near water and technic 12:54 calcul0n lol, sounds fun :) 12:57 independent56 I'll be splitting functionality; the fire-starter mod adds the extinguisher danger and random fires, but the fire-safety mod will add fire detection and removal extinguishers 13:04 TLuna It's obscure to me how random fires can be made not frustrating; i think, rules of it could be very different for different games 13:06 independent56 By implementing appropiate fire safety systems 13:06 independent56 ;) 13:09 independent56 I've come up with the extinguisher rectivity chart 13:09 independent56 https://rentry.co/98co3 13:09 independent56 (spicy is a synonym to "things on fire") 13:20 independent56 anyways, gtg 14:47 independent56 I want to send digiline messages when i detect fire. I can't seem to detect fire nor figure out digilines 14:48 independent56 https://pastebin.com/BAdF1bmQ has the important bits of the code 14:48 independent56 Specifically the on_timer callback won't send fire messages, even after 3 seconds of waiting 14:49 independent56 Digilines also seems not to touch the node 14:55 independent56 Ok, so i managed to get digilines to connect now 14:55 independent56 oh, i managed to get the node timer working 14:57 calcul0n i think you must restart the timer after on_timer also 14:58 independent56 yes, thats how i managed to get it working. 14:58 calcul0n ah ok 14:58 independent56 You see, i'm a complete 14:58 independent56 noob 14:58 * independent56 can't even use the keyboard properly 15:02 calcul0n digiline is not easy, that's a good start :) 15:03 independent56 thanks so much 15:03 independent56 I actually started yesterday by stealing digilines's RTC code and changing it to do HTML requests 15:04 independent56 I plant to make a more full-featured mod leter, including a node that does jquery's $(event.msg).text() 15:04 independent56 (forgive my mixing of Lua and JS cross my heart and hope to die) 15:05 independent56 So you send "#idOfElement" and then get the text of that element. I wonder if i can return it using regex... 15:07 calcul0n lua has builtin support for regex if that's the question 15:07 independent56 On a related note, i'd like to request that my mod be put on the fast-track approval queue so i can show the minetest community that i'm not a lazy slob who dosen't give back (as sated on my user page on the wiki) https://content.minetest.net/packages/56independent/httpblock/ 15:10 independent56 https://wiki.minetest.net/User:56independent_actual says "This is the userpage of 56independent, a fat old slob which often does not give back what they've taken from the Minetest community." 15:12 ROllerozxa (we don't have a fast-track approval queue) 15:13 independent56 By protocol RX-56 subsection 5 i would like to request that one be made 15:13 independent56 Full name: "Minetest community and developer communications agreement" 15:14 * independent56 would like to roleplay that Minetest is some boring beurocratic propietary program full of beurocracy and with long communication chains for "work experience" 15:15 ROllerozxa actually, the fast-track approval queue is getting the licensing stuff done the first time so approval is as simple as pressing the approve button 15:16 independent56 didn't i already do that? 15:17 independent56 Yeah, the readme and contentdb page matches 15:18 ROllerozxa mhh 15:19 ROllerozxa anyways fix it up quick so I can approve it before I go to eat dinner 15:20 independent56 Thank you very much for taking the effort of checking 15:24 independent56 I think i've fixed it https://gitlab.com/56independent/httpblock/-/commit/844a14c19da890ab3255b15aed3f1621945eb417 15:24 independent56 Damn, i got the name wrong 15:24 independent56 (your name) 15:26 MTDiscord This work is free to use under the terms of the Rollerozxa Can Eat Public License. 15:26 independent56 Freedom to the approvers! 15:27 ROllerozxa heh dw about the misspelling, it's approved now 15:27 independent56 thanks  lot! 15:28 MTDiscord re: "fast track approval queue", there is one: it's the only queue right now. It used to take several days to get reviewed, but now responses can be within hours or even minutes. 15:28 independent56 As soon as fire_safety is ready to published, i'll go back and have a crack at implementing the HTML selectors to make it more useful 15:28 independent56 I don't want to force users to parse HTML with regex 15:29 independent56 Remember what happened last time someone asked how to do that? 15:29 MTDiscord cue that classic stack overflow answer... 15:29 independent56 exactly 15:41 ROllerozxa how to parse HTML: `pip install beautifulsoup4` (and a little bit of regex because reading BS4's docs is too much work) 15:42 MTDiscord Or just use htmltidy to convert it to xhtml and then use an xml reader (I've found xml readers to be more common and robust than html ones) 15:43 independent56 it's for a minetest mod 15:43 independent56 Because getting raw HTML is useless without processing. 15:43 independent56 Maybe i make a chromium-based HTML parser screen for minetest.... 15:44 independent56 You can never have too much lag! 15:44 MTDiscord you can use a headless chromium instance to render it to pdf, then conver the pdf to an image, and load the image into image-recognition AI and ask it questions about what it sees in the image. 15:45 independent56 yes 15:45 independent56 but we're not at microsoft 15:46 independent56 Anyways, my block is connected to an LCD. It does print that it detected fire and that the channel is equal to that of the LCD, but i don't see the message "fire". 15:46 independent56 https://pastebin.com/Jf1R4rGP 15:46 ROllerozxa oh I see, it was in the context of a minetest mod. I was mostly joking :P (albeit BS4 do be good for quickly writing up a script to extract data from scraped HTML pages in bulk) 15:54 Valeria22 Does anyone familiar with Mineclone 2 know how to add custom skins to it? 15:57 mmuller Valeria22: I can't give an authoritative answer, but have you tried just downloading and enabling a skins mod? 15:57 mmuller e.g. https://content.minetest.net/packages/TenPlus1/simple_skins/ 15:58 mmuller If that's incompatible with MC2, you might want to ask on #mineclone2 15:58 Valeria22 I've tried SkinsDB but Mineclone lacks player_api I can try simple skins though 16:01 Valeria22 Simple skins also doesn't work with mineclone 2. I'll ask in the channel. 16:23 independent56 Can anyone explain why i can't load the textures when i added fire_safety_ to the beggining of them? 16:23 independent56 https://pastebin.com/9AtJajeC 16:25 independent56 Oh wait, turns out i had a duplicate mod confusing things 16:27 Valeria22 So I did find a way on my own for skins in Mineclone2. I had to get mcl_custom_skins from a git archive and use a 64x32 skin. Not ideal given I wanted to use 64x64 skins, but I'll take what I can get. 16:52 independent56 I have a question: I've been able to detect fires and enter the conditional, but the digiline message for some reason fails to send. The pos is correct, the channel is correct, but the message won't show on any LCD i've connected to the channel. https://pastebin.com/Jf1R4rGP 16:52 independent56 it's some mod code i've made 17:35 jonadab Oh, I think that's a different digiline send API than the one I'm familiar with from luacontrollers. 18:56 independent56 A bit of a dumb question but is the pos in on_punch the pos of the player? If so, how do i get the pos of the node 18:56 independent56 I have funciton             digiline:receptor_send(pos, digiline.rules.default, setchan, "fire") which needs an accurate position 19:05 independent56 seems like it does give the node position 19:09 independent56 i know this is a big ask, but is it possible to have refraction effects in air in minetest? 19:09 independent56 Like you know how heat makes those shimmering air effects? 19:13 sfan5 which on_punch? 19:13 independent56 The node one 19:14 sfan5 it's the node pos then 19:14 sfan5 if you need the player's pos check the `puncher` ObjectRef 19:14 independent56 Thanks 19:14 independent56 Could you help me figure out why it fails then? https://pastebin.com/pN7pMyPR 19:18 independent56 You see, i'm not the best at mod programming 19:22 independent56 could it be related to the z of the pos? 19:24 calcul0n ah, digilines trickery: it's digilines.func or digiline:func 19:24 calcul0n the first is better, digilines.receptor_send... 19:25 calcul0n see https://github.com/minetest-mods/digilines/blob/722ff851dd4893b9536908f5377070f070b06914/init.lua#L4 19:26 independent56 that's just flown over my head 19:27 independent56 oh i get it now 19:27 independent56 a:d -> a.d 19:28 independent56 With digilines. receptor_send(pos, rules, setchan, "fire") i don't see the message coming up on the LCD 19:28 independent56 whoa 19:28 independent56 my indentation is broken 19:28 independent56 Is there anything i'm supposed to change in the arguments department? Is the a self which needs to sneak in? 19:29 calcul0n i see nothing wrong now, are you sure the lcd is correctly plugged and configured with the right channel? 19:30 independent56 Yes. The buttons set to the same channel work 19:30 independent56 digiline:receptor_send(pos,digistuff.button_get_rules(node),meta:get_string("channel"),value) 19:30 independent56 That's their sending 19:37 calcul0n hmm i can't tell, that's weird 19:38 independent56 Here's the full code should you need it: https://pastebin.com/NYcem86g 19:39 independent56 `rules` has been moved to `init.lua` 19:43 calcul0n ho maybe you're just avtivating the digistuff button when you punch your node 19:43 calcul0n as they have the same channel 19:44 independent56 ? 19:44 independent56 The LCD; diigistuff button, and firebox all have the same channel 19:44 independent56 I don't see how that inteferes 19:44 calcul0n i mean the message sent by the node is caught by the button so the button resets the screen again 19:44 calcul0n not sure i'm clear :) 19:45 independent56 hmm 19:45 calcul0n but just try to remove the button maybe 19:45 independent56 yeah i'm trying 19:46 independent56 nope 19:47 calcul0n erf 19:49 calcul0n rules is not set in the full code you just sent, is it set elsewhere? 19:50 calcul0n in fact you can use digilines.rules.default directly 19:50 independent56 as i said, it's in init.lua 19:51 independent56 https://pastebin.com/rpvxeZtP 19:54 calcul0n it's not a good idea to make it global, it could interfere with other mods 19:54 calcul0n could also be modified behind your back 19:55 independent56 well, GTG 19:55 independent56 i'll be back soon. 22:10 independent56 Let's say i was to make a game so horrific and horrifying using psychological horror that players are left reeling for weeks. Where would i be allowed to publish it? 22:10 independent56 Can i do it on contentDB given the horror tag? 22:10 independent56 Maybe even players with experience in handling horror wors 22:10 independent56 *works 22:23 MTDiscord you can do it on cdb (read the rules) with the horror tag, it just wont be shown on android iirc 22:23 independent56 because android is used by babies /j 22:24 independent56 wow 22:25 independent56 gore, horror, violence, and drugs apply to my game design 22:28 independent56 i've written out a plot which i might use, but i'm not sure if i will, just so you can get an idea what i'm thinking 22:28 independent56 https://rentry.co/eyu52