Time Nick Message 02:17 hmmmm https://github.com/minetest/minetest/commit/61dfa912f5f37f435e41b3c7d8cdb6244562e597 02:17 hmmmm paramat: when you get back, I think this is my solution to caves in v7 02:18 hmmmm OreVein doubles as a cave generator: set ore = "air" and wherein = {"default:stone", "default:stone_with_coal", ...etc...} and set mg_flags = "nocaves" 02:20 paramat cool, air veins for caves? 02:20 hmmmm yea 02:21 paramat how about non-eased for speed 02:21 hmmmm eased doesn't really affect the speed as much as you'd think 02:21 paramat ah i see 02:22 hmmmm now, back when easeCurve() used pow(), it was horrible :) 02:22 hmmmm that was my first minetest contribution heh, optimizing that made noise like 2x as fast 02:24 Zeno` I'm not sure I understand why if (!noise_generated) { ... } is inside the loop 02:24 hmmmm read the comment in OreBlob 02:25 hmmmm this way, noise is only generated if at least one node in the chunk is "wherein" 02:25 hmmmm e.g. ore could potentially be placed 02:25 Zeno` oh, I see 02:25 paramat good idea 02:26 hmmmm it speeds things up like 6x for the OreBlob case and 15x for the OreVein case 02:32 paramat wow a randomised threshold for bumpy cave walls 02:34 hmmmm yeah you'd have to set random_factor to be quite small (like maybe 0.01) for that to work 02:34 hmmmm you want the randomness to be *right* at the edge 02:35 paramat please merge ths before conflicts arise =) https://github.com/minetest/minetest/pull/2019 there are some comments and details there now 02:35 hmmmm right right 02:36 hmmmm this is the finalized version? 02:39 paramat yes if it seems reasonable to you, it's tested 02:42 paramat thanks 03:26 Zeno` hmmmm, did you see #2020? 03:26 ShadowBot https://github.com/minetest/minetest/issues/2020 -- copy & paste error in cavegen.cpp, line 125 03:26 hmmmm yes i saw it, thanks 04:56 hmmmm Zeno`, were you waiting for a reason to commit the "fix comparison always true/false warning" thing? 04:57 Zeno` I'm not sure I made a PR... too much Christmas got in the way 04:57 hmmmm you did not 04:58 Zeno` Well, I'm only waiting because there are people here visiting and I'm not really programming again until tomorrow I guess :) 04:58 hmmmm https://github.com/kwolekr/minetest/commit/3c023aa65864e0778689e82b01d5455e436302f9 04:59 hmmmm looking for feedback on this one ^ 05:00 hmmmm (yes, I fixed the extra blank line I accidentally added) 05:03 Zeno` Without testing it looks good, and the set_wear() behaviour make sense now 05:05 Zeno` does l_set_metadata set a (Lua) return value for any particular reason? 05:06 Zeno` forward compatibility? 05:07 hmmmm i have no clue 05:07 Zeno` or maybe consistency? (I'm not debating it, I was just wondering). 05:07 Zeno` Ah ok 05:07 hmmmm the return value is 1, so presumably it needs to return something 05:08 hmmmm maybe it was supposed to fail if ptr == NULL, but that's not possible since luaL_checklstring() would throw a LuaError in the case where it would return NULL 05:09 hmmmm in any case, I'm willing to remove the error disable bit if I see none of those warnings from now on 05:09 hmmmm and to prevent anything like that from happening in the future, maybe -Wextra should be added 05:10 Zeno` I get a trillion warnings with -Wextra. Would be nice to fix them all (one day) I suppose 05:11 Zeno` most of them are unused vars though (from memory) 05:12 Zeno` Anyway, I'll check what I wrote and make a PR (or you can merge without a PR); right now I'm going to have to socialise again though :( 05:12 hmmmm actually nevermind about -Wextra 05:12 hmmmm aside from -Wtype-limist and -Wsign-compare I'm not sure if it's too useful 05:12 hmmmm a lot of things there are subjective 05:14 hmmmm we'll see what the kind of warnings crop up with that 05:16 Zeno` Kind of like splint... it gives so many warnings (usually subjective or false alarms) that it's essentially useless (IMO) 05:20 hmmmm ugh 05:20 hmmmm HP fortify is that way 05:52 hmmmm crap 05:52 hmmmm i don't think it's possible to use a MapVoxelManipulator without loading map from the disk 05:58 hmmmm i think i'll preserve the interface introduced in 8334100... but completely remove the blank loading part 07:38 hmmmm what do you guys think about breaking mod compatibility for the next version which will be called either 1.0.0 or 5.0.0? 07:38 hmmmm the even version number is an excuse to make a move like this and we can have an opportunity to fix some interfaces to be more sane 08:49 Zeno` kaeza is commenting before my page refreshes heh 13:49 Zeno` wrong button? :) 13:53 Zeno` will merge https://github.com/Zeno-/minetest/commit/2c07b30c6b7de65091467213890f72bf52553326 14:02 Zeno` will merge #2013 14:02 ShadowBot https://github.com/minetest/minetest/issues/2013 -- Add util/bump_version.sh by kahrl 14:05 Zeno` Merging #2018 (Rui914 is the only person in viewable history to maintain it) 14:05 ShadowBot https://github.com/minetest/minetest/issues/2018 -- Update Japanese Translation by Rui914 14:09 Zeno` Comments on #1946? 14:09 ShadowBot https://github.com/minetest/minetest/issues/1946 -- Android gui by KodexKy 14:12 Zeno` kahrl_, are you here? If so, 1936 looks good 14:13 Zeno` I'm going to merge 1946 in about 30 minutes because KodexKy is the only one seemingly interested in Android builds at the moment and he's not made a mistake yet 14:32 Zeno` ok, all done 17:58 kilbith sfan5: #1832, the background is set statically, this is why i closed it 17:58 ShadowBot https://github.com/minetest/minetest/issues/1832 -- Main menu background images by kilbith 17:59 kilbith however the mainmenu formspec will be reworked soon 18:00 hmmmm https://github.com/kwolekr/minetest/commit/5e2753c712e8f65fa50f4889fc1422393ba21413 18:00 hmmmm comments/concerns? 18:22 Krock @commit above: no comments. looks good. 18:25 Krock but I'm not sure if the mapgen params are loaded when the server starts 18:27 rubenwardy You'd assume that hmmmm would know that 18:27 rubenwardy and had tested 18:27 Krock yeah, just making sure 19:18 neoascetic Hi all. Where is source code for minetest.net is located? 19:18 neoascetic I want to add note about homebrew into Downloads/OSX 19:19 Krock That's not on github 19:22 rubenwardy Selected people can edit minetest.net, I am one of those people. 19:22 rubenwardy What is the note? 19:24 neoascetic Something like "Install it with homebrew (http://brew.sh/): brew install homebrew/games/minetest. Append --HEAD parameter to get latest version" 19:26 neoascetic minetest.net is not static website, isn't it? I think it would be a good idea to keep it static and host on https://pages.github.com/ for free. 19:27 rubenwardy Done 19:28 rubenwardy Jekyll is good 19:28 rubenwardy GitHub allows you to use your domain for free 19:28 neoascetic Just like terasology.org 19:28 rubenwardy ie: point minetest.net to minetest.github.io 19:28 neoascetic btw, I've rewrite their static website, so I have some expirience 19:29 neoascetic :) 19:29 rubenwardy The website uses a markdown / mediawiki type thing for articles. 19:29 rubenwardy It is DokuWiki 19:31 hmmmm Krock, you can tell when the mapgen params are loaded by looking at Server::Server() 19:31 hmmmm https://github.com/kwolekr/minetest/commit/5e2753c712e8f65fa50f4889fc1422393ba21413#diff-ad60d65b34e16a3319296bb5d683acd6R300 19:32 hmmmm hmmm, however this change *does* break core.set_noiseparams() 19:32 hmmmm I'm working on changing up lots of stuff though 19:32 Krock and it's not possible to add back-compatibility? 19:32 hmmmm nope 19:32 hmmmm well 19:33 hmmmm it's not worth it when it's going to be changed in like 5 seconds 19:33 hmmmm in any case, here's my development roadmap for the next couple of commits: 19:34 hmmmm after this, I'd like to finally add an API accessible from the main menu that retrieves the supported mapgens by reading the table from emerge.cpp 19:35 Krock not bad. 19:35 neoascetic rubenwardy thx for homebrew note 19:36 Krock still, this change should be announced somewhere to inform the modders 19:36 hmmmm then i'm going to add an option in EnumString to read the "long name" of flags as a boolean field in the current table (not from a "flags" field within that table) 19:36 Krock I'm fine with it 19:36 hmmmm this way you can do things liket 19:37 hmmmm noise_params = { ... eased = true, absvalue = true} 19:37 hmmmm or schematic = { center_pos_x = true } 19:37 hmmmm etc 19:37 Krock ^ not very helpful when there's no use for "absvalue = 4" or like that 19:37 hmmmm thank you for the commentary 19:37 Krock np 19:38 hmmmm that was sarcastic 19:38 Krock <.< 19:38 hmmmm then i'm going to add the schematic registration/cache mechanism 19:39 hmmmm then i'm going to add unit tests for a whole pile of things like noise, schematics, and light 19:39 hmmmm and in doing so i'm adding a mechanism to read/write temporary files during unit tests 19:39 hmmmm also adding a directory test_data which will store static files used to compare with during unit tests 19:40 hmmmm then after all the unit tests have been completed, i'm going to change Map::updateLighting to use the quick mapgen lighting algorithm after i work out a couple of lingering bugs 19:41 hmmmm I am going to have to update unspreadLight() as well 19:41 hmmmm I think we should formalize this discussion process 19:42 hmmmm "what changes we are planning to make with the code, and roughly how we're planning to accomplish it" 20:00 paramat 'Expose mapgen parameters on scripting init' looks good and is much needed 21:26 CraigyDavi Small bug: list of online players doesn't go onto a new line if it reaches the edge of the screen on /status 23:15 hmmmm paramat: you remember that "// switch to getBlockSeed2()!" in Mapgen V7? 23:16 hmmmm I'm going to implement that soon, but changing it would mean changing tree/cave/etc. output 23:16 hmmmm do you want me to switch mapgen v5 too while i'm at it? 23:26 paramat hmmmm yes switch v5 also 23:29 paramat i assume getblockseed2 has advantages, sounds like it from that comment in v7 (which i remember) 23:29 hmmmm yes, it has a much better random distribution 23:30 hmmmm instead of some sort of seed + random gobbledygook, i'm using noise3d() 23:30 hmmmm wtf 23:31 hmmmm messages are now in the center of the screen 23:31 hmmmm and the item count seems to be to the right rather than the left 23:31 hmmmm well, I don't think it's that bad 23:45 paramat hmmmm bug report for schematics https://forum.minetest.net/viewtopic.php?f=6&t=10863 23:47 hmmmm can i ever get schematics right the first time 23:47 hmmmm heh 23:50 hmmmm i tested that and it worked for me, so this is pretty useless information without a backtrace