Time Nick Message 00:01 sofar I don't understand why there isn't a method for registered_on_punchentities instead 00:01 sofar that would be far more generic 00:10 jordan4ibanez http://pastebin.com/raw/yRuJ73GY Are schematic decorations broken? 00:10 jordan4ibanez This doesn't work 00:34 sofar jordan4ibanez: minetest_game uses them internally, seems to work just fine 00:35 sofar jordan4ibanez: check mods/default/mapgen.lua in minetest_game - did you forget a biome for mgv7? 00:45 Hijiri Ok, it turns out non-fleshy damage groups are working, I was just confused because 3d_armor was healing the player before I could notice 00:46 jordan4ibanez sofar, are there any examples of a schematic file? 00:47 sofar jordan4ibanez: yes, of course, that's why I'm pointing you towards that 00:47 sofar e.g. https://github.com/minetest/minetest_game/blob/master/mods/default/mapgen.lua#L1330 00:47 sofar https://github.com/minetest/minetest_game/blob/master/mods/default/mapgen.lua#L1281 00:48 sofar line 1203 is prolly a good candidate for you 00:54 jordan4ibanez sofar, how do I edit the mts file? 00:54 jordan4ibanez Oh nevermind, line 1203 helped a bit 01:40 rubenwardy New WIP mod: https://github.com/rubenwardy/capturetheflag/tree/master/mods/sfinv 01:40 rubenwardy Simple Fast Inventory 01:41 rubenwardy A modular replacement for ui 01:43 sofar rubenwardy: screenshots? 01:45 rubenwardy http://pasteboard.co/1yQhd1TI.png 01:45 rubenwardy I plan on pretty-ing it up 01:48 rubenwardy the API is self contained, which is one of the things I wished UI was 01:48 rubenwardy sfinv.reg_page("a:b", {title="a",get=func(plr,ctxt),on_player_receive_fields(plr,ctxt,flds)}) 01:49 YuGiOhJCJ hello, I get the position of the player with minetest.get_player_by_name(name):getpos() and I would like to add a block at this position but the position of the block should not be exactly the one of the player because there are some constraints on block coordinates (like it must be an integer value). Is there a function to calculate the coordinate of a block from the position of the player? I tried to apply math.floor() or mat 01:49 YuGiOhJCJ h.ceil() on the position of the player but it seems to be a bit more complicated than that. 01:49 rubenwardy there may be an offset 01:49 rubenwardy try pos.y - 1 01:49 sofar math.floor doesn't work since you need math.round() which doesn't exist 01:50 rubenwardy also, vector.round I think 01:50 sofar vector.round()? didn't know that existed 01:51 rubenwardy http://rubenwardy.com/minetest_modding_book/lua_api.html#vectorroundv 01:51 rubenwardy do vector.round(pos) 01:52 sofar neat, useful 01:53 YuGiOhJCJ nice vector.round(pos) seems to give the good value on my test :) 01:53 YuGiOhJCJ thank you 02:07 jordan4ibanez Can I get the map seed? 02:07 sofar press f5 02:08 jordan4ibanez In the api I mean 02:08 sofar minetest.get_mapgen_params 02:10 LazyJ jordan4ibanez, idk if it will affect your plans or not but I have noticed that even with the exact same map seed, over time (updates) the mapgen doesn't produce the same results. 02:10 LazyJ Deserts became grass land and forest. 02:10 LazyJ Grass land and forests became snow biomes. 02:11 LazyJ Places that had ponds or dungeons - not produced. 02:11 LazyJ 02:12 LazyJ I have around 80 singleplayer worlds that I have kept for testing individual mods over the years. 02:12 LazyJ Each world uses the same seed and the same static spawn point so I noticed the changes over time. 02:12 LazyJ 02:15 jordan4ibanez Can I have a rundown of noise_params = {offset=0, scale=1, spread={x=10, y=10, z=10}, seed=seed, octaves=1, persist=1}, ? I can't seem to find any api manual for any of it in relation to decorations 02:18 sofar decorations are documented in lua_api.txt I think 02:18 sofar seed info and mapgen data is not really pertinent 02:21 jordan4ibanez Like 02:21 jordan4ibanez Like, I'm trying to figure out what all these values do, but there doesn't seem to be any change* 02:22 sofar can I see your decoration definition? 02:24 jordan4ibanez http://pastebin.com/raw/kJ0mCuh2 02:24 jordan4ibanez I'm trying to get each bush to spawn a bit far away from eachother so you have to travel a bit from bush to bush 02:25 sofar try using fill_ration instead of noise_params 02:26 sofar place_on = {"default:dirt_with_grass", "default:dirt"} 02:26 sofar there won't be sand in that biome 02:27 sofar are you using mgv7? 02:27 sofar biomes = {"deciduous_forest"}, is fine (check spelling) 02:42 sofar ugh, I have people who write error handling cases for no reason 02:42 sofar just because a parameter can be nil, doesn't mean you should test for it 02:42 sofar especially if it's an internal function that only your code will ever call 06:09 MinetestBot 02[git] 04RealBadAngel -> 03minetest/minetest: Use vertices with tangents only when its needed. 137ea40e4 https://git.io/vgSAM (152016-02-15T06:05:39Z) 07:54 sofar how do I make a boolean minetest.setting_getbool() thing that defaults to true? 07:54 sofar e.g., if the setting is missing, it's enabled? 07:54 sofar hmm I suppose a disable_foo would work 08:05 Megaf Hello folks 08:21 kahrl sofar: make a helper function that uses setting_get, if the setting is empty returns true, otherwise calls minetest.is_yes 08:23 kahrl from a usability standpoint, I always find "disable whatever" settings confusing 08:23 sofar I dislike them very much 08:28 sofar :w 09:56 CWz This made my day https://forum.minetest.net/viewtopic.php?t=14070&p=207503#p207503 i had much lol. thanks xeranas 13:13 Calinou https://lut.im/0Dj0tIZm1n/DjrakK3e8OMlWlrv.jpg 13:13 Calinou https://lut.im/bDVcfDD4Y4/RBHD3vbruyyrqkjM.jpg 13:18 nrzkt2 Calinou, what is this ? 13:21 Calinou nrzkt2, ioquake3 with some OpenArena assets + Nobiax textures + some of my own 13:22 nrzkt2 ok 13:34 Megaf Calinou, have you ever played the good old America's Army 2.5? Up to 2.8 it was quite good. 13:35 nrzkt2 crazy player: XXX digs default:stone at (0,-3882,0) 13:36 Calinou Megaf, tried once, but was boring 13:39 nrzkt2 Calinou, => http://www.quakejs.com/ 13:41 Calinou nrzkt2, this uses the old renderer, and runs slow as hell :p 13:41 nrzkt2 :p 14:56 SanskritFritz hi all. Why is there no TNT in server mode? 14:59 Calinou SanskritFritz, due to abuse 14:59 Calinou use "enable_tnt = true" to enable it in multiplayer, in the server's minetest.conf 15:00 SanskritFritz Calinou: thanks! 15:02 SanskritFritz Calinou: confirmed, this works :) thank you again. One more question: where should I have found that information? I tried the wiki, and google. 15:03 Calinou minetest.conf.example probably hints at that 15:03 Calinou if setting up a server, read the server part of that file at least :P 15:03 SanskritFritz right, thanks :) 15:05 SanskritFritz there is the info, thanks, found it 15:39 MinetestBot 02[git] 04Jeija -> 03Jeija/minetest-mod-mesecons: Fix pistons not connecting to wire and not activating when placing 13fe9c687 https://git.io/vgH36 (152016-02-15T16:36:27+01:00) 16:11 asker_ IS the v7 mapgen not finished?? 16:12 est31 asker_, no its still under development 16:12 est31 but you still can use it 16:12 est31 just note that its "unstable" 16:12 asker_ well no 16:12 asker_ it dont create trees lel 16:12 est31 meaning that if you play in the same world, the height can change 16:13 est31 asker_, which minetest version do you use 16:13 asker_ 0.4.12 16:13 est31 well, 0.4.12 is outdated :) 16:13 est31 most recent one is 0.4.13 16:13 asker_ i know... 16:13 asker_ but this is the ubuntu repo version 16:13 est31 in 0.4.12 mapgen v7 was heavily under development 16:14 est31 asker_, wait for ubuntu 16.04 you will get minetest 0.4.13 16:14 asker_ i wish minetest would be a game like xonotic 16:15 est31 ? 16:15 asker_ xonotic brings all liberys 16:15 asker_ so you dont have to install 16:15 asker_ its MUCH easyer 16:16 asker_ *easier 16:16 asker_ Try it, only donload, no install of stupid dependings 16:17 est31 asker_, you can build minetest from source 16:17 est31 very easy 16:17 asker_ no 16:17 asker_ because i have to install all sources of the libs 16:18 est31 no 16:18 est31 only the development versions 16:18 est31 do "sudo apt-get build-dep minetest" 16:18 est31 it gives you the headers for all needed libraries 16:20 asker_ should i repeat that you can download only ONE file for xonotic? ... can i help developing an NO INSTALL .zip? 16:20 est31 asker_, there are already people demanding it 16:20 est31 lemme see 16:20 est31 see https://github.com/minetest/minetest/issues/3596 16:20 asker_ i worked with ismael barros 16:22 asker_ http://www.portablelinuxgames.org/ i made many packs for him, its also working on MT i think 16:22 asker_ oh lel look 16:23 asker_ http://www.portablelinuxgames.org/game/minetest he made an pack already 16:24 asker_ we can work on his base... rename his file to filename.iso ans extract it ^^ 16:25 asker_ but i will ask the xonotic dev how they made there game 16:27 est31 ah its using appimage it seems 16:27 est31 yeah there are plans to use appimage 16:32 Calinou portable .tar.xz is also an option 16:42 asker_ app image sounds awesome, just read the page.... 16:42 asker_ and it sounds easy to build# 16:43 Calinou it's a pain to build 16:43 Calinou you need to set up an old distro (VM or bare metal) first 16:44 Calinou then you need to gather ALL libraries that are required 16:44 Calinou you better have a 2nd VM for testing the AppImage, too 16:44 Calinou (or a chroot maybe) 16:58 asker_ ???WTF i made them years ago its VERY easy 16:59 asker_ in this time i was 14 16:59 asker_ I INCLUDED THE COMPLETE XORG SERVER WITH DESKTOP ENV 17:00 asker_ into an appimage... -_- 17:01 Fixer hehe 17:01 Fixer enjoy 17:02 asker_ Again Calinou .... easy as f+ck 17:02 asker_ http://www.portablelinuxgames.org/game/minetest 17:02 asker_ brb 17:47 Hijiri I wonder how well an alchemy system similar to Space Station 13's chemistry system would work 18:52 Hijiri oh my god 18:52 Hijiri does rollback roll back rollbacks 18:52 Hijiri what the hell 19:09 DatJohnDoe Hey Guys :) 19:09 DatJohnDoe Do you know of anyone who would be willing to host a server? 19:10 DatJohnDoe Because unless you can host a server on a phone, my computer just doesn't have the processing power to host a server 19:11 gamemanj well, there's nothing theoretically stopping someone hosting a server on a phone... 19:12 Calinou DatJohnDoe, it's very unlikely someone is going to host a server just for y ou 19:12 Calinou I advise you rent a VPS, there are low-end boxes here and there for €3-5/month 19:13 Calinou (1 GB of RAM should be sufficient if you do Minetest and nothing else, or Minetest + Web server) 19:13 DatJohnDoe Well it wouldnt be mine it would be theres with mods of my choice 19:16 gamemanj Which mods would those be, anyway? There might be an existing server that fits. 19:19 thefamilygrog66 howdy folks 19:19 Fixer heh, Linus mentioned how bizarre is todays linux packaging, maybe somebody will finally find a solution for this crap, like AppImageKit but as standard 19:20 LazyJ Howdy, grog ;) 19:21 DatJohnDoe guns, a mod with many more mobs, technic, a small community, active Staff, Hardcore, survival, 3d armor, pipeworks, mesecons, a mod that adds more tools, quests? 19:21 DatJohnDoe And more mods that make it take longer, and harder to survive 19:22 DatJohnDoe 19:22 DatJohnDoe And staff that actually knows how the mods work :D 19:23 gamemanj "Hardcore"? 19:23 gamemanj Plus a mod with a lot of mobs? 19:24 DatJohnDoe Hardcore is not a mod, just a Prefered type of server 19:24 DatJohnDoe And more mobs than normal minetest has already, to make it harder 19:25 gamemanj Ah, I thought you meant hardcore as in some sort of ban-on-death. 19:25 gamemanj Which would be a very bad idea. 19:25 DatJohnDoe Yes it would be, but maybe a kick and lose all of your stuff 19:26 DatJohnDoe Start in a random place when you rejoin... Jk 19:26 DatJohnDoe I wouldnt even play my own server hehe 19:28 gamemanj Then what is the use of hosting it? 19:28 DatJohnDoe Can you host a server without actually having minetest? 19:28 thefamilygrog66 yes 19:28 thefamilygrog66 provided you've installed minetestserver 19:28 DatJohnDoe i was just kidding 19:28 gamemanj There's the minetest client and the minetest server. 19:28 thefamilygrog66 yerp 19:29 gamemanj And you still need the game data if you're hosting a game. 19:29 thefamilygrog66 I removed the bones mod from my server, replacing it with a mod I wrote that drops random items from the player's inventory where they died, sorta like minecraft (but not all of their inventory) 19:31 thefamilygrog66 bones make a server ugly pretty fast 19:32 thefamilygrog66 I also have players respawn at the static spawnpoint when they rejoin, regardless of where they were when they last logged off 19:33 gamemanj Is that to discourage disconnection? 19:34 thefamilygrog66 not really, more so that players with shitty clients spawn at the proper location (as opposed to 0,0,0) 19:35 gamemanj "with ****ty clients" - As in, there are other clients? 19:36 gamemanj (which don't seem to follow the rules, if they're spawning at 0,0,0 >.> ) 19:36 thefamilygrog66 yeah, not sure which ones, but likely illegal ones (iOS, android, maybe?) 19:36 DatJohnDoe Whats your server? 19:36 thefamilygrog66 I have a fixed spawn point, yet some players' clients will make them spawn at 0,0,0 regardless 19:37 thefamilygrog66 The Darkside 19:37 DatJohnDoe Is it challenging? 19:38 thefamilygrog66 It's a survival horror server, quite bloody and can be quite tough yes 19:38 thefamilygrog66 afk for a bit 19:38 DatJohnDoe Hmmm i might try it, afk aswel 20:01 Wuzzy I wonder how many votes Tutorial still requires to be included into Minetest. xD 20:03 sofar with the self-loading terrain I think it should be ready 20:22 swift110 hey all 20:23 swift110 I think tutorial should be included in minetest 20:23 Calinou if so, it should probably be in a separate repository 20:23 Calinou (to not bloat the main Minetest repository) 20:24 sofar packaging should take care of it, imho 20:24 sofar even minetest_game is not shipped as part of minetest 20:26 Wuzzy hmm. I wonder which GNU/Linux distributions actually do this Minetest / Minetest Game seperation 20:27 Wuzzy The official Windows download at least is a bundle (Minetest+Minetest Game) 20:28 Wuzzy Arch Linux has minetest (Minetest) and minetest-common (Minetest Game, builtin, data files) 20:28 Wuzzy oh, and minetest-server ... lol 20:28 gamemanj It makes sense if a distro has minetest-server and minetest as separate packages 20:29 gamemanj since they both use a ton of common stuff 20:29 Wuzzy i don't understand why they didn't put builtin into minetest 20:29 Wuzzy every subgame needs builtin :-/ 20:30 Wuzzy this makes minetest package useless, even if you install subgame manually 20:30 Wuzzy (wild guess, I never tested it, however) 20:30 gamemanj um, it's in the engine repo: https://github.com/minetest/minetest/tree/master/builtin 20:30 Wuzzy I am talking about minetest Arch Linux package 20:31 gamemanj well, builtin contains stuff such as register_node 20:31 gamemanj so it would be in common 20:31 gamemanj also note that minetest depends on minetest-common 20:31 Wuzzy ah, I guess now I understand the logic here 20:32 gamemanj server also needs builtin to run 20:32 Wuzzy you always need common, but you can decide to installe minetest and/or server 20:32 gamemanj exactly 20:32 Wuzzy but there is no seperation of subgame 20:32 Hijiri when is an item's on_drop called? 20:32 Hijiri When a player tries to drop a stack? 20:33 Hijiri or maybe whenever item_drop is called 20:33 Wuzzy hmmmm good question 20:33 gamemanj Wuzzy: separating out subgame is... kind of useless 20:34 gamemanj Wuzzy: Makes sense from a development perspective 20:34 gamemanj Wuzzy: But from a distro maintainer perspective that's an extra package that people are, 9 times out of 10, going to want installed 20:34 Wuzzy right, lol 20:35 gamemanj Wuzzy: And the way dependencies work, you just know someone's going to install minetest and bash the distro maintainers because minetest_game's not there 20:35 gamemanj best solution is to just bundle minetest_game, thus no problem 20:35 Wuzzy The real problem is, that Minetest Game sucks so much! xD 20:36 Wuzzy and nobody really knows what Minetest Game even “wants” to be 20:36 gamemanj minetest_game wants to be free 20:36 gamemanj there, answered your question 20:36 Wuzzy lol 20:37 Hijiri If something is discussed in the "development direction" issue in minetest_game repo, should I avoid making a separate issue for it 20:37 Wuzzy freedom to suck >_> 20:37 Wuzzy hmm, I don't know 20:37 Wuzzy I don't care either. xD 20:38 Wuzzy I think time is better spent on other subgames. Where actual development happens. *duckandrun* 20:39 Wuzzy Or is anyone missing a crucial feature in Tutorial right now? 20:52 giho_ Megaf: how you do make maps with low memory available? 21:24 Hijiri how do people profile their mods? 21:24 rubenwardy mod_profiling = true in minetest.conf 21:24 rubenwardy then /save_mod_profile 21:24 rubenwardy to output to debug.txt 21:25 rubenwardy however, that only shows which mods use more CPU timethan others 21:25 rubenwardy and doesn't tell you the time in different functions 21:25 Hijiri oh 21:25 Hijiri how do I get that then 21:25 gamemanj ...in which case, that's kind of useless, since most devs will be testing a few mods at a time 21:25 gamemanj if more than one 21:25 rubenwardy for capturetheflag I tend to test about 20 at once 21:26 Hijiri or maybe I can split all the functions I am profiling into separate mods :P 21:26 rubenwardy more of the CPU time is actually in default and builtin 21:26 swift110 hmm 21:26 gamemanj Hijiri: Presumably it's marked by which mod receives the call, so that might not work 21:26 gamemanj and I wonder how overrides interact with that... 21:27 rubenwardy Ironic how there's a testing framework called "Intern": https://theintern.github.io/intern/#what-is-intern 21:27 rubenwardy when iterns stereotypically don't write tests 21:27 Hijiri well my use case for profiling would be for determining which parts of a particular mod is expensive 21:27 Hijiri so I don't think mod_profiling=true would work for me in this case 21:29 gamemanj Maybe try messing with os.clock? 21:29 gamemanj (as opposed to os.time) 21:30 Hijiri maybe I'll try that (when I get to profiling something) 21:31 Hijiri it might be a pain adding it around every relevant function though, but maybe it is possible to make a wrapping function 21:33 Hijiri actually yeah, that would work, and there wouldn't be a performance issue when not profiling if done correctly 21:54 MinetestBot 02[git] 04Jeija -> 03Jeija/minetest-mod-mesecons: Fix vertical wires not updating power when adding to / removing from a vertical line 1380f72b2 https://git.io/vgQGN (152016-02-15T22:52:56+01:00) 22:07 MinetestBot 02[git] 04Jeija -> 03Jeija/minetest-mod-mesecons: Consistently use UNIX line endings (LF instead of CR LF) 137b84105 https://git.io/vgQn2 (152016-02-15T23:05:21+01:00) 23:17 YuGiOhJCJ hello, players on my server use lava and it seems to be dangerous... What should I do to protect my world from fire please? 23:18 giho_ disable_fire = true 23:19 YuGiOhJCJ are there other dangers for my server? (for example tnt) 23:20 giho_ Yes, disabling tnt is good idea 23:20 giho_ (just disable corresponding mod) 23:21 YuGiOhJCJ ok anything else could be dangerous? 23:22 giho_ entity spawners 23:28 sofar tnt :) 23:29 YuGiOhJCJ entity spawners is a command? 23:29 YuGiOhJCJ what privileges a required? 23:31 giho_ Entity spawners as any mods that allow players to spawn mobs and flying sausages. 23:33 YuGiOhJCJ hmm I don't think I have that hopefully 23:34 YuGiOhJCJ ok so I consider my server safe now :p