Minetest logo

IRC log for #minetest-dev, 2014-12-29

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

All times shown according to UTC.

Time Nick Message
00:35 roniz joined #minetest-dev
01:04 n4x joined #minetest-dev
01:05 exio4 joined #minetest-dev
01:05 Wayward_One joined #minetest-dev
01:14 Megaf joined #minetest-dev
02:15 n4x joined #minetest-dev
02:16 Zeno` joined #minetest-dev
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 joined #minetest-dev
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:01 diemartin joined #minetest-dev
03:04 chchjesus__ joined #minetest-dev
03:15 paramat left #minetest-dev
03:25 y joined #minetest-dev
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 exio4 joined #minetest-dev
03:26 hmmmm yes i saw it, thanks
03:40 MinerDad joined #minetest-dev
04:39 y joined #minetest-dev
04:40 exio4 joined #minetest-dev
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:13 chchjesus joined #minetest-dev
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 exio4 joined #minetest-dev
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
06:13 MinerDad joined #minetest-dev
06:21 chchjesus__ joined #minetest-dev
07:05 n4x joined #minetest-dev
07:08 sebastia joined #minetest-dev
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
07:49 leat joined #minetest-dev
07:59 pitriss` joined #minetest-dev
08:00 sol_invictus joined #minetest-dev
08:03 Wayward_One joined #minetest-dev
08:03 JZTech101 joined #minetest-dev
08:20 exio4 joined #minetest-dev
08:21 kahrl joined #minetest-dev
08:21 jin_xi joined #minetest-dev
08:28 Hunterz joined #minetest-dev
08:43 Zeno` joined #minetest-dev
08:49 Zeno` kaeza is commenting before my page refreshes heh
09:01 n4x joined #minetest-dev
09:06 kilbith joined #minetest-dev
09:24 nore joined #minetest-dev
09:27 MinerDad joined #minetest-dev
09:27 Amaz joined #minetest-dev
09:30 n4x joined #minetest-dev
09:30 exio4 joined #minetest-dev
09:53 cib0 joined #minetest-dev
10:00 Du_Draig joined #minetest-dev
10:01 ImQ009 joined #minetest-dev
10:41 proller joined #minetest-dev
10:43 exio4 joined #minetest-dev
10:45 n4x joined #minetest-dev
10:57 cib0 joined #minetest-dev
11:21 Fritigern joined #minetest-dev
11:21 cib0 joined #minetest-dev
11:25 cody2 joined #minetest-dev
11:26 FR^2 joined #minetest-dev
11:41 leat joined #minetest-dev
11:53 exio4 joined #minetest-dev
11:53 n4x joined #minetest-dev
12:17 jluc joined #minetest-dev
12:20 roniz joined #minetest-dev
12:51 ImQ009 joined #minetest-dev
13:02 chchjesus joined #minetest-dev
13:04 AnotherBrick joined #minetest-dev
13:22 swaaws joined #minetest-dev
13:26 PilzAdam joined #minetest-dev
13:30 cib0 joined #minetest-dev
13:31 kahrl_ joined #minetest-dev
13:42 Krock joined #minetest-dev
13:42 AnotherBrick joined #minetest-dev
13:43 Megaf joined #minetest-dev
13:44 Zeno` joined #minetest-dev
13:46 T4im joined #minetest-dev
13:49 Zeno` wrong button? :)
13:52 shadowzone joined #minetest-dev
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:08 n4x joined #minetest-dev
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:24 jluc joined #minetest-dev
14:32 Zeno` ok, all done
14:41 Selah joined #minetest-dev
14:42 shadowzone joined #minetest-dev
14:44 Selah joined #minetest-dev
14:47 shadowzone joined #minetest-dev
14:47 MinerDad joined #minetest-dev
14:57 twoelk joined #minetest-dev
15:03 hmmmm joined #minetest-dev
15:14 ImQ009_ joined #minetest-dev
15:14 exio4 joined #minetest-dev
15:17 leat joined #minetest-dev
15:27 ImQ009 joined #minetest-dev
15:32 Wayward_One joined #minetest-dev
15:37 ImQ009_ joined #minetest-dev
15:38 kilbith joined #minetest-dev
15:38 PilzAdam joined #minetest-dev
16:02 kilbith joined #minetest-dev
16:17 ImQ009 joined #minetest-dev
16:19 n4x joined #minetest-dev
16:29 PilzAdam joined #minetest-dev
16:42 Megaf joined #minetest-dev
16:57 PilzAdam joined #minetest-dev
17:06 fz72 joined #minetest-dev
17:06 Calinou joined #minetest-dev
17:15 kaeza joined #minetest-dev
17:19 rubenwardy joined #minetest-dev
17:23 CraigyDavi joined #minetest-dev
17:27 leat joined #minetest-dev
17:27 PilzAdam joined #minetest-dev
17:35 MinerDad joined #minetest-dev
17:41 AnotherBrick joined #minetest-dev
17:43 cib0 joined #minetest-dev
17:51 ElectronLibre joined #minetest-dev
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:09 electrodude512 joined #minetest-dev
18:11 SmugLeaf joined #minetest-dev
18:11 SmugLeaf joined #minetest-dev
18:20 exio4_ joined #minetest-dev
18:20 troller joined #minetest-dev
18:22 Krock @commit above: no comments. looks good.
18:23 FRQuadrat joined #minetest-dev
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 Weedy joined #minetest-dev
18:27 Weedy joined #minetest-dev
18:27 rubenwardy and had tested
18:27 Krock yeah, just making sure
18:30 n4x joined #minetest-dev
18:59 DuDraig joined #minetest-dev
19:08 kilbith joined #minetest-dev
19:08 leat left #minetest-dev
19:16 neoascetic joined #minetest-dev
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:25 PilzAdam joined #minetest-dev
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:33 y joined #minetest-dev
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:35 exio4_ joined #minetest-dev
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 neoascetic joined #minetest-dev
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"
19:43 cib0 joined #minetest-dev
20:00 paramat joined #minetest-dev
20:00 paramat 'Expose mapgen parameters on scripting init' looks good and is much needed
20:02 crazyR joined #minetest-dev
20:28 acerspyro joined #minetest-dev
20:28 paramat left #minetest-dev
20:37 exio4_ joined #minetest-dev
20:46 ImQ009 joined #minetest-dev
20:50 ElectronLibre joined #minetest-dev
21:05 MinerDad joined #minetest-dev
21:21 Player_2 joined #minetest-dev
21:22 PilzAdam joined #minetest-dev
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
21:35 Kargaroc joined #minetest-dev
21:46 cib_ joined #minetest-dev
21:54 kaeza joined #minetest-dev
22:13 ElectronLibre joined #minetest-dev
22:21 Clean3d joined #minetest-dev
22:30 Clean3d left #minetest-dev
22:44 VanessaE joined #minetest-dev
23:00 kaeza joined #minetest-dev
23:10 Player_2 joined #minetest-dev
23:15 crazyR joined #minetest-dev
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:18 chchjesus__ joined #minetest-dev
23:26 paramat joined #minetest-dev
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 Du_Draig joined #minetest-dev
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:39 shadowzone joined #minetest-dev
23:43 EvergreenTree joined #minetest-dev
23:45 crazyR_ joined #minetest-dev
23:45 paramat hmmmm bug report for schematics https://forum.minetest.net/viewtopic.php?f=6&amp;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
23:58 kaeza joined #minetest-dev

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