Minetest logo

IRC log for #minetest, 2017-04-20

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

All times shown according to UTC.

Time Nick Message
00:28 Pie-jacker875 joined #minetest
00:45 benrob0329 Anyone have a suggestion for a mapgen mod I could showcase in a cinematic video?
00:59 Avix_G joined #minetest
01:01 Avix_G I wish there was a way to force the area within 500 m of spawn to be habitable.
01:01 Avix_G I'm sick of spawning in glaciers in the middle of nowhere.
01:08 PsychoVision joined #minetest
01:23 Tmanyo joined #minetest
01:32 OldCoder Avix_G, thy wish shall be granted
01:32 OldCoder If it is your heart's desire
01:32 OldCoder <- MT Genie
01:33 OldCoder benrob0329, how about the one in Mandelbox ?
01:33 OldCoder That is pretty unusual
01:33 Avix_G Change the player character to a robot. Problem solved.
01:33 VanessaE Avix_G: easily done - on spawn, search a 500m radius around the spawn point for dirt-with-grass, when found, search around that node for more, if you find at least a count of say 30 nodes, you can call it habitable.
01:33 OldCoder Hm? You mean an indestructible robot?
01:34 OldCoder VanessaE, u took da words outta my mouth
01:34 * OldCoder has a spawn mod that does this *already*
01:34 OldCoder Except for the habitable part
01:34 OldCoder It mostly looks for something solid right now
01:38 RichardTheTurd joined #minetest
01:38 benrob0329 http://imgur.com/a/YcxDb
01:38 benrob0329 Dark forum theme :D
01:39 VanessaE ew.
01:39 VanessaE what is this obsession with dark themes?!
01:39 Avix_G Dark themes save electricity.
01:42 nore Avix_G: wrong, a black pixel uses more electricity as a white one
01:44 benrob0329 Dark is easier on the eyes imo
01:49 OldCoder Dark is a lark
01:49 OldCoder Dark is a wark in the park
01:50 OldCoder Dark is night which requires, um, eyesight
01:50 * OldCoder puts this one on hold
01:50 OldCoder
01:50 VanessaE Avix_G: only on OLED displays.
01:50 VanessaE and on some LCDs with variable backlighting
01:50 VanessaE (rare)
01:59 Hawk777 joined #minetest
02:06 DI3HARD139 talking about power consumption between dark and light colors/contrasts?
02:16 ThomasMonroe joined #minetest
02:41 cheapie VanessaE: And CRTs (barely) :P
02:45 thePalindrome joined #minetest
02:50 Elench joined #minetest
02:53 ssieb joined #minetest
03:13 Enkidu joined #minetest
03:14 Enkidu Lo! Can anyone advise how to enable creative mode on one of several worlds on a server?
03:15 sofar my solution has been to create a minetest.conf PER server in the world folder
03:15 sofar that way you are sure you don't accidentally use the settings from one server on the other
03:16 sofar /usr/local/bin/minetestserver --world . --config minetest.conf
03:16 sofar and then run it like that, in the world folder
03:16 Enkidu Mmm. Thanks sofar. I didn't know you could put a minetest.conf in a world folder. I tried setting it in world.mt, but that didn't work.
03:17 sofar no, that's a special file for other things
03:18 Enkidu OK. It has a line (generated the first time you start a world) that says "creative_mode false".
03:18 OldCoder Enkidu, 1st, prize awarded for nick
03:18 OldCoder 2nd, you must use command line option switch
03:19 OldCoder as sofar indicated
03:19 OldCoder then .conf file can go anywhere
03:19 sofar just change it to = true
03:19 OldCoder Seriously, 1 person in 10,000 knows who Enkidu is
03:19 OldCoder Unless there is an anime about him these days
03:19 OldCoder Hm, that is probably true
03:19 Enkidu Huh? realname = cliff, but I've had a nick in various places of Enkidu for decades.
03:19 OldCoder I know
03:20 OldCoder Point is, Enkidu used to be a very little known character
03:20 OldCoder Um, I assume you know the genesis of the character
03:20 Enkidu You must have met my mate Gilgamesh though?
03:20 OldCoder :D
03:20 OldCoder The 1st superhero
03:21 Enkidu Gotta go, thanks chaps and chapesses.
03:21 OldCoder o/
03:37 xSmurf joined #minetest
03:44 benrob0329 joined #minetest
03:45 MinetestBot [git] juhdanad -> minetest/minetest: Light update for map blocks 57e5aa6 https://git.io/vSjUy (2017-04-20T03:39:14Z)
03:45 MinetestBot [git] juhdanad -> minetest/minetest: Split light update into two parts 6d1e6f8 https://git.io/vSjUS (2017-04-20T03:31:50Z)
04:11 AlexYst joined #minetest
04:13 MinetestBot [git] Ekdohibs -> minetest/minetest: Run generate_from_settingtypes.lua de5ecc9 https://git.io/vSjkL (2017-04-20T04:06:15Z)
04:23 Freejack joined #minetest
04:30 LazyJ joined #minetest
04:53 kimitux joined #minetest
05:41 lumidify joined #minetest
06:02 passant joined #minetest
06:04 Taose joined #minetest
06:22 benrob0329 joined #minetest
06:26 ploop joined #minetest
06:34 aheinecke joined #minetest
06:45 CWz joined #minetest
06:48 Hawk777 joined #minetest
07:29 ensonic joined #minetest
07:45 ensonic joined #minetest
07:58 juli joined #minetest
08:02 Elench joined #minetest
08:03 juli hi all, hi MinetestBot :)
08:06 Calinou hi
08:08 PureTryOut[m] why does everyone here greet a bot?
08:08 cx384 joined #minetest
08:08 Elench Because synthetic users are our friends too
08:08 cx384 hi o/
08:09 juli lol just kidding :)
08:14 Markow joined #minetest
08:16 YuGiOhJCJ joined #minetest
08:18 Lunatrius joined #minetest
08:36 Blo0D joined #minetest
08:38 Lunatrius joined #minetest
08:47 Lunatrius joined #minetest
08:48 JamesTait joined #minetest
08:51 JamesTait Good morning all! Happy Thursday, and happy Volunteer Recognition Day! 😃  ðŸ™Œ
08:52 Markow Cleaning "Linux" house: Just updated to Google Chrome Version 59.0.3071.9 (Official Build) dev (64-bit), released two days ago.  ;)
09:11 DS-minetest joined #minetest
09:11 DS-minetest hi MinetestBot
09:11 MinetestBot Hey DS-minetest
09:16 Szkodnix joined #minetest
09:21 opal_ joined #minetest
09:28 rdococ ih
09:28 rdococ DS-minetest, what nodes would you like to see in a mod?
09:28 rdococ on a slightly unrelated topic, do you welcome the idea of minetest on DS? :P
09:36 PureTryOut[m] I know there is a really basic version of Minecraft for the DS (DScraft). Minetest on there would be quite awesome lol=
09:38 rdococ better yet: 3ds
09:38 PureTryOut[m] meh. it's more amazing if you get it to work on a regular DS. less performance and shit, only a few MB memory
09:39 PureTryOut[m] I got Linux running on my DS 😃
09:40 rdococ yes
09:40 rdococ but with a 3ds you get to see everything in glorious 3d
09:42 rdococ hm.
09:42 rdococ how would I write stuff to a file?
09:42 * rdococ wonders if water retains metadata when it changes level
09:45 rdococ interesting
09:45 rdococ it seems so
09:45 rdococ I'll just use that then
09:53 rdococ hm
09:53 rdococ does minetest.get_node(pos) contain metadata?
09:56 DS-minetest rdococ: use io.open and co. to open a file and read/write
09:56 rdococ k
09:56 * DS-minetest is too stupid to have a good name
09:56 rdococ DS-minetest: is there a way to change a node's param2 without clearing its metadata?
09:57 DS-minetest minetest.swap_node()?
09:57 DS-minetest bye for now o/
09:59 Elench joined #minetest
10:00 Elench joined #minetest
10:23 juli joined #minetest
10:32 Darcidride joined #minetest
10:44 Blo0D joined #minetest
10:45 wilkgr joined #minetest
10:47 proller joined #minetest
10:48 Calinou Markow: I'm on Chromium personally, have been so since 2012, even on Windows
10:48 Calinou http://chromium.woolyss.com/ provides Windows and macOS builds (and also Linux)
10:48 Calinou this guy is basically doing what Google should have been doing :P
10:48 Markow ;)
10:48 Fixer joined #minetest
10:49 Markow I'm quite happy w/ Chrome, despite the system resources it uses
10:50 juli i use QupZilla ;) :P
10:50 Markow I download the rpm from here http://www.chromium.org/getting-involved/dev-channel , and then I unpack the rpm and do a custom install, setting permissions for certain files in the .config
10:50 Calinou Chromium is basically the same thing, minus spying stuff
10:51 Markow yes
10:51 Calinou (and you can build it yourself)
10:51 juli :) compile it yourself!
10:51 Markow I alway compile my own Linux Kernels, the latest RCs
10:51 juli and the other programs?
10:51 juli :)
10:51 Markow Most others as well
10:52 Markow Hexchat too ;)
10:52 Markow from source
10:52 juli ok good! i have atm all self compiled :)
10:52 Markow I'll have to try out QupZilla, never have, yet. Is it light?
10:52 juli yes its light
10:53 juli but it has maybe not so many features chrome has
10:53 juli which i don't need
10:54 Markow Because my entire Linux system is as lightest, fastest as they get (OpenBox + Tint + ROX) with the exception of Chrome of course
10:55 Markow Ah, QupZilla is coded in C++, nice!
10:55 juli yes i do that too because my pc is old
10:55 juli (1,8*2 GHz)
10:56 juli so i use i3wm for example
10:56 Markow That's a good WM as well
10:56 juli and vim :)
10:56 Markow What's your panel (if you have one)?
10:57 juli i3status bar only ...
10:57 Markow If you don't have one, check out Tint2, truly awesome
10:57 juli i have many shortcuts
10:57 DS-minetest joined #minetest
10:57 juli and for start programs i use dmenu
10:57 juli or terminal
10:58 wilkgr left #minetest
10:58 Markow Here is my Linux rig:   http://i.imgur.com/1cKbAQo.jpg
10:59 Markow My start menu is basically the OpenBox menu integrated with Tint2, on a customized icon
10:59 Markow This is lighter (and with eye-candy) than both LXDE or XFCE
11:01 juli ok
11:01 juli my system has no eye-candy :)
11:02 Markow For wallpaper, movable/clickable icons and folders, ROX-Filer provides that capability on OpenBox
11:02 Markow Although I could use pcmanfm
11:04 cx384 joined #minetest
11:04 juli "feh" for wallpaper :)
11:05 juli without icons on desktop :)
11:06 Markow Yes, feh is good too!
11:07 Markow But no icons or folders, which is why I use ROX, it provides it all (and very light)
11:07 juli ok
11:07 juli i don't like icons on desktop
11:08 Markow It's only good for those very "essential" apps or games, lol
11:08 Markow I must make a shortcut for Minetest
11:11 Markow juli: What's your main distro?
11:17 passant joined #minetest
11:20 proller joined #minetest
11:21 Calinou compiling Chromium from source on a good PC takes 4 to 6 hours, IIRC
11:21 Calinou on Windows, you need about 50 GB of spare disk space
11:23 rdococ what about a bad one?
11:24 Markow 4 to 6 hours? That's quite long. My Linux Kernel takes only 1 hour 50 minutes on a 2.20 GHz dual-core CPU
11:25 juli joined #minetest
11:26 nowhere_man joined #minetest
11:26 Calinou Chromium is not huge
11:26 Calinou it's gigantic
11:26 Calinou like Firefox or LibreOffice
11:27 Markow Must contain tons of source. Never realized more than the Kernel itself.
11:27 Fixer_ joined #minetest
11:29 proller joined #minetest
11:29 nixfloyd joined #minetest
11:29 juli @Markow my main distro is gentoo linux ( x86_64 Linux 4.4.39-gentoo)
11:30 Markow juli: Good distro! But upgrade that kernel! ;)
11:33 juli yes i know i have to upgrade it
11:34 Calinou 4.9.22-1-MANJARO here
11:34 Calinou (I'm staying on LTS, it works fine for me on both desktop and laptop)
11:36 juli i have also vanilla-4.9 or so installed but don't run it atm
11:36 juli no 4.10.1 :)
11:37 ThomasMonroe joined #minetest
11:39 Markow 4.9 is being in good territory ;)
11:39 juli yeah have atm no time to set my kernel up well
11:39 juli and 4.4.39 works too
11:40 Markow I'm currently on: 4.10.5-git-034612e, but, compiling at this moment latest 4.11-rc7 from git.
11:40 Markow Now that I have the latest Nvidia driver patch, I can finally proceed to 4.11
11:41 Markow Nouveau (Open Source) is really horrible. It's only good for viewing text, really.
11:42 Markow I use openSUSE btw
11:43 Markow Calinou: Manjaro is an ArchLinux fork, right?
11:49 Calinou yes, https://manjaro.org/
11:49 Calinou I'm using it with KDE
11:49 Calinou probably one of the best distros I've used
11:49 Markow Nvidia renders Minetest very nicely compared to any of the integrated GPUs with Open Source drivers
11:50 juli KDE is more leightweigth then Gnome ... :)
11:50 Calinou not really, but KDE is far more configurable
11:50 rom1504 than is more lightweight than then
11:50 Markow I used Arch prior to settling down with openSUSE, very good distro as well
11:50 Calinou Markow: Intel works ok for Minetest, on recent IGPs, however there is no downsampling of Minetest possible yet
11:50 Calinou (crude undersampling was added to Minetest Git, but it's not filtered, thus really ugly)
11:50 Calinou my laptop has a 4K display, so I need to play Minetest in 3840×2160, which is dog slow on an Intel HD 620
11:51 Calinou on 1920×1080 it'd be just fine
11:51 juli @Calinou i tested it, u can configure more on KDE but its still faster
11:51 juli and other peoples said the same
11:51 Calinou I'm using 6 GB out of 32 GB of RAM currently
11:52 Calinou playing Quake Epsilon, it's using 2.5 GB of RAM, those HD textures take up a lot of space
11:52 Markow Calinou: KDE is faster than Gnome, true. If you want lightning fast, try the setup I have, it's simple and attractive as well.
11:52 Calinou Xfce was cool, but it failed to adapt to modern trends, like, it's still on GTK+2 so hiDPI support is very much half-assed
11:52 Calinou and hiDPI is a necessity on my laptop
11:52 Calinou Qt 5 is the new cool thing ;)
11:52 juli yes
11:52 Markow 32 GB RAM is a nice convenience :)
11:53 juli i can program PyQt5 :)
11:53 Markow QT 5 is great
11:53 juli programmed a strategic game with it already :)
11:54 Calinou my laptop has 16 GB, my desktop 32 GB
11:55 Calinou I've never used more than 16 GB on my desktop though…
11:55 Calinou maybe 20 GB once
11:55 Calinou Qt is nice, but it's hard to use compared to Electron, I find
11:55 Calinou if you want to use it fully, you have to use C++, with all the downsides
11:55 Calinou sure, C++ is very fast, but it's not convenient to develop in
11:56 Markow C++ for gaming is essential though, nothing better than it.
11:57 juli yes its turn based
11:57 Calinou sure, but not every application is a game
11:57 juli so it don't have to be fast
11:57 Markow I was glad to see that the devs at MAME moved their source code from C to C++
11:57 juli and its 2D not 3d
11:58 Calinou http://www.moddb.com/mods/quake-epsilon-build
11:58 Markow MAME is still going strong today, unbelievable
11:58 Calinou this thing can put quite a bit of strain on your PC
11:58 Calinou my previous PC (GTX 570) had a lot of trouble running it smoothly at Ultra settings
11:58 Calinou now on my GTX 1080, I can run it in 2560×1440, Ultra+ (Ultra with some other settings bumped up), mostly smoothly
11:59 Markow Calinou: That looks awesome, thanks for that link! I mus try it.
11:59 Markow It's a resource eater though?
12:00 Calinou Markow: yes, but you can choose between 4 graphics presets
12:00 Calinou it has Windows/macOS/Linux support
12:00 Calinou Low preset should work well on Intel integrated, if you have a recent dedicated GPU, try other presets, the default is High
12:00 Markow I'll probably utilize the lowest graphics setting given my Nvidia card, CPU, RAM
12:01 Markow Is there a squirmish mode in that Quake?
12:02 Markow For multiplayer?
12:02 Calinou Quake Epsilon is based on DarkPlaces, which can connect to NetQuake and QuakeWorld servers, however it's not the best fit
12:02 Calinou if you want to play multiplayer Quake, a better bet is http://nquake.com
12:02 Calinou it's not as good looking but its server browser is much better
12:02 Calinou it's multiplayer-oriented, unlike Quake Epsilon
12:04 Markow I still wish Medal of Honor: Allied Assault came out for Linux / Steam, would be nice ;)
12:06 Markow Another classic I enjoy is Command & Conquer, Steam needs that on Linux as well
12:06 Calinou GTA V on Linux please :P
12:06 Markow hehe
12:06 Calinou someone got it to run via WINE, but he was lucky
12:07 Markow Wine is often a trial & error journey
12:07 Calinou https://bugs.winehq.org/attachment.cgi?id=57527
12:07 Calinou https://bugs.winehq.org/show_bug.cgi?id=42330
12:11 Jordach joined #minetest
12:29 nowhere_man joined #minetest
12:31 Blo0D joined #minetest
12:32 Not_a_Robot joined #minetest
12:51 rdococ do I have to os.execute("mkdir " .. minetest.get_worldpath() .. "/finitewater") to create a file?
12:54 DS-minetest try io.open(filename ,"a")
12:54 DS-minetest https://www.lua.org/manual/5.1/manual.html#pdf-io.open
12:55 Speedstre314 hi DS
12:55 DS-minetest hi Speedstre314
12:56 Speedstre314 im Thomas
12:56 Speedstre314 this is one of my ingame usernames
12:57 DS-minetest Speedstre314: u have so many names
12:57 Speedstre314 ik
12:57 DS-minetest rdococ: does it work with io.open?
12:58 rdococ nvm
12:58 rdococ turns out I might not have to use files
12:58 CWz joined #minetest
12:58 DS-minetest rdococ: what r u doing?
12:59 rdococ trying to create laggy finite water again
13:00 DS-minetest rdococ: could you make that also in glass? it would be nice tanks
13:02 rdococ I don't see why you couldn't put it in tanks, I guess
13:03 Pie-jacker875 joined #minetest
13:05 rdococ okay
13:05 rdococ so wait
13:05 rdococ hm
13:06 rdococ hm
13:08 rdococ okay
13:08 rdococ so as a water flowing node that isn't falling, you should decrease your level if there are any spreadables.
13:09 rdococ yes?
13:09 rdococ spreadables include floodable nodes on the same level as you.
13:10 rdococ and liquid nodes that have a level at least 2 lower than yours.
13:12 Menche joined #minetest
13:13 Taoki joined #minetest
13:18 alt joined #minetest
13:23 sfan5 rdococ: btw mkdir creates directories not files
13:23 sfan5 and minetest has a builtin helper function for mkdir
13:42 rdococ ah
13:42 Allonphone joined #minetest
13:42 rdococ I forgot
13:42 rdococ allon!
13:42 rdococ :P
13:42 rdococ I'm retrying my finite water fork today
13:43 Allonphone Hello
13:43 rdococ and wishing there was a lua setting for disabling default water physics
13:45 DS-minetest hm, rdococ can you unregister all liquids and alias them with something else?
13:46 DS-minetest well, overriding would make more sense >_<
13:46 rdococ I still want them to look like liquids though
13:46 rdococ wonder if I could override their speed to 0
13:52 rdococ anyway, my newest finite water fork is getting some success
14:00 rdococ hm
14:00 rdococ I wonder if I should alias source water to flowing water
14:00 rdococ in my fork
14:28 benrob0329 joined #minetest
14:37 Tux[Qyou] joined #minetest
14:38 proller joined #minetest
14:40 PsychoVision joined #minetest
14:41 jacky___ joined #minetest
14:41 jacky___ Hi everybody, i need some help about ncurses usage, especially for authentication server side to interract with minetest server
14:52 sfan5 the minetestserver ncurses terminal uses whatever username you have set as "name" in minetest.conf afaik
14:54 Keeton joined #minetest
14:55 Keeton Ello
14:59 jacky___ query sfan5
14:59 jacky___ oops
15:00 sfan5 jacky___: just ask your question in here and don't pm me
15:01 Keeton So what  goes on here
15:01 sfan5 not much
15:01 Keeton Sweet
15:02 jacky___ ok sfan5, so the server say to me : [Server] Please log in using the client as 'Jacky' with a secure password, but i'm at server side (a script)
15:03 jacky___ i want to use --name and --password as in wiki, but the commands are not available
15:03 octacian joined #minetest
15:04 sfan5 those are client-only
15:05 jacky___ ok and is there a solution to login server side to interract with it ?
15:05 jacky___ like in a script to launch and shutdown server by script
15:06 sfan5 dunno
15:08 jacky___ ok thanks sfan5
15:09 Paul27 joined #minetest
15:09 Paul27 Hello
15:10 Paul27 What does core.register_on_damage_taken(function(hp) do?
15:10 proller joined #minetest
15:10 Alcyone2 joined #minetest
15:13 sfan5 have you looked in the documentation
15:14 Paul27 What documentation?
15:14 sfan5 https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
15:19 jacky___ sfan5, Are there any scripts (shell like) to start / stop a minetest server properly, I can not find any at the moment
15:19 proller joined #minetest
15:22 Keeton joined #minetest
15:32 Wuzzy joined #minetest
15:33 Keeton does anyone have any tips on building a modern house?
15:34 Paul27 Hello Wuzzy
15:43 juli joined #minetest
15:45 OldCoder jacky___, many
15:49 leo__ joined #minetest
15:50 jacky___ OldCoder, so have you a good sample for me please ?
15:50 OldCoder jacky___, It depends. Are you using Windows? Or Linux?
15:50 jacky___ a debian server with multi server on it
15:50 OldCoder Wait, then
15:52 OldCoder First, an example that is not directly usable, it is intended to show roughly what I do:
15:52 OldCoder http://minetest.org/start1.txt
15:52 OldCoder This will illustrate some principles
15:53 OldCoder Actually, jacky___, are you willing to join #minetest-project for this?
15:53 jacky___ yes Oldcoder it's possible
15:54 OldCoder Join that channel, then
15:54 OldCoder #minetest-project
15:54 OldCoder jacky___, I need to rest shortly; if you like, join now
15:55 jacky___ Oldcoder, i must to go outside i will back later so my mail dr.jack@free.fr
15:56 OldCoder Ttyl
15:56 OldCoder Dr
15:56 jacky___ see you soon
15:58 Speedstre314 Wuzzy im going to start work on the REDSTONE ok?
15:58 Wuzzy lol of course :D
15:58 ThomasMonroe ^ thats me
15:58 Wuzzy you need no ones permission XD
15:58 ThomasMonroe im going to use the mesecons wires.lua a a jumping point
15:59 ThomasMonroe i wasnt asking permission
15:59 ThomasMonroe lol
16:00 XtremeHacker joined #minetest
16:00 OldCoder XtremeHacker, you are backer
16:02 Wuzzy ThomasMonroe: Any idea on how you are going to do the wires? esp. power levels? just curious. :)
16:03 ThomasMonroe im going to use metadata to define the powerlevel
16:04 Krock joined #minetest
16:05 ThomasMonroe and im also going to use the mesecons wires.lua to help with the functions that run the wires
16:05 ThomasMonroe hey KRock
16:05 ThomasMonroe Krock*
16:05 Krock hi ThomasMonroe
16:05 Krock autocomplete does it :P
16:05 Paul27 Bye
16:05 Paul27 left #minetest
16:06 Szkod joined #minetest
16:07 cx384 How can I convert a userdata to string?
16:07 Tux[Qyou] joined #minetest
16:08 Krock well, tostring(thing_here) but that only will give you "userdata"
16:08 Krock you'd have to get each property and put it into a table
16:08 cx384 I want to save an inventory for a item.
16:08 cx384 Krock, really?
16:09 Krock well, there's to_table sometimes
16:09 Krock or serialize functions
16:09 cx384 both don't woke.
16:09 kaeza joined #minetest
16:10 kaeza greetings
16:10 cx384 hi o/
16:10 Krock hi kaeza
16:19 ensonic joined #minetest
16:20 IhrFussel joined #minetest
16:21 IhrFussel Will clients only load textures, models and sounds data from a mod? Or will they load other files as well (like screenshots)?
16:22 IhrFussel I'm guessing they will only load what's inside the register functions of the mod so if I comment the function out they should ignore all texture/model/sounds defined in that function..correct?
16:26 Tux[Qyou] joined #minetest
16:30 Calinou IhrFussel: if a file is never used on a server mod, it won't be served to clients
16:32 IhrFussel Calinou, so if I have a file data.lua that contains a register function and I comment it out in init.lua I can be sure that the clients will never load the textures,models,sounds defined in that particular file?
16:33 Calinou yes, probably
16:33 Calinou I can't guarantee it, but I think that if it's not registered, it should not be sent to clients
16:33 Calinou both the definition and media
16:34 Keeton joined #minetest
16:35 Keeton joined #minetest
16:45 Tux[Qyou] joined #minetest
16:46 Leoneof joined #minetest
16:46 Leoneof hello
16:48 juli hi
16:48 Leoneof whats up
16:49 juli idk
16:49 Leoneof why i am here? O_o
16:49 fireglow wtf
16:50 juli LOL
16:51 Leoneof how's minetest? still good or bad?
16:51 Keeton Amazing
16:51 Keeton The only issue I have with it is the weather
16:51 Keeton Not enough rain lol
16:52 Leoneof lol
16:52 Leoneof tell devs to increase rains++
16:53 Keeton Yea but I dont wanna pesture everybody
16:53 Keeton It'd be nice to have small rain showers
16:53 Leoneof if i were you, i would not let devs to sleep till they fix my problem
16:53 Leoneof :]
16:53 Keeton Ha
16:53 Keeton I have enough to work on meself
16:53 Keeton Got a modern house
16:53 Keeton and a model of the titanic
16:54 Keeton its lit
16:54 juli minetest is still very good and it becomes better everytime :D
16:54 Leoneof is there zombies, cows...etc?
16:54 Hijiri no
16:55 Keeton Yea
16:55 Hijiri except in mods
16:55 Keeton A mod called cme added zombies
16:55 Leoneof >:(
16:55 Keeton and another mod added a variant of a cow
16:57 Tux[Qyou] joined #minetest
16:57 rdococ is there cheese?
16:57 Keeton No i dont think so
16:57 benrob0329 Throw the CHEEEEDE!!
16:57 rdococ aw
16:57 rdococ CHEEEEEEEEEEEEEEEEEEEEEESE
16:57 rdococ CHESE
16:57 rdococ CHESE
16:57 rdococ did someone say cheese?
16:58 rdococ CHEESE!
16:58 benrob0329 No, I saud ceade
16:58 rdococ oh
16:58 rdococ wait
16:58 rdococ you said CHEEEEDE!
16:58 benrob0329 Becas I bad ay typing on ma phine
16:58 Keeton Hey would yall be interested in trying out one of my worlds
16:59 benrob0329 Sure, post it on the forum
16:59 Calinou hi Leoneof, long time no see
16:59 Calinou also hi benrob0329
16:59 Keeton Well its not ready yet
16:59 Keeton ill upload it onto the forum at like 2 or 2:30
17:00 Leoneof Calinou: thanks, still using kde? :]
17:00 Keeton itll be called modernhouse or something like that
17:00 juli @Leoneof u can get Zombies and cows etc with mods smply
17:01 Keeton Anybody played a game called Survivalcraft?
17:01 Keeton its pc and mobile.
17:01 Leoneof juli: thanks, i don't like zombies, they are scary O_O
17:01 PsychoVision joined #minetest
17:02 juli but cows? :)
17:02 juli u can get also aliens
17:02 ensonic joined #minetest
17:02 Krock cows are scary monsters too
17:02 Leoneof juli: but it is ok to play resident evil :D
17:02 juli or dragosn + trolls
17:02 ThomasMonroe how do i fix this error: 2017-04-20 12:01:38: ERROR[Main]: ModError: Mod security: Blocked attempted read from /home/tre/Documents/minetest/bin/../mods/rubystonemesecons/settings.lua
17:02 juli wait
17:02 Calinou Leoneof: yeah
17:03 Calinou every time I use Linux, I'm on KDE now :P
17:03 Krock secure.trusted_mods -> add ",rubystonemesecons"  <- ThomasMonroe
17:03 Krock or use functions that aren't blocked
17:03 Leoneof Calinou: good luck, i'm on windowz :D
17:03 ThomasMonroe where is secure.trusted_mods??
17:04 Krock ThomasMonroe, minetest.conf setting
17:04 juli quote:
17:04 juli But the following things shouldn't work:
17:04 juli Using some insecure functions like require(), os.execute(), or debug.getlocal().
17:04 juli Running compiled Lua bytecode.
17:05 juli oh no thats wrong lol
17:05 DS-minetest ThomasMonroe: suggestion: use param2 to show the power lvl of a wire
17:06 ThomasMonroe thats what VE said, i misspoke DS sorry,  thats what i meant to say
17:06 juli @Leoneof kill the bad Windoof (we say in germany windoof for windows)
17:06 juli :P
17:06 Krock juli, http://www.windoof.org/
17:07 juli but some kde things u can get also for windoof
17:08 ThomasMonroe brb gtg eat lunch
17:09 juli @Krock whats that? :)
17:09 Krock juli, that's M$ Windoof
17:10 juli lol i see
17:10 juli Linux wird nie das meistinstallierte Betriebssystem sein. Bedenken Sie nur, wie oft man Windows neu installieren muss!
17:11 juli XD
17:12 ThomasMonroe joined #minetest
17:13 Krock ^^
17:13 ThomasMonroe Krock it still isnt working i changed the .conf
17:14 IhrFussel joined #minetest
17:14 IhrFussel Keeton, there are weather mods...I'm using weather_pack on my server for rain, snow and lightning and it works quite well
17:15 DS-minetest ha, i used the windoof internet explorer to get a 2nd windoof
17:18 Out`Of`Control i just disable security mod
17:26 AlexYst joined #minetest
17:31 paramat joined #minetest
17:31 paramat https://forum.minetest.net/viewtopic.php?f=11&amp;t=6854 try this for a weather mod
17:32 Telesight joined #minetest
17:33 paramat as far as i know it's the best, at least it's synced with the biomes
17:35 ThomasMonroe joined #minetest
17:35 ThomasMonroe bak from lunch
17:39 Pie-jacker875 joined #minetest
17:39 proller no, best weather is here - https://youtu.be/6AOIZOHg5cs?t=96
17:43 paramat oops, of course
17:44 ThomasMonroe ugh, just got a balck licorice jelly bean
17:44 ThomasMonroe black*
17:44 XtremeHacker Yum. :)
17:44 XtremeHacker I love licorice
17:45 ThomasMonroe i like the real licorice too, just not the black
17:45 XtremeHacker My favourite.
17:45 ThomasMonroe i like the red better
17:46 * XtremeHacker Thinks of adding licorice to the subgame he is making
17:46 ThomasMonroe not a bad idea, but it depends on what mod he is makeing ;)
17:46 XtremeHacker I need some food, sounds like a neat little easter egg. :P
17:47 ThomasMonroe yeah, it does
17:48 ThomasMonroe why do ppl want to make weird flavored jelly beans...i just ate an expresso jelly bean btw
17:48 XtremeHacker 0_0
17:48 XtremeHacker I do not get why people like those trick jelly beans
17:48 XtremeHacker Waste of a good jelly bean I tell ya!
17:48 ThomasMonroe yeah it didnt taste horrible, but not my favorite, and this isnt a beanboozled pack
17:49 XtremeHacker I don't have sweets that much anyway
17:49 XtremeHacker I do love some good fruit
17:49 ThomasMonroe i did have a centipede flavored jelly bean from beanboozled once though. ;)
17:49 XtremeHacker 0_0 :vomits:
17:49 ThomasMonroe i do love good fresh fruit as well
17:50 ThomasMonroe it tasted like a cricket ;)
17:50 XtremeHacker Frozen blueberries tastes really good too
17:50 ThomasMonroe yeah i agree
17:50 XtremeHacker I've chosen to not take the risk with beanboozled. xD
17:50 ThomasMonroe hehehheh, good choice
17:50 ThomasMonroe the worst one i have had was skunk spray
17:51 ThomasMonroe but the worst one of all(at least i think it is)is barf flavored
17:52 benrob0329 joined #minetest
17:56 Keeton joined #minetest
17:59 Jacky__ joined #minetest
18:00 Pie-jacker875 joined #minetest
18:00 Keeton oh.
18:01 Pie-jacker875 joined #minetest
18:01 ThomasMonroe OldCoder what happened to the RedCrab server?
18:07 ssieb joined #minetest
18:10 Allonphone joined #minetest
18:10 emmanuel_ joined #minetest
18:11 lisac joined #minetest
18:13 Markow joined #minetest
18:15 emmanuel_ joined #minetest
18:18 Allonphone joined #minetest
18:25 * Markow has his latest Linux Kernel (uname -r:  4.11.0-rc7-git-f61143c-Pogorze-Karpackie-CUSTOM-KERNEL) rocking w/ Nvidia Driver & Latest Patch!  Purring like a kitten.  :D
18:27 benrob0329 joined #minetest
18:28 Krock Markow, left-outer side: Linux.  https://fireglow.de/755/kittens/1177179333597.jpg
18:28 asie Markow: i tu polacy?
18:29 Markow Tak
18:30 asie mhm
18:30 Markow Krock: hehe!
18:30 Markow Just thought I would take a jump-start at the 4.11 before the final is released this Sunday
18:31 Markow There won't be much of a difference between now and then, no major bug fixes or commits
18:32 Markow Working nicely
18:32 Krock !cat
18:32 MinetestBot http://i.imgur.com/XaU5D0a.jpg
18:32 Markow That's a cute one! lol
18:35 aheinecke joined #minetest
18:38 paramat joined #minetest
18:44 benrob03291 joined #minetest
18:51 The_Loko joined #minetest
18:54 Pie-jacker875 joined #minetest
18:55 XtremeHacker !nyan
18:55 XtremeHacker :(
18:55 XtremeHacker !mod ethereal
18:55 MinetestBot XtremeHacker: Ethereal NG [ethereal] by TenPlus1 - https://forum.minetest.net/viewtopic.php?t=14638
18:56 XtremeHacker :mod tac nyan
18:56 XtremeHacker !mod tac nyan
18:56 MinetestBot XtremeHacker: Could not find anything.
18:56 XtremeHacker !mod tac
18:56 MinetestBot XtremeHacker: Unlimited dungeon generator [catacomb] by paramat - https://forum.minetest.net/viewtopic.php?t=9896
18:56 XtremeHacker Hmm...
18:57 Krock XtremeHacker: http://duckduckgo.com/  -> !mtmod <query>
19:00 Out`Of`Control when we see 0.4.16?
19:00 MinetestBot [git] paramat -> minetest/minetest_game: Ores: Add tin ore, lump, ingot and block 2668619 https://git.io/v9vOS (2017-04-20T18:55:05Z)
19:00 MinetestBot [git] paly2 -> minetest/minetest_game: Doors: Ignore permission check if player parameter is omitted 6335525 https://git.io/v9vO9 (2017-04-20T18:54:27Z)
19:00 Out`Of`Control any ETA
19:00 MinetestBot [git] octacian -> minetest/minetest_game: Keys: Move skeleton key to craftitems.lua c54a7e8 https://git.io/v9vOQ (2017-04-20T18:51:51Z)
19:00 MinetestBot [git] octacian -> minetest/minetest_game: Keys: Allow skeleton keys to be stacked 701abc2 https://git.io/v9vO7 (2017-04-20T18:50:34Z)
19:03 octacian Out`Of`Control: 0.4.16 will be released on June 4th
19:03 Krock just grab a 0.4.15-dev version and you'll get the features (and bugs) earlier
19:08 Out`Of`Control thanks
19:08 Out`Of`Control Krock:  dev version eat lots of ram, but new lighting looks great
19:14 benrob03291 !mod tardis
19:14 MinetestBot benrob03291: Could not find anything.
19:15 benrob03291 Good, cloaking works then :P
19:18 AlexYst Is there a way to give a specific player the ability to see in the dark? I found a way to do it on the surface at night, but it doesn't work in caves.
19:19 benrob0329 A night vision override?
19:19 benrob0329 That could be interesting
19:22 AlexYst Yeah. I'm trying to give it to players that use a torch bonus option I'm going to set up.
19:22 AlexYst If it doesn't work out, I can choose a different bonus, but I think the ability to see in the dark would be most fitting.
19:22 benrob0329 A fake light node?
19:22 AlexYst That would affect other players though.
19:23 benrob0329 yes, but it could be considered a flashlight or something
19:23 calculon just curious, how did you do that on the surface ?
19:24 benrob0329 Idea: have a flashlight that casts light onto whatever the player is pointing at
19:24 AlexYst I'm not looking for a flashlight though, I'm looking for a bonus power that only affects one player. No substitutes will work. I can choose a different bonus if need be, but having this work on multiple players won't do.
19:24 AlexYst calculon: Hold on, I'll get the code.
19:25 AlexYst benrob0329: The option is in the inventory menu. It's not an item, so there's no pointed_thing.
19:25 benrob0329 Ah
19:25 AlexYst If there was a pointed_thing though, that would work well for the flint and steel bonus. I had to do something different with that.
19:27 benrob0329 You could still get the players pointed thing
19:27 AlexYst Hmm. Looks like I deleted that line. I was using it for testing and don't have the main code set up yet. Until I have all the bonuses worked out, I won't be coding any of them.
19:27 AlexYst benrob0329: How?
19:27 benrob0329 Its independent of items
19:27 AlexYst I'll look up how to set that surface night vision, but it'll take a bit.
19:27 benrob0329 Player:get_pointed_thing()
19:28 AlexYst benrob0329: Even when in the menu, there's a pointed_thing? Nice! I'll have to try that out.
19:28 benrob0329 Afaik
19:29 AlexYst PlayerObject:override_day_night_ratio(1)
19:29 AlexYst calculon: ^
19:29 calculon ho, i see
19:29 AlexYst Setting it to zero instead of one results in persistent player-specific darkness instead.
19:30 calculon i didn't know it could work for a single player
19:30 AlexYst It *only* works on a single player.
19:30 AlexYst There might be another setting for server-wide elsewhere though, not sure.
19:31 calculon ho, true, i've seen this but i thought it was a global function
19:32 calculon that's a strange idea to make it a player method, but it's interesting :)
19:32 paramat well you would just loop through all players and set override day night ratio for all
19:32 AlexYst Right.
19:33 paramat it has to be per-player for individual players who are in a particular realm or stacked realm, like a moon in perpetual sunlight or whatever
19:33 Alcyone2 joined #minetest
19:33 cx384 joined #minetest
19:33 calculon i see
19:33 paramat same approach for per-player gravity and skybox
19:34 paramat c55 likes to make spacy things possible
19:35 calculon cool, i like it too :)
19:35 AlexYst The gravity and other physics being separate for each player has been helpful in designing several of my bonuses.
19:36 AlexYst For example, I have four different (stackable) jump bonuses that wouldn't be possible if that was a server-wide function.
19:43 Tmanyo joined #minetest
19:44 benrob03291 joined #minetest
19:48 Keet_ joined #minetest
19:49 Keet_ Ello
19:49 AlexYst Greetings, Keet_!
19:50 proller joined #minetest
19:51 Keet_ How are yeh Alex?
19:52 DS-minetest joined #minetest
19:52 AlexYst Keet_: Aside from an inspiration block, I'm doing very well. How are you?
19:53 Keet_ I'm great! What do you mean 'inspiration block?'
19:53 ThomasMonroe something blocking inspiration
19:53 Keet_ facepalm
19:53 DS-minetest the question is what is the blocker?
19:53 Keet_ mmmm...
19:53 ThomasMonroe the lack of inspiration
19:54 Keet_ And there gos my mansion
19:54 Keet_ up in flames
19:54 Keet_ again
19:54 benrob0329 joined #minetest
19:55 AlexYst Keet_: Basically, I'm trying to come up with a bunch of player bonuses based on which nodes are placed in certain special inventory slots. I've run out of ideas, and each node needs something unique.
19:55 AlexYst Er, not node, item. Some are nodes, some are not.
19:55 Keet_ Ah I see
19:55 Keet_ I'm not a mod person really. it seems easy, but I don't have the brain power for it
19:56 AlexYst benrob0329: I just tried Player:get_pointed_thing() and it froze the game. THe debug file says that method doesn't exist, and I can't find a similar method in the API documentation.
19:56 AlexYst Normally I do, but I bit off more than I could chew with this one.
19:56 DS-minetest AlexYst: what minetest version do u use?
19:56 AlexYst It started so simple, but it kept getting more xomplex.
19:57 AlexYst DS-minetest: The latest version. 0.4.15.
19:57 ThomasMonroe AlexYst: what about lower gravity for the player?
19:58 AlexYst ThomasMonroe: Yup, I've got that one. It's caused by the steel ladder.
19:58 DS-minetest AlexYst: Player:get_pointed_thing() is only avaiable in dev version, stable is too old
19:58 ThomasMonroe K
19:58 ThomasMonroe then you probly have a speed boost
19:58 AlexYst Yup. And even speed *loss*.
19:59 AlexYst Powered and braked rail, respectively.
19:59 Keet_ Could I have some input on something?
19:59 AlexYst Though both those items need a different bonus when put in their secondary slot.
19:59 ThomasMonroe hey DS is it possible to repair a tool from lua?
19:59 AlexYst Keet_: Sure, I'd love input.
19:59 Keeton joined #minetest
19:59 Keeton Darn computer
20:00 PsychoVision joined #minetest
20:00 AlexYst ThomasMonroe: I know a hacky way to do a full repair. Get the name of the tool, then set the stack to be one of that tool.
20:00 ThomasMonroe well, i know that way
20:00 Keeton Anywho, what kind of houses do you prefer? What styles?
20:00 Wuzzy2 joined #minetest
20:00 ThomasMonroe thats the obvious way
20:00 AlexYst ThomasMonroe: I think you can use the dammage-adding method with a negative value. Maybe.
20:00 AlexYst I haven't tried it though.
20:00 benrob0329 Keeton: Tardis houses :P
20:00 DS-minetest ThomasMonroe: repairing a tool was done already very often
20:00 DS-minetest by many mods
20:00 Keeton ha
20:01 Keeton Im a modern house dude
20:01 ThomasMonroe i was thinking about having a bonus where the tool automatically gets repaired over time based on the armor the player is wearing
20:01 AlexYst Keeton: It depends. Are these added to mapgen or am I building these houses? When constructing my house, I build myself a 16 by 16 bunker deep underground. Very simple.
20:01 DS-minetest http://dev.minetest.net/ItemStack
20:02 Keeton Richard Jeffire's modern house is pretty good....
20:02 Keeton ill give him that one
20:02 ThomasMonroe what do you think about that idea AlexYst?
20:03 Keeton joined #minetest
20:05 AlexYst ThomasMonroe: I don't really like tool wear, so anything that counteracts it would be great, in my book.
20:05 AlexYst One of my other mods I'm working on has tools that don't wear. They're very expensive to make though.
20:05 ThomasMonroe ok cool
20:05 ThomasMonroe well you could make the bonus node expensive to make
20:06 AlexYst Nah. These are nodes that already exist in Minetest.
20:06 AlexYst You just get bonuses that relate to those nodes when put in certain inventory slots.
20:07 AlexYst There's a way to level up the slots too, getting you stronger bonuses in most but not all cases.
20:07 ThomasMonroe ah ok
20:08 AlexYst Four different stair nodes increase your jump, powered and braked rails alter your speed, mese lamps make it daytime for you all the time, locked chests give you extra inventory slots, et cetera.
20:08 AlexYst Only nodes made from minerals even have bonuses though.
20:09 ThomasMonroe i was thinking like it would repair 20 uses every minute if you were wearing wooden armor, and 100 uses if you were  wearing diamond armor, and had the node in the slot
20:09 AlexYst Other nodes won't even fir in the inventory slots.
20:09 ThomasMonroe hmmmm, what node would be best then for something like that?
20:09 AlexYst Ah, got it. Yeah, there's no armor, just existing Minetest nodes.
20:10 ThomasMonroe steel block? maybe, bronze?
20:11 AlexYst Armor might be good for another mod though.
20:11 AlexYst Maybe one of the bronze tools? I need a second bonus for those.
20:11 AlexYst Oh, yeah, or a bronze block.
20:11 AlexYst Again, bronze has two minerals, so it needs two bonuses.
20:11 AlexYst I want the steel block to have something to do with ownership, though I'm not sure what yet.
20:12 AlexYst Steel has always been the "ownership mineral" in my mind.
20:12 AlexYst Everything you can craft and have ownership over has steel in it. Locked doors, locked chests ...
20:13 DS-minetest because you make a strong lock out of the steel
20:14 DS-minetest with your bare hands
20:16 ThomasMonroe what about gold?
20:16 Lunatrius joined #minetest
20:16 AlexYst Ha ha, yeah.
20:16 AlexYst But the strength of another player's hands somehow isn't enough to break the lock you made with your own.
20:16 AlexYst ThomasMonroe: Gold didn't seem to be good for much at first, but now it's only made into keys. It seems to be the mineral of sharing.
20:17 ThomasMonroe coal seems to be the best bet then, but it is realy common
20:17 AlexYst I have one of the two key types set to allow access to a shared, server-wide inventory.
20:17 AlexYst Coal for what?
20:17 AlexYst Bronze probably works best for repair.
20:18 AlexYst It needs a secondary function anyway.
20:18 ThomasMonroe nvmd then bronze does seem good for repairing
20:19 AlexYst Hmm. If I add repair or even wear prevention, I might as well scrap my diamese mod. I should quit working on diamese development.
20:21 DS-minetest diamese? that sounds like diamonds' diamond and steel
20:22 AlexYst It's 405 diamonds and 324 mese crystals all jammed into one node. And you need three of it to make a pick, of course.
20:23 ThomasMonroe my borther has made a working lonsdaleite mod
20:23 ThomasMonroe brother*
20:23 AlexYst Then there's the handle. Normal sticks won't work for that. I've been debating between about three recipes for handle nodes.
20:23 ThomasMonroe lonsdaleite is the hardest mineral around, even harder than diamond
20:23 AlexYst What is lonsdaleite?
20:23 AlexYst Oh, never mind.
20:23 AlexYst I'm too slow.
20:24 benrob0329 joined #minetest
20:24 AlexYst That sounds cool then.
20:24 DS-minetest https://en.wikipedia.org/wiki/Lonsdaleite
20:24 DS-minetest hexagonal diamond
20:28 AlexYst Weird ... so it had diamond's composition with carbon's structure.
20:28 Szkodnix joined #minetest
20:29 QwertyDragon joined #minetest
20:34 benrob0329 joined #minetest
20:37 Fixer joined #minetest
20:46 Hijiri both diamond and graphite are composed of carbon
20:47 ThomasMonroe heh, the amount of lonsdaleite dust that you have to mine is tremendous
20:47 ThomasMonroe in his mod that is
20:47 ThomasMonroe it is found in just about everything except dirt
20:47 ThomasMonroe randomly ofcourse
20:47 ThomasMonroe 9 dust = 1 compressed dust
20:48 ThomasMonroe 9 compressed dust = 1 shard
20:48 ThomasMonroe 9 shards = 1 compressed shard
20:48 ThomasMonroe 9 shards = 1 crystal
20:48 AlexYst Hijiri: Right, but there's some sort of difference between the two, as carbon is converted to diamond. If done quickly, is seems it keeps carbon's structure, so the difference is more than just one of structure.
20:49 ThomasMonroe the only way lonsdaleite is formed irl is by a meteor striking the earth at just the right way
20:49 AlexYst ThomasMonroe: Ha, that looks one layer more compressed than my diamese.
20:50 ThomasMonroe which is why it is one of the rarest minerals out there
20:50 ThomasMonroe yeah
20:51 ThomasMonroe you have to find 6561 lonsdaleite dust inorder to get one crystal
20:51 paramat left #minetest
20:54 Hijiri AlexYst: by carbon do you mean graphite?
20:54 Hijiri the structure is the only difference between graphite, lonsdaleite, and diamond
20:54 Hijiri its structure is similar to but not the exact same as normal diamond
20:54 Hijiri (which is what I got from the wikipedia article)
20:55 AlexYst Hijiri: Oops, yeah, I meant graphite.
20:55 ThomasMonroe Hijiri: Carbon is a atom, graphite, diamond, graphine, lonsdaleite; are all forms of carbon
20:55 AlexYst Hijiri: So lonsdaleite doesn't have the same structure as carbon? I thought the Wikipedia article said it did.
20:56 AlexYst ThomasMonroe: I was the one that used the wrong word, not Hijiri. My bad.
20:56 ThomasMonroe carbon can also be formed in a random way, thus the material carbon
20:56 AlexYst Oops, I did it again ...
20:56 AlexYst Hijiri: So lonsdaleite doesn't have the same structure as graphite? I thought the Wikipedia article said it did.
20:56 ThomasMonroe it has  a similar structure
20:57 AlexYst Okay, got it.
20:59 cx384 How can I fix the bug which allows you to put items into an inventory even if the callback allow_put returns 0. (It is possible to put items into the inventory if you are exchanging the item which you what to put in with one that is already in the inventory.)
21:00 cx384 *want
21:00 swift110 joined #minetest
21:00 AlexYst Hold on, let me test that real quick.
21:01 AlexYst cx384: I don't seem to have that bug.
21:01 AlexYst I have some inventory slots that are very selective about what they allow in them, and I can't exchange items like you described.
21:01 cx384 I am using a detached inventory.
21:01 AlexYst cx384: As am I.
21:02 cx384 hm
21:02 AlexYst Let me look at something real fast ...
21:02 cx384 my code allow_put = function(inv, listname, index, stack, player)
21:02 cx384 if minetest.get_item_group(stack:get_name(), "wood") > 0 then
21:02 cx384 return 0
21:02 cx384 end
21:02 cx384 return stack:get_count()
21:02 cx384 end,
21:02 AlexYst cx384: Sorry! I misread your initial question!
21:03 AlexYst I have something, I'll pull up my code.
21:04 AlexYst Here's the relevant lines including a small comment about them.
21:04 AlexYst allow_move = function(inv, from_list, from_index, to_list, to_index, count, player)
21:04 AlexYst -- We should check the stack to see if it can be moved to the new slot.
21:04 AlexYst -- However, the Minetest API doesn't allow that. Our only option is to
21:04 AlexYst -- play it save by disallowing the movement of stacks within this
21:04 AlexYst -- inventory.
21:04 AlexYst return 0
21:04 AlexYst end,
21:04 sfan5 play it safe*
21:04 sfan5 btw
21:04 cx384 ok thank you AlexYst
21:04 AlexYst Oops. Thanks, sfan5!
21:05 AlexYst English isn't my native language. PHP is.
21:06 sfan5 huh?
21:06 sfan5 this kind of mistake is usually only done by native speakers
21:06 AlexYst Never mind, it was a joke.
21:06 cx384 AlexYst, the bug is not
21:06 sfan5 ¯\_(ツ)_/¯
21:07 cx384 fixed with this
21:08 AlexYst cx384: Okay, I must not understand the problem. THat function prevents items from being moved from one slot of the inventory to another, even if the two slots are in different inventory lists. What stack movement are you trying to prevent?
21:09 AlexYst Different inventory lists of the same inventory, I should say.
21:10 AlexYst That was scary. I saw motion ant thought it was another player in my offline test world.
21:10 AlexYst It was only a cart test I'd set up previously.
21:10 AlexYst Alternating powered and braked rails to see which would win out.
21:10 AlexYst Spoiler alert, the powered rails are tougher.
21:12 cx384 AlexYst, I want to prevent that you take one item out of inv 1 and click at one in inv 2 so that the item in inv 2 lands in inv 1
21:14 cx384 sorry for my bad English
21:15 AlexYst Oh! Okay, so you have a stack in inv 1, take one of the stack, leaving the rest? Then then put that one in inv 2, switching the stacks?
21:15 cx384 yes
21:15 AlexYst Because inv 2 already has an incompatible stack, I mean.
21:15 AlexYst Huh.
21:15 AlexYst I haven't tried that.
21:15 DS-minetest AlexYst: that should also work with the whole stack
21:15 cx384 :)
21:15 AlexYst My slots only allow one item each.
21:16 DS-minetest hm
21:16 AlexYst I'll see what I can figure out.
21:16 * DS-minetest looks if creative inv also still has this problem
21:17 DS-minetest nope
21:17 AlexYst cx384: It still doesn't have that bug on my end, even when I remove the stack limit.
21:17 proller joined #minetest
21:18 AlexYst If I return 0 allow_move, nothing can move.
21:18 AlexYst If I return 0 *from* allow_move, nothing can move.
21:18 DS-minetest creative has empty on_put and on_move
21:19 DS-minetest what happens if nil is returned?
21:20 AlexYst Not sure.
21:20 AlexYst Testing ....
21:20 cx384 hm
21:21 DS-minetest i think, the on_ functions are irrelevant
21:21 AlexYst DS-minetest: on_put and on_move don't need to return anything. They already return nil.
21:21 AlexYst Yeah.
21:21 AlexYst It's the allow_*() functions we need.
21:22 AlexYst allow_move() should do the trick. It *does* do the trick on my end.
21:22 AlexYst I mean, I wish it had visibility of the stack to allow for better fine-tuning, but other than that, it works.
21:23 cx384 AlexYst, I still have this problem :/
21:24 AlexYst cx384: Paste your whole script and I'll see if I can find the issue: <https://paste.debian.net/>.
21:25 AlexYst Don't put it on Pastebin, I refuse to solve their CloudFlare CAPTCHAs.
21:25 cx384 ok
21:25 cx384 w8
21:26 cx384 https://paste.debian.net/928626/
21:28 AlexYst cx384: allow_move is commented out, so it's not active.
21:29 * DS-minetest thinks, he found something: https://github.com/minetest/minetest/issues/944
21:29 cx384 AlexYst,  I know I have changed it.
21:32 Allonphone joined #minetest
21:33 AlexYst Okay, I see ... that function is more complex than I defined it. I'm not sure how what you've got works. I'll try to test it.
21:34 cx384 OK, thank you.
21:36 AlexYst Ah! So that's how you get the names of the stacks to swap. I'll have to update my code later after I finish debugging yours.
21:37 AlexYst cx384: Okay, so you code's supposed to allow a swap if the item to be swapped is a bag?
21:37 cx384 the string in line 85 should be "bag"
21:38 cx384 yes
21:38 AlexYst Should it only allow a swap if one of the slots is empty, or do you want to allow trading bags?
21:39 cx384 allow trading bags
21:40 AlexYst Is the comparison on this right? should it be "==" instead of ">"?
21:40 AlexYst if minetest.get_item_group(inv:get_stack(to_list, to_index):get_name(), "bag") > 0 then
21:41 AlexYst It's returning zero only if the item is a bag.
21:41 AlexYst if minetest.get_item_group(inv:get_stack(to_list, to_index):get_name(), "bag") > 0 then
21:41 AlexYst return 0Y
21:41 cx384 the returning is 0 if the item is no bag
21:42 AlexYst That says "greater than zero", as in the item is of the bag group.
21:42 AlexYst Try with "==" and see if that works.
21:44 cx384 It dose not work
21:45 AlexYst I must be misreading that then. My bad.
21:45 cx384 you should not be able to put items with the group bag into the inventory.
21:45 AlexYst OH! Okay, I misunderstood.
21:46 AlexYst So the problem is that bags are getting traded into the inventory that they need to be kept out of?
21:46 cx384 yes
21:46 Menche joined #minetest
21:48 AlexYst cx384: Instead of "to_list, to_index", try "from_list, from_index".
21:49 AlexYst (Sorry, my method of debugging is basically trying a bunch of things and seeing what works.)
21:50 cx384 AlexYst, no this don't work.
21:50 calculon hehe, the best method ever :)
21:50 cx384 *doesn't
21:51 fireglow meow
21:53 cx384 AlexYst, If always return 0 at allow_move I can still swap the items
21:54 AlexYst Okay, that's really strange then. When I always return zero, nothing can ever be swapped.
21:55 AlexYst I'm honestly not sure what to try then.
21:56 cx384 AlexYst, I can swap items of the bag with items in the inventory but I cant swap items which are both in the bag.
21:57 AlexYst cx384: Okay, sweet, a lead. The inventory is the player inventory and "in the bag" is a detached inventory?
21:58 cx384 yes sorry
21:58 AlexYst No worries, no worries.
21:58 AlexYst That means we're looking at the wrong function.
21:59 cx384 0_o
21:59 AlexYst Wait ... no, I think DS-minetest was right.
21:59 AlexYst There's a bug report about it.
21:59 AlexYst <https://github.com/minetest/minetest/issues/944>
22:00 AlexYst allow_put() and allow_take() would be the functions to look at, but they don't allow you to check to see if there would be a swap.
22:00 AlexYst Sorry, it turns out I can't help.
22:02 cx384 AlexYst, thanks for the try.
22:16 juli bye all
22:16 juli bye MinetestBot
22:16 juli XD
22:18 AlexYst joined #minetest
22:23 rubenwardy joined #minetest
22:25 AlexYst Drats. cx384's gone. I just had an idea for their inventory issues.
22:25 OldCoder ThomasMonroe, I just saw your message. Checking.
22:26 OldCoder ThomasMonroe, Redcrab seems O.K. There is somebody on it, apparently, placing things right now.
22:26 ThomasMonroe i was looking for other servers to help out on, an i reaslise that you guys were rebuilding the server, i was just wondering what happened to it
22:26 OldCoder Indicate problem
22:26 OldCoder ThomasMonroe, Hi...
22:26 OldCoder What problem did you see?
22:26 ThomasMonroe nothing, i was wondering what happened to the server to make to the state in whic it is now
22:27 OldCoder Are you referring to the original Redcrab? Or asking where OldCoder copy came from?
22:27 ThomasMonroe the window that popped up told me some things that indicated something had broken the origninal world
22:28 ThomasMonroe the interact being withheld for example
22:29 All|knowing joined #minetest
22:29 ThomasMonroe i am reffering to the RedCrab Museum
22:29 ThomasMonroe OldCoder ^
22:30 OldCoder ThomasMonroe, what is your question, specifically? Happy to answer
22:30 ThomasMonroe what broke the original world
22:30 OldCoder Minute
22:30 OldCoder Host abandoned it
22:30 OldCoder Eventually people could no longer connect to it
22:30 OldCoder We captured it just in time
22:30 OldCoder Done
22:30 ThomasMonroe ah ok, is there anthing i can do to help the server?
22:30 OldCoder Are you an old Redcrab player?
22:30 ThomasMonroe nope
22:30 ThomasMonroe sorry
22:31 OldCoder No need for sorry
22:31 OldCoder But as you don't know the world, can't work on repairs, right?
22:31 ThomasMonroe ok, is it possible for me to play on it still?
22:31 ThomasMonroe and yeah makes sense
22:31 OldCoder You can visit it, not build unless old player. Can build on my other worlds.
22:31 OldCoder Go join LOTT if you like
22:31 OldCoder Others are there
22:31 OldCoder Needs more life as the previous group has partly moved on
22:32 ThomasMonroe RedCrab looks really nice and well planned btw
22:32 OldCoder It is a remarkable effort
22:32 OldCoder We are glad
22:32 OldCoder that it was saved
22:32 OldCoder Effort should not be wasted
22:32 ThomasMonroe yeah, i am too, it would have been a shame for all of that work to be lost
22:32 ThomasMonroe im a mod over on MMS btw
22:33 OldCoder Fine
22:33 ThomasMonroe we recently lost a bunch of work due to a glitch when clearing all of the ppl's inventoried
22:33 OldCoder Feel free to join my worlds if any seem acceptable.
22:33 OldCoder Sorry to hear it
22:33 ThomasMonroe the server went back about four months, heh, its alright, i had only been on for two weeks
22:35 ThomasMonroe what are the names of you other worlds besides RedCrab and LOTT, OldCoder?
22:35 OldCoder ThomasMonroe, I have about a dozen... Museum worlds include Redcrab, Karsthafen, Finerealms...
22:36 OldCoder Other include Lord of the Test, Moontest, Meowtest, Wizard School, Openmine...
22:36 OldCoder Coderblox (new), Mandelbox (just to show off a mapgen), Skyblock, Skydoom...
22:36 OldCoder A few others
22:36 Pie-jacker875 joined #minetest
22:36 ThomasMonroe ok, i dont prefer any servers that have magic, but i might check out the others
22:36 OldCoder Moontest is very modern
22:36 OldCoder If that is what you need
22:36 ThomasMonroe Wait!?! MandelBox???!?!
22:36 OldCoder Sure
22:36 ThomasMonroe coooll!??!
22:36 OldCoder What about it?
22:37 OldCoder Go help me design it
22:37 OldCoder There is a palette
22:37 OldCoder of just 16 nodes
22:37 OldCoder Which nodes should they be?
22:37 OldCoder Go and I will grant
22:37 ThomasMonroe did you use Mator_'s mod?
22:37 OldCoder WorldEdit that you may review the nodes
22:37 OldCoder Yes
22:37 OldCoder I need to
22:37 ThomasMonroe K i'll be over, if i can find it
22:37 OldCoder ThomasMonroe, just go to the port
22:37 OldCoder The server is minetest.org
22:37 OldCoder The port is...
22:38 OldCoder 30028
22:38 ThomasMonroe K connecting
22:40 ThomasMonroe K im there OldCoder
22:41 OldCoder ThomasMonroe, how is it?
22:41 ThomasMonroe it doesnt look quite right(in my opinion as a buding mathmatician
22:46 OldCoder ThomasMonroe, well, let us work on it. Plus, you should talk to Mator.
22:48 Pie-jacker875 joined #minetest
22:54 ThomasMonroe OldCoder im working on the nodes, i almost have a good pallett
22:55 OldCoder ThomasMonroe, OK. I'm resting for a bit.
22:55 OldCoder Here later and tomorrow.
22:55 ThomasMonroe kk
22:55 OldCoder Have fun
22:55 ThomasMonroe will do
22:55 ThomasMonroe cya later
22:57 GreenDimond joined #minetest
22:58 GreenDimond Question: where is the 'unbreakable' group defined that maptools uses? I thought it was not a core thing...
22:58 GreenDimond I looked through all the .lua files and couldn't find anything defining it.
23:00 ThomasMonroe i think its a custom group
23:00 GreenDimond ^I thought so too but I can't find where it is defined
23:01 ThomasMonroe can you find anything on how to define a group?
23:01 GreenDimond I'm not looking for how to define it...
23:01 GreenDimond I'm looking for where it's defined...
23:06 GreenDimond I would ask Calinou but he is away.
23:06 GreenDimond Unless he got that ping.
23:08 OldCoder joined #minetest
23:09 GreenDimond Hey OldCoder, do you know stuff about the maptools mod?
23:22 OldCoder joined #minetest
23:35 ThomasMonroe joined #minetest
23:56 All|knowing joined #minetest

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