Time Nick Message 00:05 blaise so, there are aminals and stuff.. and places to cook food, and there are crap tons of trees to turn in to charcoal or just use plain ole wood for fuel 00:06 blaise and there are bones where people starved to death on my server because they were too lazy to eat 00:06 blaise like, wtf 00:07 blaise the other day I watched some guy get mauled to death by a cow because he didn't craft a wooden axe or sword to kill it with 00:16 Markow LOL 00:16 Markow That's hilarious 00:16 Markow ;) 01:25 MinetestBot 02[git] 04paramat -> 03minetest/minetest: Sun colour: Undo colour change. Remove double assignment (#7227) 13af86842 https://git.io/vx7tJ (152018-04-09T01:23:47Z) 08:46 IcyDiamond omg my external storage bus works so well 08:46 IcyDiamond its awesome!!! 08:47 IcyDiamond or so i thought 08:47 IcyDiamond found bug 08:47 IcyDiamond lol 08:54 IcyDiamond okay so i have to use after_dig_node instead of on_destruct here 09:47 AlexYst IcyDiamond: Holostorage? WHat does it store, item stacks? 09:47 IcyDiamond its a mass storage system 09:47 IcyDiamond so yes 09:47 IcyDiamond might also do fluids 09:47 IcyDiamond but thats after i make fluidity a full-blown fluid API 09:48 AlexYst Nice! I'm always looking to store more stuff. 09:48 AlexYst I'm such a pack rat. 09:48 AlexYst Like, I had chests and chests of just cobble in my last world. 09:48 IcyDiamond XD 09:49 IcyDiamond this mod can import from and export to chests too 09:49 AlexYst I can't fathom throwing it out, but I don't have a use for it. 09:49 IcyDiamond and use chests as storage 09:49 IcyDiamond so you can put nodes on all your chests and access all the items from one node 09:50 AlexYst Well, *didn't* have a use. Some code tweaks have changed that for my upcoming world. 09:50 AlexYst Oh, sweet. That's awesome! 09:50 IcyDiamond indeed 09:50 IcyDiamond I screamed from joy when I got it to work 09:50 IcyDiamond XD 09:50 IcyDiamond like literal physical scream 09:50 AlexYst Walking a line of chests and checking each for a stack you need's a bit of a pain. 09:50 IcyDiamond glad I'm the only one home XD 09:50 AlexYst Ha ha. 09:55 IcyDiamond https://i.lunasqu.ee/Screenshot_18-04-09-12:52:23.png 09:56 IcyDiamond https://i.lunasqu.ee/Screenshot_18-04-09-12:56:13.png regular grid 09:56 AlexYst So you can access the crafting grid while also accessing storage? Nice! That'll save some flipping back and forth between inventory screens. 09:56 IcyDiamond yes 09:56 Fixer IcyDiamond: now you need to condense blocks into larger stacks 09:57 IcyDiamond thats a good idea but i like have no idea how to do that 09:57 IcyDiamond :P 09:57 AlexYst Fixer: Ha ha. I'm actually going to be experimenting with that soon myself. 09:58 IcyDiamond if only the engine let you set a max stack size per inventory.. 09:58 Fixer IcyDiamond: check this mod out for some inspiration 09:58 IcyDiamond i guess i'd just have to make custom slots 09:58 Fixer IcyDiamond: https://github.com/cx384/storage_interface 09:58 AlexYst Based on a player's in-game level (determined by mining statistics), they'll be able to condense stacks better or worse than other players. 09:59 Fixer IcyDiamond: whole point of refined storage was condensing the blocks, without that we are -ed 09:59 IcyDiamond i mean, there's search 09:59 IcyDiamond you cant get lost 09:59 IcyDiamond XD 10:00 Fixer IcyDiamond: can you open a feature request here about per inventory stack size? https://github.com/minetest/minetest/issues 10:00 IcyDiamond Sure 10:01 Fixer IcyDiamond: note in feature request that feature is very useful for mods like refined storage, applied enertistics, storage interface, etc 10:02 Fixer IcyDiamond: here is that storage interface mod, he did it via buttons here https://i.imgur.com/TYTeJ03.png 10:02 IcyDiamond Yeah I thought about doing buttons 10:02 IcyDiamond but frankly I don't like it 10:02 IcyDiamond :P 10:03 Fixer IcyDiamond: the way you are doing too https://i.imgur.com/N5svVtF.png 10:03 IcyDiamond XD 10:06 Fixer IcyDiamond: another neat workaround he did - by colours https://i.imgur.com/ueu7Epy.png 10:06 IcyDiamond wow 10:08 IcyDiamond !mod holostorage 10:08 MinetestBot IcyDiamond: Could not find anything. 10:09 Fixer IcyDiamond: violet means bigger than whole player inventory I guess, greens are bigger than stuck, that is indeed nice workaround 10:09 Fixer but i'm sure modders need this capability via engine 10:10 Fixer per inventory stack sizes I mean 10:10 IcyDiamond MinetestBot: feast your eyes on this https://forum.minetest.net/viewtopic.php?f=9&t=19932 10:10 IcyDiamond XD 10:10 Fixer IcyDiamond: also, refined storage had sorting by size iirc 10:10 IcyDiamond yeah 10:11 IcyDiamond i'll add sorting options when i figure out the best way to condense the items 10:11 IcyDiamond :P 10:11 AlexYst Okay, it looks like my experiment was unsuccessful. If you use inventory:remove_item() with a stack size above the maximum, it'll sucessfully remove all the specified items from the list (it'll take from multiple stacks as it should), but it deletes the ones that go above the max in the stack it returns. 10:12 AlexYst In some cases, you could combine a few functions to get around this, but I'm not sure how to do it when you don't know the exact number of the item are in the inventory. 10:12 AlexYst It's too bad too; that would've been a simple solution for both of us, if it worked. 10:14 IcyDiamond inb4 "Wont add" tag 10:14 IcyDiamond :( 10:16 IcyDiamond scary tag stay away 10:16 AlexYst IcyDiamond: You could do drag-and-drop, I guess. That's probably what I'll end up doing. You can take a stack dropped into an inventory slot, calculate the proper stack size when added to the other stack, set the old stack to the new size, and delete the old stack. 10:17 AlexYst I meant delete the *new* stack. 10:17 AlexYst Don't set the old stack's size just to get rid of the stack anyway, ha ha. 10:23 IcyDiamond 799 open issues 10:23 IcyDiamond It's just $7.99! 10:24 IcyDiamond ^C 10:28 AlexYst It's a big project; it's bound to have some issues. 10:28 AlexYst I think pull requests count as issues too. 10:28 AlexYst So sometimes one pull request shows up as two "issues"; one detailing the problem and one fixing it. 10:29 AlexYst Then there's the "issues" that are more like notes on plans. 10:29 AlexYst A developer opens an issue explaining what they plan to do. I think it's to give the other developers a chance to respond with input. 10:30 AlexYst So it looks like Minetest id full of bugs or something, but it has less problems than the "issues" make it seem. 10:43 Fixer of those only 254 are marked as bugs 10:44 Fixer minetest is very stable in game actually 10:47 AlexYst Exactly. 10:48 AlexYst I wasn't aware of the exact bug count, but I knew it had to be a lot lower than the issue count. 10:49 AlexYst And some of those bugs are things such as the sun being the wrong colour. They should be fixed, but they don't take away from the stability. 10:51 rubenwardy https://i.rubenwardy.com/poqpp.png 10:52 IcyDiamond rubenwardy: did you get the i. subdomain idea from me? 10:52 IcyDiamond XD 10:53 rubenwardy no lol 10:53 rubenwardy had it for a year or so 10:53 IcyDiamond Fair enough 10:53 rubenwardy got the idea from imgur 10:53 IcyDiamond Same 10:53 IcyDiamond XD 10:53 IcyDiamond Mine is just a database of ipfs hashes 10:54 IcyDiamond I stopped uploading images to my server a while ago 10:55 rubenwardy I generate a random string then upload the image via scp 10:55 rubenwardy essentially 10:55 IcyDiamond Ipfs is really great, especially after I lost the ability to open ports on my home network 10:56 IcyDiamond I also used scp 10:56 IcyDiamond I have a custom screenshot script and everything 10:56 IcyDiamond I use simplescreenrecorder to record video 10:57 IcyDiamond https://ipfs.io check it out, it's really really neat 10:57 IcyDiamond And all open source 10:57 Fixer rubenwardy: support for games, mods and texture packs? nice 10:58 rubenwardy yup! 10:58 rubenwardy all work currently 10:58 rubenwardy well: the online browser can't current tell if a texture pack is installed 10:58 rubenwardy so it'll allow you to install again 10:58 rubenwardy but the others are feature complete 10:58 Fixer rubenwardy: don't forget to ability to update those packs 10:58 rubenwardy yeah 10:58 rubenwardy later :) 10:58 IcyDiamond Do texture packs have a metadata file? Like mod.conf 10:59 rubenwardy no 10:59 rubenwardy unfortunately 10:59 IcyDiamond Aw 10:59 rubenwardy that PR adds one though 10:59 IcyDiamond Yay 10:59 rubenwardy but no texture packs will use them 10:59 IcyDiamond Also, mod.conf should be made mandatory 10:59 IcyDiamond Imo 10:59 rubenwardy which means it's hard to support manually installed TXPs well 10:59 rubenwardy yeah, agreed 11:00 rubenwardy well 11:00 rubenwardy heh 11:00 rubenwardy breaks mods though 11:00 IcyDiamond I mean like, maybe only mandatory if it were to be submitted to the library 11:01 rubenwardy that's not really needed technically 11:01 rubenwardy as the installer will automagically create the .conf 11:01 IcyDiamond Kk 11:01 rubenwardy IcyDiamond: https://github.com/rubenwardy/minetest/blob/a91ecca3f583a50503ac40d4ecd6934bcf65af66/builtin/mainmenu/dlg_contentstore.lua#L46-L72 11:02 IcyDiamond Okay, cool 11:04 Fixer rubenwardy: texture packs do have descriptions 11:04 rubenwardy yes 11:04 IcyDiamond rubenwardy: will the backend be open source 11:04 rubenwardy yes 11:04 IcyDiamond XD 11:04 Fixer file called description.txt 11:04 rubenwardy I know 11:04 rubenwardy that's already supported 11:04 Fixer nice, ty 11:05 IcyDiamond Btw I had a brilliant idea to create a voxel planet engine 11:05 IcyDiamond Still haven't gotten around to it 11:05 IcyDiamond My C++ is bad 11:06 rubenwardy practice! 11:06 rubenwardy :D 11:06 IcyDiamond And don't worry, it won't be called anything *test 11:06 IcyDiamond XD 11:07 IcyDiamond Actually, I already have a repo for it 11:07 IcyDiamond https://github.com/LunaSquee/universium-engine 11:07 IcyDiamond Just that it has nothing to it 11:08 IcyDiamond Don't bother compiling it, it's just a black window 11:08 IcyDiamond :P 11:08 rubenwardy how well do you know shaders? 11:08 IcyDiamond Meh I haven't done enough with them 11:09 rubenwardy :'( 11:09 rubenwardy learn pls? 11:09 IcyDiamond I think I will actually use another engine as a base too 11:09 rubenwardy then become our graphics expert? 11:09 IcyDiamond Like minetest has irrlicht 11:09 IcyDiamond Is irrlicht good to work with? 11:10 rubenwardy the title of "paramat's arch-nemesis" is still up for grabs 11:10 IcyDiamond Lol 11:10 rubenwardy wait no 11:10 rubenwardy as in, making features wise 11:10 rubenwardy \o/ 11:10 rubenwardy and no, it's not 11:10 IcyDiamond Lol 11:10 rubenwardy this game is made with Irrlicht: buildaworld.net 11:10 rubenwardy but they have forked it to add tonnes more features 11:11 IcyDiamond Kk 11:11 LemonFox Hi everyone, is there a way to use client side textures when connecting to a server? 11:11 rubenwardy texture pack? 11:12 IcyDiamond Yeah idk if I ever get around to create the engine 11:12 IcyDiamond I kind of want to spend the summer with my girlfriend this year 11:12 rubenwardy XD 11:12 rubenwardy no, you're not allowed! 11:12 IcyDiamond Wot 11:12 rubenwardy we need fancy shaders! 11:12 IcyDiamond Lol 11:12 LemonFox I want to see my texture pack while being on another persons server 11:12 IcyDiamond No you really don't 11:12 rubenwardy LemonFox: it applies on multiplayer 11:13 rubenwardy just enable it 11:13 rubenwardy you may need to restart 11:13 IcyDiamond There's this game, also a minecraft inspired game, that has so over the top shaders that I hate it 11:13 LemonFox So i put it in the server folder? 11:13 IcyDiamond Terasology or something similar it was called 11:13 rubenwardy terasology? 11:13 rubenwardy lol 11:13 rubenwardy it's in Java and slow 11:14 IcyDiamond A game in java automatically extends class Slow 11:14 rubenwardy this is what I'd love to see in MT: https://www.youtube.com/watch?v=Rkydse1LVX0 11:14 IcyDiamond Cool 11:14 LemonFox tersaology bareley works on my laptop :P minetest 11:14 rubenwardy although I'd prefer a bigger view range 11:15 IcyDiamond I love minetest though 11:15 rubenwardy related: https://github.com/minetest/minetest/issues/7222 11:16 IcyDiamond Minetest modding is my idea of a good time 11:16 IcyDiamond XD 11:16 rubenwardy XD 11:16 rubenwardy keep it up! 11:16 LemonFox how do i use a pack on the client computer when going on a server which is not mine 11:16 IcyDiamond Ayy 11:16 LemonFox how do you enable 11:16 rubenwardy LemonFox: in the main menu 11:17 rubenwardy select a texture pack in the textures tab 11:17 LemonFox okay thanks ill try 11:17 rubenwardy the item that is highlighted will be used 11:17 rubenwardy and you will need to restart 11:17 rubenwardy ha 11:17 IcyDiamond Lol 11:17 rubenwardy IcyDiamond: and also make sure to give feedback on what's missing / makes modding less easy 11:17 rubenwardy except per-item inventory images 11:17 IcyDiamond LOL 11:17 rubenwardy we've received that feedback load and clear ;) 11:17 IcyDiamond NICE SAVE 11:17 IcyDiamond xD 11:18 IcyDiamond Yeah I'll come up with something 11:18 IcyDiamond XD 12:05 IcyDiamond Does minetest have particles? If so, why aren't they used anywhere 12:07 NathanS21 it does have particles, but I don't think anything in minetest_game uses them 12:07 NathanS21 actually I think digging creates particles. 12:07 NathanS21 oh and tnt. 12:08 rubenwardy Correct 12:08 rubenwardy I remember digging particles being added, spectacular 12:14 IcyDiamond ohh right 12:14 IcyDiamond XD 12:18 rubenwardy Every so often I'm like oh shit, how has it been >6 years 12:42 ashtrayoz2 For devs: #7231 is ready for review. Documentation only. 12:43 rubenwardy you should post such stuff in #minetest-dev , ashtrayoz2 12:45 ashtrayoz2 Yes, I should. But nickserv does not like my password, so I don't think I will get voice. 12:45 rubenwardy that's not a moderated channel 12:46 ashtrayoz2 Hmm... so it appears. I must have been thinking of something else - or did it change some time? 12:54 BuilderMT hi is it possible to write text in my terminal (on the server) to apear for all users ingame? 12:55 BuilderMT the server is running as a systemd (or init.d) service 12:56 sfan5 only using a mod 12:56 sfan5 when you run the server in a screen/tmux you could use the --terminal option 12:56 sfan5 but since you're not doing that... 12:59 BuilderMT mh :((( 12:59 BuilderMT sfan5: i wouldn't mind to change how it is running right now ... but not sure to make it right 13:01 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: upright_sprite: Fix texture position for players 13e40ffed https://git.io/vx7dH (152018-04-09T12:58:35Z) 13:01 MinetestBot 02[git] 04minduser00 -> 03minetest/minetest: More readable 13e1bbc7e https://git.io/vx7dQ (152018-04-09T09:02:03Z) 13:01 MinetestBot 02[git] 04minduser00 -> 03minetest/minetest: Fix for translating empty string 13fd247d5 https://git.io/vx7d7 (152018-04-09T09:02:03Z) 13:01 MinetestBot 02[git] 04minduser00 -> 03minetest/minetest: undoing PR changes 1388d091f https://git.io/vx7d5 (152018-04-09T09:02:03Z) 13:01 MinetestBot 02[git] 04minduser00 -> 03minetest/minetest: Fix empty string translation 13be64901 https://git.io/vx7dd (152018-04-09T09:02:03Z) 13:01 MinetestBot 02[git] 04minduser00 -> 03minetest/minetest: Fix for translating empty strings 136257c7f https://git.io/vx7dF (152018-04-09T09:02:03Z) 13:08 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: upright_sprite: Fix texture position for players 13d58801a https://git.io/vx7Fb (152018-04-09T13:06:40Z) 13:08 IcyDiamond um okay 13:09 rdococ ugh 13:09 rdococ I feel il 13:09 rdococ +l 13:09 Krock Some spam every day keeps the serious people away 13:09 IcyDiamond XD 13:10 rdococ Unfortunately, serious people that find spam delicious tend to keep themselves and their closest friends away. 13:11 rdococ Save the spam-eating serious people today. 13:11 IcyDiamond 2018-04-09 13:20:33: WARNING[Main]: invalid use of background without a size[] element 13:11 IcyDiamond where does this come from? 13:11 IcyDiamond i have a lot of it in my logs 13:11 rubenwardy IcyDiamond: a bug lovingly created by me, just ignore it 13:11 rdococ Hm, that looks familiar 13:12 IcyDiamond lol 13:16 Krock rubenwardy, not directly. your feature discovered this issue 13:16 rubenwardy true 13:18 MinetestBot 02[git] 04minduser00 -> 03minetest/minetest: Fix for translating empty strings 139a06d6a https://git.io/vx7bb (152018-04-09T13:13:53Z) 13:28 IcyDiamond rubenwardy: how do you put lists in sfinv 13:28 IcyDiamond like, where do you define the inventory 13:28 rubenwardy what do you mean? 13:29 rubenwardy is this for a tab, or for all tabs with the player inventory at the bottom? 13:29 IcyDiamond for a tab 13:29 IcyDiamond does it take a detached inventory or something? 13:29 rubenwardy no, it can be a player one 13:30 rubenwardy initialise it as usually 13:30 rubenwardy ie: in on_joinplayer 13:30 rubenwardy *usual 13:30 rubenwardy then just use it 13:30 Krock you can use whatever you want as inventory there. just keep in mind that detached inventories can be per-user limited and node inventories are range-limited 13:31 BuilderMT sfinv is still a mod and needs to be added seperatly ... (not part of the main game?!) 13:31 IcyDiamond it is part of the minetest_game 13:31 Krock BuilderMT, apt-get update 13:32 IcyDiamond XD 13:32 Krock it was added to minetest_game some months ago 13:33 Krock some months plus an entire year... Nov 2016 13:33 IcyDiamond lol 13:33 BuilderMT and how can i activate it? or see it? ... because it is empty and no taps shown ... if i am the admin on my server 13:34 rubenwardy if there is only one page, then the tabs will be hidden 13:34 BuilderMT tabs* 13:34 rubenwardy so you need to add more pages, for example by installing sfinv_buttons 13:36 BuilderMT how can i check the version of the apt-package i installed as sever on ubuntu 16.04 13:40 rdococ if I were to create a fork with the intention of using it for pull requests, would it be okay to add my modifications to the master branch of that fork? 13:43 Krock BuilderMT, dpkg -s PACKAGE_NAME shows information which also contains the version 13:46 BuilderMT 0.4.13 13:48 Krock BuilderMT, https://launchpad.net/~minetestdevs/+archive/ubuntu/stable 13:52 BuilderMT mh ... i suppose this is not possible now since i don't have a inet connection ... or better ... a very strict proxy 13:53 BuilderMT i can use only a usb stick :D to transfer files to the server 13:54 BuilderMT so Krock you'd think i rather download it and install it by transferring it with the usb stick? 13:55 Krock bes would be ofc to compile the backport-0.4 branch so it's more up-to-date 13:56 BuilderMT where do i get this? ubuntu 16.04 and a intel cpu 13:58 Krock probably too much effort when you'll have to install the development libraries manually using the USB drive 13:58 Krock download the PPA and transfer that to install. done. 13:59 BuilderMT minetest-server_0.4.16+repack-4_i386.deb <--- this one? 14:08 BuilderMT i get an error edditing the paket minetest-server (--install) 14:13 BuilderMT got it i think 14:25 Markow Good afternoon all! 14:26 Markow Went biking 18 km today, beautiful weather. Stopped by in this little town, Zakliczyn and had a chocolate ice cream: https://pbs.twimg.com/media/DaWMEH7X0AIKjm6.jpg 14:26 Markow Now home relaxing, will tinker with the Advanced Trains Mod on Minetest. :) 14:27 Krock Markow, we're currently keeping the clouds here for your nice weather np. 14:27 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Fix segfault caused by wrong wgettext() 1322ebbe1 https://git.io/vx5f3 (152018-04-09T14:25:57Z) 14:27 Markow Hi Krock ! ;) 14:27 Krock hi Markow 14:28 Markow I'm exhausted, first biking trip I took this Spring season. Warm weather finally showed its face. 14:35 BuilderMT Unit entered failed state -...... Failed with result 'core-dump' 14:35 BuilderMT how can i fix this error starting the minetest-server 0.4.16+repack-4_i386 17:41 * deltasquared pokes around with technic's trace_node_ray() routine 17:41 deltasquared you ever have a moment when you try to figure something out, then someone else comes along and does it like 10x better 17:43 Krock every time I look up on stackoverflow 17:44 deltasquared Krock: yeah but then it's like dafug 17:44 deltasquared whenever it comes to vector mathematics and such anyway 17:44 Krock don't know why but it works 17:45 Krock wait what. vector mathematics aren't that complicated 17:45 Krock it's more or less just mixing algebra with geometry 17:46 deltasquared Krock: yeah but then the simplifications... I'm not very comfortable with the equivalences and such 17:46 deltasquared let's just say it's not exactly my strong area 17:49 deltasquared aaaaand it turns out I'd made a goof anyway... lua's generic for loops make my head hurt 18:47 IcyDiamond deltasquared: ikr 18:47 deltasquared IcyDiamond: wat 18:47 deltasquared is this from earlier 18:47 IcyDiamond I still don't understand the difference between ipairs and pairs 18:47 deltasquared oh, I get *that* 18:47 deltasquared I meant writing custom generators 18:47 IcyDiamond TELL ME 18:47 deltasquared it trips me up at times 18:47 deltasquared IcyDiamond: what, how they work? 18:47 Krock i is by unsigned integers, paris is anything 18:47 Krock *pairs is any type 18:47 IcyDiamond this mystery has been bugging me for years 18:48 deltasquared IcyDiamond: for k, v in pairs(t) do ... end gives you each key in a table-like object. 18:48 deltasquared for i, v in ipairs(t) do ... end only gives you the numerical ones, starting at 1, and i is an index 18:48 IcyDiamond Ohhhhh 18:48 deltasquared so the latter is sorta like a foreach over an array 18:48 IcyDiamond Alright 18:49 IcyDiamond Simple enough 18:49 deltasquared I mean it is right there in the lua manual :P 18:50 * deltasquared realises some people may not have that locally on their system 18:50 deltasquared errr 18:50 IcyDiamond pfft, you think i read manuals? 18:50 IcyDiamond XD 18:50 deltasquared IcyDiamond: I have bound the lua manual to a shell alias, I read it frequently when modding 18:50 IcyDiamond cool 18:50 deltasquared "what happens in $odd_case again?" 18:51 IcyDiamond i just ddg whatever i need 18:51 IcyDiamond still never understood ipairs fsr 18:51 IcyDiamond XD 18:51 Krock > using php capitalistic mark 18:51 deltasquared Krock: what 18:51 IcyDiamond php sucks 18:51 IcyDiamond don't do it kids 18:51 Krock never mind me. also shell is capitalistic $dd 18:52 deltasquared don't tell me how to name my variables damnit! 18:52 deltasquared :P 18:52 Krock use emojis 18:52 IcyDiamond im beginning to think using detached inventories for my mass storage was a horrible idea 18:52 deltasquared that sounds like an easy way to enrage your employer 18:52 deltasquared IcyDiamond: formspec blues? 18:53 IcyDiamond it literally loads thousands of empty stacks into memory 18:53 Krock employer? more like co-workers 18:53 IcyDiamond i need to write my own inventory 18:53 IcyDiamond i guess 18:53 Krock employers be like "does it work? good" "doesn't work? be done in an hour and it must work" 18:53 deltasquared IcyDiamond: you should look into custom streaming them and/or doing the rendering yourself (e.g. inv cubes etc.) 18:53 IcyDiamond the storage disks are kept in memory 18:54 IcyDiamond each disk gets an unique id 18:54 deltasquared globally unique ids, hmm, minor eyebrow raise 18:54 deltasquared I'd have to look at the code to know if that was a problem 18:54 deltasquared I did look at refined storage though, looks useful I guess 18:54 IcyDiamond it probably is tbh 18:55 IcyDiamond i dont feel like giving myself a headache digging through java classes 18:55 deltasquared IcyDiamond: it seems several things you may be doing may be a scalability problem at some point :P 18:55 IcyDiamond indeed 18:55 Krock IcyDiamond, each update in detached inventories will (IIRC) be sent to all clients on the server 18:55 deltasquared bearing in mind at some point I intend to take an axe to technic's node-update-happy nature 18:55 deltasquared oof 18:55 Krock because they're not locally/per-player restricted 18:56 IcyDiamond if i had a big table instead, would that be kept on the server? 18:56 deltasquared well yeah 18:56 Krock yes, but anything which is done directly with the detached inventories (set list, set stack) is sent 18:56 IcyDiamond yeah i think i'll go a custom inventory system 18:57 IcyDiamond btw is there a way to compare item stacks? 18:57 deltasquared bear in mind you will still need a small formspec area as a normal inv in order to allow the drag/drop mechanic 18:57 IcyDiamond like, metadata and everything 18:57 Krock https://github.com/minetest/minetest/blob/master/builtin/game/item_entity.lua#L105 18:57 deltasquared itemstacks have a tostring method IIRC, maybe just do that on both and compare them 18:57 deltasquared (of sorts) 18:58 IcyDiamond oh you can just compare meta like that!? 18:58 deltasquared mmmmmaaaybe 18:58 deltasquared been a while 18:58 deltasquared look it up in the api ;) 18:58 IcyDiamond wow 18:58 deltasquared make the lua_api.txt your friend 18:59 deltasquared even if it doesn't read in a logical order at times >_> 18:59 IcyDiamond https://rubenwardy.com/minetest_modding_book/lua_api.html this is my best friend 18:59 IcyDiamond i always have a browser tab of it 18:59 Krock yes, you can compare them https://github.com/minetest/minetest/blob/master/src/metadata.cpp#L48 18:59 IcyDiamond Krock: awesome! 18:59 Krock tostring will not work correctly if the meta values are in a different order 18:59 deltasquared Krock: dang 19:00 deltasquared I didn't think of that 19:00 Krock ^^ 19:00 IcyDiamond lets see, i need to invent and inventory system 19:00 IcyDiamond XD 19:00 deltasquared indeterminate iteration order strikes again nagdamnit 19:01 Krock get_meta() == get_meta() is quite intensive for large objects, so I wouldn't recommend to call it too often (cache + "dirty" flag eventually) 19:01 deltasquared cache all the things 19:01 rubenwardy it can be fast 19:02 rubenwardy it's O(1) if the sizes are different 19:02 rubenwardy but if it needs to compare everything, then it's slow 19:02 IcyDiamond wait i can just make a class type deal in lua 19:02 deltasquared don't write classes in lua just for the sake of it >_> 19:03 IcyDiamond well i want to keep my :get_size and shizz 19:03 IcyDiamond XD 19:03 deltasquared that's an interface and a constructor, doesn't make it a class per se :P 19:03 rubenwardy classes are great! 19:03 IcyDiamond ok w/e 19:04 deltasquared function mk_counter() local count = 0 return { count = function() local i = count count = i + 1 return count end } end 19:04 deltasquared lambdas are magic 19:05 deltasquared errr closures rather 19:09 Krock pointers are great! 19:09 deltasquared they're also dangerous. :P 19:09 deltasquared I may not do engine dev but I do C++... raw pointers are to be avoided like the plague 19:10 Krock I don't see much of a problem there as long they're initialized correctly 19:11 Krock (* and free'd) 19:11 deltasquared Krock: it's more that they don't always convey what's happening with them 19:11 ThomasMonroe I prefer std::unique_ptrs 19:11 deltasquared ThomasMonroe: +1 19:11 deltasquared Krock: it's the "don't make mistakes" part which someone will inevitably fail at some point 19:11 ThomasMonroe now..if I have an array or vector of pointers, I'll use raw ptrs 19:12 ThomasMonroe such as std::vector 19:12 deltasquared what's up with std::vector>? (especially if the vec objects are heap allocated) 19:12 Krock only in a local/function scope 19:13 deltasquared IcyDiamond: you've gone quiet, watching with popcorn yet? :P 19:13 IcyDiamond ? 19:13 IcyDiamond im coding 19:15 * deltasquared thinks up a way to do a tron disc weapon 19:15 deltasquared inb4 disney cease and desist 19:16 * deltasquared counts the number of things which would get him in trouble if he released them... probably 19:16 * rubenwardy sighs https://forum.minetest.net/viewtopic.php?f=53&t=19942 19:16 deltasquared hmm... I recall nicking the redstone dust item palette 19:16 deltasquared rubenwardy: deep breaths :P 19:17 deltasquared though I am curious how one would do the HUD thing client side, would the fix just not be trying to use register_on_joinplayer which evidently doesn't make sense client side 19:18 rubenwardy yes 19:18 rubenwardy and also doing HUD client side is a 0.5.0-dev feature 19:20 deltasquared all the good stuff seems to be in -dev atm :P 19:20 rubenwardy that's what happens when there's a year between releases 19:20 rubenwardy and also hard work 19:21 rubenwardy bas080 o/ 20:36 AndroBuilder_ Krock: hey how do i compile the server out of the backport 0.4 and will it work with all 0.4.16 clients? 20:36 AndroBuilder_ git clone https://github.com/minetest/minetest/tree/backport-0.4 ? 20:43 sfan5 AndroBuilder_: git clone https://github.com/minetest/minetest -b backport-0.4 20:43 sfan5 and yes 20:45 AndroBuilder_ great sfan5 thanks :) 20:47 AndroBuilder_ sfan5: do i also need to download / clone minetest_games ? if i need it as server? 20:51 sfan5 yes 20:51 sfan5 note that there's a backport branch for mtg too 20:53 AndroBuilder_ ah ? :D link? :D 20:54 sfan5 https://github.com/minetest/minetest_game/tree/backport-0.4 20:55 Krock looks like my help isn't required anymore now that I read it 20:55 Krock !next 20:55 MinetestBot Another satisfied customer. Next! 20:55 AndroBuilder_ :D ... lol 20:55 AndroBuilder_ not working 20:55 AndroBuilder_ git clone https://github.com/minetest/minetest_game/tree/backport-0.4 20:55 AndroBuilder_ not found 20:56 IcyDiamond <@sfan5> AndroBuilder_: git clone https://github.com/minetest/minetest -b backport-0.4 20:56 IcyDiamond Wait what 20:56 sfan5 AndroBuilder_: you need the same -b syntax as above 20:56 AndroBuilder_ ? confused ... the compile tutorial in wiki tells to clone minetest ... and afterwards ... the minetest-game 20:57 AndroBuilder_ git clone https://github.com/minetest/minetest_game/tree/backport-0.4 20:57 IcyDiamond AndroBuilder_: git clone https://github.com/minetest/minetest_game -b backport-0.4 20:57 AndroBuilder_ git clone https://github.com/minetest/minetest_game -b backport-0.4 20:57 Krock no. same thing again ^ 20:57 IcyDiamond Do that 20:57 Krock occasional --depth 1 if you don't need the history 20:58 Krock if that URL doesn't work, add '.git' 20:58 sfan5 AndroBuilder_: also if just need it on a server use this instead: 20:58 sfan5 https://forum.minetest.net/viewtopic.php?f=3&t=19599&p=311160#p311160 20:58 AndroBuilder_ ok did the cmake and make as written in dev.minetest 21:01 AndroBuilder_ may i ask what the difference is between http://dev.minetest.net/Compiling_Minetest this and your link ??? one is for server only? 21:01 sfan5 yes 21:01 AndroBuilder_ but what does this change? since the server is also in the client 21:01 sfan5 you install lots of graphical packages on your server 21:01 sfan5 most people don't mind 21:03 AndroBuilder_ ok ... i compile it myself because the "build in" mtserver in ubuntu confused me big time ... it was started as a service and i din't figure out where to put the mods conf-file and so on ... really confusing 21:05 AndroBuilder_ sfan5: this is great ... perfect script ... do you also have a script for .... start MT server on boot without user logging in ... and restarting the server if it crashes? ^^ 21:05 sfan5 you'd use systemd for that 21:06 AndroBuilder_ i know i found it some place in google last time i struggled but so far didn't find it again but i could add this to your post since that is what most will need also 21:07 sfan5 you can just write it yourself 21:07 sfan5 google "systemd unit file" 21:14 AndroBuilder_ great i think i got this ... and then i need to register this unit file in the boot-... ? 21:23 sfan5 you need to put it into /etc/systemd/system 21:25 AndroBuilder_ did this 21:27 sofar https://gist.github.com/sofar/44bec5c35eb4ca996abd 21:28 sofar AndroBuilder_: if you need a systemd unit file for minetest ^^ 21:30 AndroBuilder_ why do i need a "@" in the filename 21:35 sfan5 you don't need it and you probably don't want it for small single-server installs (simplicitly) 21:36 AndroBuilder_ ok what is it for? 21:52 sofar so you could run multiple minetest servers on the same host 21:52 sofar you would do `sudo systemctl enable minetest@world_a` to make the minetest world_a start automatically 21:53 sofar of course, you'd need to make sure the port settings for servers doesn't conflict 21:54 AndroBuilder_ ok 21:54 AndroBuilder_ thanks for the explanation 22:34 AndroBuilder_ https://pastebin.com/k9KyS4uF what is wrong with this systemd file? 22:35 AndroBuilder_ the service is active[exited] ... and don't know what is wrong 22:35 AndroBuilder_ maybe something with directory not found but not sure if this is the error 22:35 AndroBuilder_ all dir. are existing 22:36 AndroBuilder_ https://pastebin.com/GAD7jDJC (with the service status)