Minetest logo

IRC log for #minetest-dev, 2017-01-18

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

All times shown according to UTC.

Time Nick Message
00:02 Foz joined #minetest-dev
00:08 ssieb joined #minetest-dev
00:18 sapier1 left #minetest-dev
00:30 octacian_ joined #minetest-dev
00:54 turtleman joined #minetest-dev
00:55 kaeza joined #minetest-dev
01:00 Hijiri crazyR: no
01:04 crazyR that would be a pretty cool feature... the ability to change the gain mid way throught a sound play.... I suspect it wouldnt be to hard to do for someone with the right skill set neither :/
01:04 Hijiri crazyR: what's your use case?
01:06 rubenwardy latency
01:06 rubenwardy not a good idea
01:07 rubenwardy maybe the ability to set sound volume nodes to play
01:07 rubenwardy or with client side scripting
01:07 rubenwardy actually, wait - music
01:07 crazyR mainly improving the ambient mod so the sounds can blend a little nicer.. but other use cases would be for example a radio mod....   1) making track changes smoother 2) allowing the volume to be changed without having to restart the sound..
01:12 crazyR rubenwardy: latency in the way for most new feature but if its only an api feature then the mod devs and server owners can decide for them selves whether its applicable for them to use it or not in their own use case
01:12 turtleman joined #minetest-dev
01:29 proller joined #minetest-dev
01:29 ^v joined #minetest-dev
01:29 Zeno` joined #minetest-dev
01:29 Karazhan joined #minetest-dev
01:30 turtleman joined #minetest-dev
01:57 ssieb joined #minetest-dev
02:22 ssieb joined #minetest-dev
03:02 YuGiOhJCJ joined #minetest-dev
03:03 Miner_48er joined #minetest-dev
03:27 octacian joined #minetest-dev
04:20 Hunterz joined #minetest-dev
04:21 Thomas-S joined #minetest-dev
05:17 lumidify joined #minetest-dev
05:20 lhofhansl joined #minetest-dev
05:46 xunto left #minetest-dev
06:00 lhofhansl left #minetest-dev
06:03 Hunterz joined #minetest-dev
06:32 nrzkt joined #minetest-dev
06:48 nrzkt merging #4806
06:48 ShadowBot https://github.com/minetest/minetest/issues/4806 -- Add search to advanced settings by rubenwardy
06:53 Warr1024 joined #minetest-dev
06:54 red-001 joined #minetest-dev
06:58 Miner_48er joined #minetest-dev
07:22 celeron55 it's actually impressive how powerful Lua is as a UI language even with this cobbled-together system
07:24 Bukki joined #minetest-dev
07:25 lumidify joined #minetest-dev
07:28 kaeza joined #minetest-dev
07:54 red-001 #4962
07:54 ShadowBot red-001: Error: Delimiter not found in "Page is too big or the server took too much time to answer the request."
07:55 red-001 well bot is broken again
08:10 LordNevar joined #minetest-dev
08:10 LordNevar left #minetest-dev
08:16 nrzkt joined #minetest-dev
09:14 Void7 joined #minetest-dev
09:22 fwhcat joined #minetest-dev
09:49 juhdanad joined #minetest-dev
10:11 lordfingle joined #minetest-dev
10:17 juhdanad In Minetest shaders boost the brightness of nodes that emit light: http://imgur.com/Go6PQmN
10:18 juhdanad Would it be a problem if this would be the behavior without shaders, too?
10:18 juhdanad *was
10:19 nrzkt merging #5064
10:19 ShadowBot https://github.com/minetest/minetest/issues/5064 -- Add minetest.player_exists() by rubenwardy
10:20 sfan5 nrzkt: could you take another look at #5039 and approve it?
10:20 ShadowBot https://github.com/minetest/minetest/issues/5039 -- Add particle animation, glow by sfan5
10:21 nrzkt sfan5: i will try to take some time today, promise :)
10:23 ^v joined #minetest-dev
11:00 fwhcat_ joined #minetest-dev
11:01 proller joined #minetest-dev
11:06 YuGiOhJCJ joined #minetest-dev
11:07 celeron55 juhdanad: it's not really possible without shaders in our lighting model
11:08 celeron55 maybe there's a trick but someone would have to find it
11:08 juhdanad Yes, it is! I have done it already.
11:08 juhdanad I boost artificial light when I have to encode colors.
11:10 celeron55 can i see the diff?
11:11 juhdanad I will post a bunch of comparison screenshots soon. But these take a lot of time to do.
11:12 celeron55 but what does the code actually look like? i don't really get what you're doing
11:13 juhdanad Ah, you mean that diff. Yes, I'll push.
11:13 celeron55 lol
11:14 fwhcat joined #minetest-dev
11:16 juhdanad Done! https://github.com/minetest/minetest/pull/4986/commits/bbcb44dca1b3ec0825713dca79f548d41df6ea4b
11:18 juhdanad And the line I was writing about: https://github.com/minetest/minetest/pull/4986/commits/bbcb44dca1b3ec0825713dca79f548d41df6ea4b#diff-c2f90db5de8c33a259c27113939c63c5R1515
11:23 Bukki joined #minetest-dev
11:23 celeron55 oh yeah, you can do that
11:23 celeron55 it doesn't help at the highest light levels though
11:24 celeron55 (it'll just clamp to 255 which is where it already was in that case)
11:25 juhdanad I know. Just it is easier to make graphics identical with or without shaders than to boost lights only in shaders (because the shaders no longer know the light source from the blue channel9.
11:25 juhdanad *channel)
11:25 celeron55 it's better than nothing, yes
11:27 juhdanad Exposure based lighting could also be implemented, but it would require a reworked light table.
11:30 DFeniks joined #minetest-dev
11:30 Fixer joined #minetest-dev
11:37 nrzkt joined #minetest-dev
12:02 EmUtadifZe joined #minetest-dev
12:08 fwhcat joined #minetest-dev
12:51 Thomas-S joined #minetest-dev
13:17 red-001 joined #minetest-dev
13:32 STHGOM joined #minetest-dev
13:43 juhdanad joined #minetest-dev
14:31 proller joined #minetest-dev
14:59 Fixer joined #minetest-dev
15:10 STHGOM_ joined #minetest-dev
15:10 Hunterz joined #minetest-dev
15:12 STHGOM joined #minetest-dev
15:17 STHGOM_ joined #minetest-dev
15:18 fwhcat joined #minetest-dev
15:18 Warr1024_ joined #minetest-dev
15:19 STHGOM joined #minetest-dev
15:22 VanessaE joined #minetest-dev
15:22 Sokomine joined #minetest-dev
15:22 Thomas-S joined #minetest-dev
15:22 Fritigern joined #minetest-dev
15:22 sofar joined #minetest-dev
15:24 Karazhan joined #minetest-dev
15:25 dmurph joined #minetest-dev
15:26 proller joined #minetest-dev
15:31 octacian joined #minetest-dev
15:34 blaze joined #minetest-dev
15:35 Sockbat joined #minetest-dev
15:47 STHGOM joined #minetest-dev
15:47 STHGOM joined #minetest-dev
15:52 STHGOM joined #minetest-dev
15:52 STHGOM joined #minetest-dev
15:57 lumidify joined #minetest-dev
16:01 troller joined #minetest-dev
16:23 Void7 joined #minetest-dev
16:45 twoelk joined #minetest-dev
16:52 proller__ joined #minetest-dev
16:54 twoelk|2 joined #minetest-dev
16:57 Hunterz joined #minetest-dev
17:02 juhdanad joined #minetest-dev
17:18 octacian_ joined #minetest-dev
17:20 Fixer_ joined #minetest-dev
17:22 STHGOM joined #minetest-dev
17:29 lisac joined #minetest-dev
17:34 fwhcat joined #minetest-dev
17:45 Fixer joined #minetest-dev
18:01 Fixer joined #minetest-dev
18:02 nrzkt joined #minetest-dev
18:04 fwhcat joined #minetest-dev
18:19 Fixer joined #minetest-dev
18:29 Fixer_ joined #minetest-dev
18:54 red-001 #4942 can be closed
18:54 ShadowBot https://github.com/minetest/minetest/issues/4942 -- lua api way to check if a player exist
18:54 STHGOM joined #minetest-dev
18:55 juhdanad joined #minetest-dev
19:04 ssieb joined #minetest-dev
19:05 Foz joined #minetest-dev
19:14 Fixer joined #minetest-dev
19:21 sfan5 anyone wanna comment on https://github.com/minetest/minetest.github.io/pull/83 ?
19:22 xerox123 joined #minetest-dev
19:28 red-001 joined #minetest-dev
19:28 red-001 joined #minetest-dev
19:57 Calinou looks good to me
20:03 red-001 #5065
20:03 ShadowBot https://github.com/minetest/minetest/issues/5065 -- Hide mods that are part of a game by default by red-001
20:04 red-001 its a trivial tweak to the world configuration dialogue
20:08 STHGOM joined #minetest-dev
20:08 STHGOM joined #minetest-dev
20:13 crazyR joined #minetest-dev
20:56 Miner_48er joined #minetest-dev
21:06 sofar quick question: best way to force generation of a chunk?
21:08 red-001 does anyone have an option on #4790?
21:08 ShadowBot https://github.com/minetest/minetest/issues/4790 -- Let mods suppress or modify the initial message sent by server on player join.
21:09 red-001 considering that #4642 is tagged as controversial
21:09 ShadowBot https://github.com/minetest/minetest/issues/4642 -- Allow the join/leave message to be overridden by mods. by red-001
21:11 proller__ joined #minetest-dev
21:11 sfan5 the formspec api is fucking cancer
21:11 sfan5 source: just tried using it
21:12 red-001 the format or the api?
21:12 red-001 both?
21:13 sofar sfan5: heh, yeah, my thoughts are quite similar
21:13 sfan5 both
21:14 twoelk sapier never was happy with it - but nobody helped with better concepts
21:17 sfan5 how do i colorized text in formspecs?
21:17 sfan5 nvm seems minetest.colorize is for that
21:26 nrzkt sfan5, a XML formspec can be good
21:26 nrzkt irrlicht embed XML parser :)
21:26 sfan5 xml is also cancer
21:27 Calinou XML is a container, unlike JSON, sfan5
21:27 Calinou its tags can contain things, JSON can't do that...
21:27 Calinou so it's entirely different, and still relevant to date
21:27 sfan5 i know
21:28 proller__ joined #minetest-dev
21:28 nrzkt HTML is xml
21:28 nrzkt a little bit modified but quite near
21:32 celeron55 who said html is good? 8)
21:33 sofar does anyone know of a way to have minetestserver by itself generate some terrain on start automatically without a player connecting?
21:34 sfan5 have a mod call /emergeblocks
21:34 sofar I'm looking at making a simple test case that doesn't use GL and can run without display but does enough to make mods
21:35 sofar send a chatcommand with that command, then?
21:35 paramat joined #minetest-dev
21:37 sofar sfan5: how does a mod send that chatcommand to the server?
21:38 sofar sfan5: or are you saying to use `minetest.emerge_area()` ?
21:38 paramat yeah use that
21:38 sofar ok
21:38 paramat that's what the chatcommand calls afaik
21:39 nrzkt sofar, i have a working alroithm which generate the whole map when no player is connecting on my fork, i was thinking about backporting it to mt recently
21:39 sfan5 emerge_area will probably achieve the same
21:39 sfan5 for the record: https://github.com/Jeija/minetest-mod-mesecons/blob/master/mesecons_commandblock/init.lua#L151L164
21:40 nrzkt i starts from center, and every 5 second generate x+{1..10},y+{1..10},z+{1..10} since max map, and then restart from center
21:40 nrzkt it works perfect, as i have the whole map in my pg db now
21:40 sofar nrzkt: I just need to generate a *little* bit for some unit testing
21:41 sofar but, cool idea for a mod
21:41 nrzkt just launch emergethread & env & call emergeblock function
21:41 nrzkt sofar, i don't think a mod is required there as it's a pure coreside specific function which access to internals
21:42 twoelk maybe the Explore mod is usefull to generate some terrain? https://forum.minetest.net/viewtopic.php?id=2950 oh, wait, it just animates a player avatar, so a player is connected
21:45 twoelk nrzkt: how large does that db get?
21:45 nrzkt sofar, => https://gitlab.com/epixelgame/epixel/blob/master/src/contrib/environment.cpp#L72
21:45 nrzkt 13Go in SQL mode, 10Go on disk (it's comprssed using LZ4 not gzip)
21:45 fwhcat joined #minetest-dev
21:47 nrzkt oh sofar also, i have C++ nodeupdate feature, it permits to reduce massively lag due to nodeupdate, especially when you dig sand and there is 1M blocks to fall :p
21:47 sofar nrzkt: I don't think that's needed
21:47 sofar really, you can't bring down a normal server anymore with the current nodeupdate
21:48 sofar and putting it in c++ would make it likely harder to fix
21:48 nrzkt sofar, not really, it's exactly the same algorithm in C++ in fact
21:48 nrzkt C++ and Lua API are very very similar
22:04 sofar https://gist.github.com/ahkok/38e05e8f8208496fe317825ddb163c9a fwiw
22:05 nrzkt i don't like Lua :) especially when it interact with map, but yes it's a poc, now please ensure no player is connected
22:05 sofar this runs on a test machine in a lab
22:05 sofar if people are playing they will get fired
22:05 sofar :)
22:05 twoelk you should deactivate the fire mod
22:06 nrzkt no, just add a check to ensure no player is connected when you emerge
22:06 sofar no, I just don't care
22:07 twoelk but then you might get fired
22:07 sofar not caring about your job doesn't get you fired
22:07 sofar it's acting like you don't care
22:07 twoelk too true
22:07 sofar THAT, will get you fired
22:07 sofar afk espresso
22:09 Tmanyo joined #minetest-dev
22:10 twoelk I took a week to change some stuff in our CRM software in the office and asked the boss to check  -  he didn't - so maybe he should get fired for not caring :-D
22:11 twoelk after all the thing sort of runs the office
22:15 nrzkt sfan5, i added my approval for #5039
22:15 ShadowBot https://github.com/minetest/minetest/issues/5039 -- Add particle animation, glow by sfan5
22:15 sfan5 thanks
22:15 sfan5 will merge it soon
22:18 red-001 joined #minetest-dev
22:18 red-001 joined #minetest-dev
22:18 red-001 !seen rubenwardy
22:18 ShadowBot red-001: I saw rubenwardy in #minetest-dev 21 hours, 11 minutes, and 0 seconds ago saying "actually, wait - music"
22:21 sofar sfan5: +1 (dying to use it)
22:21 sfan5 pushed
22:36 proller__ joined #minetest-dev
22:37 red-001 joined #minetest-dev
22:37 red-001 joined #minetest-dev
22:47 QwertyDragon joined #minetest-dev
23:03 red-001 joined #minetest-dev
23:03 red-001 joined #minetest-dev
23:17 lisac !seen foot_on_teh_hill
23:17 ShadowBot lisac: I haven't seen foot_on_teh_hill in #minetest-dev.
23:17 lisac !seen Amaz
23:17 ShadowBot lisac: I saw Amaz in #minetest-dev 2 weeks, 1 day, 3 hours, 57 minutes, and 8 seconds ago saying "Opps, sorry"
23:21 sapier1 joined #minetest-dev
23:22 TelepathicVampir joined #minetest-dev
23:22 sapier1 #5068 actually an ancient fix + minor improvement that never got merged
23:22 ShadowBot https://github.com/minetest/minetest/issues/5068 -- Fix animation frame_speed and blend loosing precision due to incorrec… by sapier
23:24 xerox123 joined #minetest-dev
23:24 \o` joined #minetest-dev
23:25 Karazhan joined #minetest-dev
23:26 Taoki joined #minetest-dev
23:28 sapier1 left #minetest-dev

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