Time Nick Message 00:49 rdococ I wish I had the tools to create a Scratch-like programming language but I wouldn't know where to start 01:00 luk3yx rdococ: What's wrong with scratch? 01:01 luk3yx Also, I thought scriptblocks were your attempt at that. 01:04 rdococ eh, scriptblocks are kinda stupid 01:04 rdococ the voxel system caters best to dataflow languages 01:05 rdococ actually, I guess it doesn't necessarily 01:05 rdococ still, I don't know how I would approach a more intuitive scriptblocks-like language 01:07 rdococ scriptblocks had arbitrary control flow, the equivalent of gotos, because you could link them in any way 01:07 paramat ircSparky you claim mumble positional audio is simple, but look at the PR code changes https://github.com/minetest/minetest/pull/3739/files 16 files, 400 lines 01:09 paramat it's likely to be a significant amount of maintenance 01:11 paramat but yeah maybe in future it will be more justified 01:15 rubenwardy there's a few unrelated changes there 01:15 rubenwardy and things which are separate from everything else are lower cost 01:16 rubenwardy there's a ton unrelated changes there 01:16 rubenwardy there's a ton of unrelated changes there 01:16 rubenwardy classic ShadowNinja 01:17 rubenwardy there's only 3 files changed = mumble.h+.cpp, and game.cpp 01:17 paramat oh yeah, seems like < 300 lines 01:17 rubenwardy and then config files 01:17 rubenwardy and then loads of unrelated changes 01:17 rubenwardy including wide string support in porting, for some weird reason 01:19 paramat mumble stuff is only in 6 files yes 03:18 jas_ positional ingame voice chat. wow. 03:21 rdococ I'd rather stick with text chat 03:22 jas_ why not both? good for those who like voice. 03:22 rdococ I don't like listening to voice chat, and I absolutely hate participating in it 03:22 jas_ besides, if ur far u dont hear it maybe 03:23 jas_ well server creator has to set it up 03:23 jas_ besides individual preference setting. should be an off swit? 03:23 rdococ you could have positional text chat I guess 03:23 jas_ i did 03:23 rdococ you would see messages in colors or transparency based on their distance 03:24 jas_ i did that a while ago. also nametag 03:24 jas_ if u couldnt zee nametag u were out of range of chat 03:24 rdococ putting messages in nametags means you have to look at them to hear them, though 03:24 jas_ it was lknely :) 03:25 jas_ no sry whoops 03:25 jas_ player transfer distance 03:25 jas_ and if j can see them 03:25 jas_ then theyre in range to chat 03:25 rdococ maybe if they displayed on the screen based on where they came from, even if you can't see where they came from directly 03:25 jas_ and if outside player transfer distance they didn't see chat 03:25 rdococ yeah 03:26 jas_ so hence nametags referen e 03:26 jas_ github 03:26 jas_ github.com/everamzah/kalite maybe 03:27 rdococ phones could transport other people's chat messages to you so you can hear them 03:27 rdococ or, well, see them 03:27 jas_ its isolating 03:28 jas_ but interesting needs further experimentation. voice imo is the killer feature. 03:28 DI3HARD139 ?? 03:28 DI3HARD139 Oh. Talking about voice? 03:28 rdococ voice chat means that people will know what I sound like 03:28 rdococ I don't want that 03:28 DI3HARD139 XD 03:29 rdococ the closest you'll get is that mod with a block that keeps asking for mod ideas 03:29 jas_ on pho e brb 03:29 DI3HARD139 Squeakers will be the biggest problem most of the time 03:29 rdococ I manage to squeak in text by saying yay all the time, you don't want that in voice form :P 03:30 DI3HARD139 Oh no. Not that. I mean the children who squeal and cry or scream whenever they don't get what they want. That or get killed in PVP maps. 03:30 rdococ aw, I feel bad for them 03:32 DI3HARD139 You won't any longer once you've been in CSGO, COD and/or Battlefield public servers. 03:33 rdococ eh, I probably still would 03:33 rdococ but imagine that kind of voice chat in a minetest server 03:34 jas__ yum 03:34 jas__ i can dig it 03:34 jas__ just run away from the person talking! haha.. besides, you just turn it off if you dont like it. or don't compile it in perhaps. 03:35 jas__ but essential engine feature imo 03:35 jas__ nonetheless 03:35 DI3HARD139-m True 03:35 rdococ can't wait for positional smellivision 03:35 DI3HARD139 Could be very helpful for devs and admins/mods 03:36 jas__ good point! private voice chat. haaaa what a PITA for monitoring tho 03:37 * jas__ wishes for irc.minetest.net and built-in irc support. 03:37 rdococ private voice chat? just whisper 03:37 jas__ ha yup and go to a private place 03:37 jas__ you're right 03:42 jas__ https://github.com/everamzah/kalite/blob/master/mods/kalite/shout.lua 04:07 DI3HARD139-m Just curious. Any plans for adding Discord's "Rich Presence"? 04:09 rdococ what on earth is that 04:09 jas__ proprietary voice/chat 04:09 jas__ so i bet they won't 04:10 jas__ it may be that no one wants to support that 04:11 DI3HARD139 It's an a separate file that adds support to discord so it can (in the event of a MP server) allow Discord Users to see what server/game mode your playing on in your Profile status. Or in the Case of Music Apps, What song, artist, album your listening to and what app is being used. 04:12 DI3HARD139 -an 04:13 DI3HARD139 If your curious: https://discordapp.com/rich-presence 04:16 rdococ I want to keep what little privacy I have left on the internet, thank you very much 04:24 GreenDimond Obviously its optional 04:25 GreenDimond DI3HARD139: It's already a PR, but rejected. https://github.com/minetest/minetest/pull/7339 04:25 DI3HARD139 Awe... kk. I should sign back into github and read the new bugs/PRs :P 04:30 luk3yx DI3HARD139: https://github.com/minetest/minetest/pull/7339 04:30 luk3yx I think it should be a CSM. 04:31 GreenDimond luk3yx: .... 04:31 luk3yx GreenDimond: ? 04:31 GreenDimond I literally linked it 5 minutes ago 2 lines up 04:31 luk3yx Oh 04:31 luk3yx Hehe 04:32 DI3HARD139 I agree. There may be a way to use it as a csm. 04:33 * luk3yx would prefer not to have Discord integration code floating around in the core game 04:33 * GreenDimond would prefer not to have Mumble integration code floating around in the core game 04:33 luk3yx Wait, there is? 04:33 GreenDimond People were talking about it above 04:33 luk3yx It's a PR. 04:33 GreenDimond Mumble? No? 04:34 * luk3yx would prefer MT stay as MT, but CSMs should be able to implement these integrations somehow. 04:34 GreenDimond No one has made a PR for it yet, but someone has the code ready. 04:34 GreenDimond For Discord, you could use a CSM to send relevant information to a bot on a server to handle the information. 04:35 luk3yx Couldn't the server do it by itself? 04:35 GreenDimond Yes, but with a CSM it would work on any server 04:35 GreenDimond The server wouldnt need a mod to do it 04:35 luk3yx Oh, I thought you meant "bot on the server". 04:35 GreenDimond Bot on the Discord server :P 04:35 luk3yx Oh, I see. 04:36 GreenDimond In fact.. hmmm 04:36 DI3HARD139 unless explicitly disabled in the server settings. That would be the only catch (Assuming I understood the setting's usage correctly.) 04:36 GreenDimond I might try this... 04:36 GreenDimond If I can figure out how to send data out of a CSM to MinetestBot on UMTD I might be able to get it to work. 04:36 GreenDimond It also works per server probably 04:39 luk3yx Hopefully IRCv3 will make IRC better (and hopefully they'll decide on what JSON format to use if it gets implemented). 10:10 nerzhul CSM doesn't permit to connect to remote API 10:10 nerzhul SSM can 12:36 ChimneySwift It's a fairly simple engine change to allow sockets in CSM, though obviously not really something everyone is likely to do. 12:45 ChimneySwift besides, these kinds of features sell a game, and popularity brings a lot of good things to an open source project 12:45 ChimneySwift hint: developers who are interested in adding and maintaining such features 12:46 rubenwardy CSM is only intended for server-provided scripts, ie: things to make the mod API more powerful 12:47 rubenwardy and such features have massive security implications 12:48 ChimneySwift I'm not saying that we should ignore other issues, I just feel like a lot of the argument I read here was like that 12:48 ChimneySwift and yeah adding the ability to have sockets in server provided CSM is a terrible idea 12:49 ChimneySwift in order to do it properly that way you'd have to have yet another class of mod, which is CSM as it stands, but we all know how well that was received 14:28 rubenwardy https://forum.minetest.net/viewtopic.php?t=21455 14:28 rubenwardy !title 14:28 MinetestBot rubenwardy: Efficient graph based networks (electronics and transport) - Minetest Forums 14:38 VanessaE rubenwardy: ^ might be good for technic, but I don't think it'll help mesecons, because the wires "light up" when they go high. 14:38 rubenwardy that doesn't matter for the logic though 14:38 rubenwardy it's part of showing state, which is mentioned 14:38 rubenwardy but the nodes lighting up don't really effect much 14:39 T4im i think there were some projects started around item logistics and power network; not sure what they are based on though, might be worth checking out 14:40 rubenwardy this isn't for mesecons anyway :) 14:41 T4im well, you still face the same problem of updating such a graph 14:41 T4im when nodes that are part of it are being removed or added to them 14:42 tumeninodes Hi tumeni 14:43 tumeninodes Hi tenplus1 14:43 * tumeninodes attempting to fill the emptiness :( 14:43 VanessaE rubenwardy: deltasquared is working on a "packetized" water flow idea for pipeworks. since it's also trying to solve the same problem, it might have some overlap with your idea 14:44 rubenwardy oh interesting 14:44 tumeninodes Capitalism Game needs a new icon 14:45 VanessaE a dollar sign?: ;) 14:45 T4im rubenwardy: https://github.com/minetest-mods/technic/issues/380 14:45 T4im solves different problem; but also might have overlaps 14:46 tumeninodes Hopefully not seeming rude... but the current one gives the impression of a mainly industrial atmosphere (which while it is involved, is not the core of the overall idea) 14:46 tumeninodes yeh, a currency symbol could be good 14:46 rubenwardy maybe 14:47 tumeninodes hard to use a currency symbol though, as they differ around the world 14:47 T4im theres an abstract one: ยค 14:47 rubenwardy I will invent my own currency symbol at some point 14:47 rubenwardy maybe that 14:47 tumeninodes maybe a trading & currency mix 14:48 tumeninodes "That will cost you 40,000 rubens 14:48 T4im it's sadly being abused for non-currency things, so you might not like it, but it is the currency sign 14:48 VanessaE just use Minegeld ;) 14:49 T4im or cube the currency sign :D 14:49 rubenwardy the symbol needs to be embedable in text 14:49 tumeninodes How is the value of Minegeld going? 14:50 * tumeninodes added angled doors to the angled walls mod last night ;) 14:51 VanessaE tumeninodes: well I basically equate 1 MG to 1 US dollar, if that's what you mean :) 14:51 VanessaE Mg* 14:51 tumeninodes that might be a bad choice :D 14:51 tumeninodes https://forum.minetest.net/viewtopic.php?p=336093#p336093 14:51 tumeninodes !title 14:51 MinetestBot tumeninodes: [Mod] Angled Walls [1.4] [angledwalls] - Minetest Forums 14:52 ANAND > That will cost you 40,000 rubens 14:52 ANAND That actually sounds good 14:52 tumeninodes everything I say, sounds good 14:52 tumeninodes :D 14:52 ANAND :P 14:53 VanessaE 40,000 sandwiches? 14:53 ANAND Maybe two vertical lines across a capital 'R' 14:53 VanessaE that'll need a fuckton of kraut :) 14:53 tumeninodes hahaha, paying in sandwiches would be interesting 14:53 ANAND lol 14:54 tumeninodes 0_0 14:54 tumeninodes (gasp) Ssssssquidward! 14:55 tumeninodes You got me Vanessa... I just literally made the ruben/sandwich link 14:55 tumeninodes Man I'm getting slow 14:55 VanessaE heh 14:55 rubenwardy wait what? 14:56 tumeninodes haha 14:56 rubenwardy oh, Americans are weird 14:56 rubenwardy "The Reuben sandwich is an American grilled sandwich composed of corned beef" 14:56 VanessaE heh 14:56 tumeninodes England misses out .... again 14:57 VanessaE if you've never had one, I feel bad for ya :) 14:57 rubenwardy sandwiches shouldn't be grilled! 14:57 tumeninodes Philly Cheese Steaks too 14:57 rubenwardy also, https://en.wikipedia.org/wiki/Sandwich,_Kent 14:57 VanessaE there's this place I used to visit in Galena, Kansas that used to make THE BEST reuben :) 14:58 VanessaE tumeninodes: +1000000000000 14:58 tumeninodes you know fights start over claiming "bests" :D 14:58 VanessaE well the place in question, while still in business, no longer has a diner. :( 14:59 VanessaE so "best" is moot :P 14:59 tumeninodes yeh, we continue to lose 'diners' as well 15:00 tumeninodes My Father's side owned a rest which create the BootMill sandwich in Lowell, MA :) 15:00 tumeninodes Ohhhh, bother...my tummy's getting rumbly 15:03 VanessaE all this talk of sandwiches gave you an appetite, eh? :) 15:03 tumeninodes not talking about food makes me hungry too 15:03 VanessaE heh 15:04 * tumeninodes wonders why no one has made a diner mod yet (or has it been done?) 15:05 IhrFussel Hello^^ so you CAN change ABM definitions during runtime? I thought that was impossible 15:05 VanessaE IhrFussel: wat 15:05 tumeninodes I think I remember one but not sure if it was finished and might have been more restuaranty 15:05 tumeninodes ?? you can? 15:06 VanessaE tumeninodes: well, there's that old nightclub mod... combine that with the steel and food mods, you should have enough to build an old fashioned railroad passenger car diner... 15:06 IhrFussel VanessaE, https://github.com/doyousketch2/server_tuning/blob/master/init.lua#L66 15:06 VanessaE (nightclub mod because of the neon-looking stuff therein) 15:06 tumeninodes possibly 15:06 tumeninodes might end up more like a hooker's diner though :D 15:07 VanessaE IhrFussel: wait....that actually works?! 15:07 IhrFussel I'm not sure I assume they tested their mod before submitting it... 15:08 VanessaE well, it's doyousketch2, he's usually pretty good 15:08 tumeninodes never assume that... I hardly ever do :P 15:08 tumeninodes he is quite under rated 15:08 rubenwardy it's still during load time 15:08 VanessaE right, so it *should* work 15:08 IhrFussel rubenwardy, no he claims it changes depending on load 15:09 IhrFussel Makes no sense to set the intervals on startup cause there will always be 0 users 15:09 tumeninodes afk 15:09 rubenwardy that's load time 15:09 rubenwardy it's in the root scope of init.lua 15:09 rubenwardy so load time changes 15:09 VanessaE yeah, it's not in a function, so it's not being called by anything active during runtime 15:10 IhrFussel Then I don't understand what the reasoning is 15:10 rubenwardy it's a tweak mod to make ABMs less common 15:10 IhrFussel Why would I want to modify ABM intervals before even knowing how many people will play on my server...pointless 15:11 IhrFussel So the other settings like block send distance etc are also ONLY on load? 15:11 VanessaE yeah, looks to me like it's just meant as a coarse "change 'em all" tweak 15:11 IhrFussel That makes the mod useless for me, meh 15:13 IhrFussel The idea is that you set min / max values for your server settings. 15:13 IhrFussel - When there are only a couple players on, they get maximum resources devoted to their gameplay. 15:13 IhrFussel - When a lot of players are on, these settings get trimmed back, to reduce lag. 15:13 IhrFussel ^ that description is bollocks then 17:33 rubenwardy cutting edge asset creation https://i.rubenwardy.com/k5cBD.png 17:34 MinetestBot tenplus1: Nov-03 18:45 UTC Please don't take >the< recent comment of "falling entity rewrite" too serious. I very welcome dev time and PRs, ofc 17:34 tenplus1 hi folks 17:34 tumeninodes \o/ 17:34 tenplus1 hi tumeni, how's things :) 17:34 tumeninodes things are good tenplus1... and you? 17:35 tenplus1 not bad thx :) 17:35 tenplus1 tinkering as always 17:35 tenplus1 and avoiding xmas jingles/ads/movies 17:35 tumeninodes same, I just added angled doors to my angled walls mod :P 17:35 tenplus1 ooh, gotta check that one out, sounds interesting 17:35 tumeninodes yes, I avoid chashmas as long as I can 17:35 tumeninodes *cashmas 17:38 tenplus1 is a bit too early, only november 17:38 tenplus1 lol, so true 17:38 xerox123 o/ 17:38 tumeninodes round here, cashmas stuff was already out by halloween 2d-3d wk of Oct 17:38 tenplus1 hi xerox o/ 17:38 xerox123 simple solution: don't watch TV 17:38 tenplus1 lol, whatever happened to Dec1 to Dec 31... over and done 17:38 tumeninodes just watch the Ballad of Buster Scruggs 17:38 tumeninodes ha... with all that monies to be lost? 17:38 tenplus1 hah, watching that just now 17:38 tenplus1 on the actor with no arms/legs at the moment *spoilers* 17:38 tumeninodes yeh the rest of the stories are rather... off tune from the first 17:38 tenplus1 first was funny, singing even when dead and floating :P lolz 17:38 tumeninodes hahaha I loved it 17:38 tumeninodes then the plot change hits 17:38 tenplus1 I like movies with mini plots/stories 17:39 tumeninodes "Clear blue water.... waterrrr" 17:39 tenplus1 haha 17:39 tumeninodes the one you're on now was just depressing 17:39 tenplus1 shhh, no spoilers :P 17:40 tumeninodes oh... right.. 17:40 benrob0329 Hello tenplus1 17:40 tenplus1 oh yeah, updated Farming Redo and Mobs Animals 17:40 tenplus1 hi benrob 17:40 benrob0329 Hello tumeninodes 17:40 tenplus1 made a movie yet ? :P 17:40 tumeninodes hey benrob 17:40 benrob0329 Not yet :P 17:41 tenplus1 ah nice, always fun to get into new games :) 17:41 tenplus1 many folk addicted to Red Dead Redemption II 17:42 * tumeninodes avoids popular games because he sucks at gaming 17:42 tenplus1 ever tried Psychonauts ??? 17:42 tumeninodes I have to find a place to campout 17:42 tenplus1 older game but soooomuch in it 17:44 benrob0329 The nice thing is that its not a video game, so I don't have to feel like I sat in front of a computer for days 17:44 tumeninodes dude, last 'game' I played was Monopoly 17:44 tenplus1 ehehe 17:44 benrob0329 Even though everyone I play with I talk to through the computer... 17:44 tumeninodes I lost btw 17:44 tumeninodes I still have the original 'CLUE" board game, might try to get my kid to play it... best game ever 17:44 tenplus1 Colonel Mustard in the Library with the Nintendo Wii controller :D 17:44 tumeninodes bahahahaha 17:45 tumeninodes hmmm, maybe I'll watch the movie they did on it 17:46 tenplus1 hell, they made a movie of Battleships... you never know 17:46 tumeninodes benrob, we need a MTG movie 17:47 tenplus1 yay, that'd be kewl 17:47 tumeninodes why did I just get an idea for a Crypt Keeper skin? 0_o 17:47 tenplus1 Tales from the Minetest Crypt 17:47 tumeninodes probably been done... and Chuckie too 17:47 tumeninodes haha YES 17:47 benrob0329 We need more games than MTG :P 17:48 tumeninodes they're coming... they're coming 17:48 * tenplus1 imagines a Goonies adventure map 17:48 tenplus1 heyy youuu guyyysss 17:48 tumeninodes hahaha Ryan 17:48 benrob0329 I know of a few games that are WIP 17:48 tumeninodes Time Bandits 17:48 benrob0329 With active devs, its just time at this point 17:49 * tenplus1 just waits for 5.0 to be stable and over with 17:49 tenplus1 hi Krock 17:49 Krock hi tenplus1 17:49 tumeninodes Krockatoa 17:49 Krock dude what... 17:49 Krock tenplus1: every day I was prepared for you 17:49 Krock how do you do this? 17:49 tenplus1 minetest magic mod 17:49 Krock oh 17:50 tenplus1 we are all inside a computer inside minetest 17:50 tumeninodes you need an exit phrase like mine 17:50 Krock inside a minetest mod computer inside minetest 17:50 tenplus1 :P 17:50 tumeninodes "Screw you guys.... I'm goin' hume" 17:50 Krock use a bouncer and exit phrases are history 17:51 tumeninodes whhhhaaaaaat? 17:51 * tenplus1 hires 2 large guys in black suits and shades... bouncers! 17:51 * tumeninodes was once a bouncer 17:51 * tenplus1 hires tumeni then 17:51 tumeninodes tumeni does not bounce so well these days 17:51 tenplus1 how about some slime boots 17:52 tumeninodes gotta go run an errand for one of my Aunts... later dudes 17:52 tenplus1 cya 17:54 tenplus1 hi Sam 17:54 MinetestSam Hello 17:56 shivajiva Hiya tenplus ;) 17:56 tenplus1 hi shiva, hows tricks 17:58 shivajiva not bad, not bad, don't like the cold and diminishing light this time of year brings, time to hibernate XD 17:58 MinetestSam lol 17:59 tenplus1 if only, a few months curled up in bed with hot chocolate on tap would be awesome :D 18:00 shivajiva lol save money and the planet if we all did that 18:01 * tenplus1 wishes it were true 18:01 tenplus1 instead I be working xmas :( booooo 18:05 shivajiva :/ 18:09 tenplus1 Updated Ethereal (fixed mushroom soup recipe), Farming Redo (added carrot juice), Mobs Animals (added Glass of Milk) 18:16 tenplus1 and if anyone is interested, Falling Item mod fixes falling block issues and adds some new features 18:31 tenplus1 wb ben 18:31 benrob0329 ty 18:38 IhrFussel 0.4.17.1 includes the "only count users that actually joined in max_users" correct? Does this mean they will no longer be rejected if the limit was not reached yet but multiple people are in the media loading phase? 18:39 tenplus1 hi fussel, hi gary 18:39 IhrFussel Hi tenplus1 18:40 IhrFussel I think that was fixed cause earlier I really had 43 online players and my limit is 45 and I doubt there were only 2 in the loading phase 18:42 garywhite hi 18:54 tenplus1 hi aerozoic 18:55 aerozoic hi tenplus1 18:55 aerozoic guess wut! 18:55 tenplus1 your pregnant ? 18:55 aerozoic you're* 18:55 tenplus1 hehehe 18:56 aerozoic lol that would be world news! 18:56 tenplus1 do tell ? 18:56 aerozoic the first mail pregnancy XD 18:56 aerozoic male* 18:56 tenplus1 w00t! cigars and donuts all round 18:57 aerozoic oh well it's no big deal, i haven't looked at the code yet but farming had an update that creates unknown nodes if xdecor was also installed. 18:58 tenplus1 default farming or redo ? 18:58 aerozoic i guess pumpkins and melons were cutable with the workbench but now they aren't so i may have to tweak something 18:58 tenplus1 dont worry benrob, they're chocolate :D 18:58 aerozoic redo 18:58 benrob0329 tenplus1, I suppose I can't argue with chocolate 18:59 tenplus1 melons and pumpkin need cutting board and only give 4 slices (2x2 recipe) to give block... they were too OP before 19:00 aerozoic i think workbench uses groups to determine if a node is cutable 19:00 longerstaff13 alright, my server crashes when someone uses /me in the game, it gives this error: https://pastebin.ubuntu.com/p/mcBdhf6vM7/ 19:01 luk3yx Wait 19:01 luk3yx My bot overrides /me 19:01 rdococ you can create tools just by putting a block of cobble next to two sticks, how does that work? 19:01 tenplus1 ohhh 19:01 aerozoic omg longerstaff13!!! What did u do!!!! 19:01 luk3yx Oh, the profiler. 19:01 * luk3yx tweaks their bot 19:01 longerstaff13 aerozoic: not that server, LS-Wonderland 19:01 luk3yx longerstaff13: Fixed. 19:02 longerstaff13 hm? 19:02 luk3yx My bot won't override /me anymore. 19:02 aerozoic longerstaff13, i wasn't referring to an specific server, it was just a sarcastic remark XD 19:02 longerstaff13 wh did it in the first place? 19:02 luk3yx The profiler is weird with on-the-fly commands. 19:02 longerstaff13 why* 19:02 luk3yx longerstaff13: Because chat3 stopped /me-s going to IRC. 19:02 longerstaff13 aerozoic: ah 19:02 longerstaff13 I see 19:04 rdococ I remember creating a mod that added a /my command 19:04 tenplus1 custom commands are so handy on server :D 19:05 luk3yx My bot added /my as well, but the profiler hates on-the-fly callback definitions. 19:05 aerozoic i want to fly 19:06 tenplus1 :P 19:08 T4im luk3yx: what do you mean with on-the-fly? 19:08 luk3yx T4im: //lua 19:08 T4im oh 19:08 luk3yx The profiler can't get the current modname so it weirds out. 19:09 T4im ah 19:09 T4im falling back to something like "??" or so? 19:10 luk3yx Yes. 19:14 T4im i mean, we could let it fall back onto something more descriptive, i guess 19:15 T4im that's btw going through all off builtin, not just the profiler 19:15 T4im e.g. itemdef.mod_origin = core.get_current_modname() or "??" 19:16 T4im but those are more for exceptions iirc 19:28 T4im luk3yx: would sorting those under *unknown* be ok? 19:28 luk3yx T4im: It needs to not crash. 19:28 T4im does it? 19:28 T4im if so lemme know :D 19:29 IhrFussel How can I check whether or not something is in a specific number range? Like if an object's pos.y = 15 and target pos.y +/- 5 nodes then it should succeed 19:29 tenplus1 make a function to do just that 19:30 tenplus1 local function in_range(number, value, range) if number >= value - range and number <= value + range then return true else return false end 19:31 IhrFussel I don't know the math I need for that (I'm bad at it) I think like if pos1.y - pos2.y >= 5 or if pos1.y - pos2.y <= -5 ?? 19:34 IhrFussel Will try, thanks^^ 19:34 Krock math.abs(pos1.y - pos2.y) >= 5 19:35 tenplus1 that's easier :) 19:36 luk3yx Can't you just function(number, value, range) return number >= value - range and number <= value + range end? 19:37 Krock but that's longer 19:37 Krock abs already does that for you 19:37 tenplus1 +100... totally forgot about math.abs :D 19:37 Krock as in "absolute value". outputs a real positive number 19:37 T4im luk3yx: https://github.com/minetest/minetest/pull/4343#issuecomment-440785755 19:38 T4im thanks for pointing it out; i actually had those fallbacks removed in the new pr /o\ but added them back now 19:38 luk3yx Nice. 19:42 tenplus1 laters folks, nom time 20:37 IhrFussel So math.abs() also is not slower than manually comparing? 20:51 rubenwardy Wat 20:52 IhrFussel If math.abs() is slower than "return number >= value - range and number <= value + range" 20:53 benrob0329 what does math.abs have to do with that comparison? 20:54 rud0lf return (value - number) * (value - number) <= range * range 20:54 rud0lf :) 20:55 IhrFussel Cause I need the fastest way to return true/false if a certain number y is in range of x (+/- 5 only allowed) and Krock suggested -> math.abs(pos1.y - pos2.y) >= 5 20:56 rubenwardy How about benchmarking it 20:56 benrob0329 I'd imagine that the built in function would be faster, but that may be naive of me 20:57 IhrFussel Wait is ">= 5" now return true or false? 20:58 IhrFussel I guess false cause the numbers are then 5+ apart? 20:59 benrob0329 couldn't you do return (value - number) ** 2 <= range ** 2 ? 21:01 benrob0329 rather than repeating the (value - number) check twice? 21:04 rubenwardy That's python 21:05 rubenwardy Not sure about lua 21:06 benrob0329 lua may use ^ instead of ** 21:42 tumeninodes greetings Gael 21:42 Gael-de-Sailly Hello :) 21:51 tumeninodes for all interested... numberZero has brought some really points to me about a method of licensing, which I basically just picked up on by looking at other people's mods 21:53 tumeninodes for instance, if I create a mod, which uses the default names for textures... this may be wrong, as the end user may be using a TP and now the wrong license/credits could be misapplied 21:54 rubenwardy If you don't include the textures, you don't need to credit them 21:55 tumeninodes right which makes sense to me now but... this is a habit others have been on as well 21:55 tumeninodes might be another good topic to bring up on the forums 21:57 tumeninodes so there are quite a few mods out there, which have used the very same method, which might be good to bring to people's attention because, as I said... I had just never even thought of that 21:57 tumeninodes for me, I assumed the fact I built a mod, to be used with MTG, I should add credits and infos related to the default textures, etc... 21:59 tumeninodes so now I will be going through each of my mods to clean this mess up, but think it makes sense to bring it up so the many others who have been doing the same can go through theirs as well (if they choose) 22:00 tumeninodes It's like I've been eating soup with a fork and suddenly someone hands me a spoon and says "here, use this..." :P 22:02 tumeninodes FWIW I don't actually eat soup with a fork.... 22:02 tumeninodes I use chop sticks 22:07 tumeninodes sofar: I nominate you to add this topic, as you do a much better job with topics about licensing than I do... :D something like "When not to license/credit" or "To CC BY-SA, or not to CC BY-SA" 22:08 tumeninodes *do>could 22:28 GreenDimond So I am using minetest.compress and minetest.decompress, and for some reason when I try to decompress after joining the game, I get a "decompressZlib: inflate failed" error with no further explanation.