Luanti logo

IRC log for #minetest, 2016-06-17

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

All times shown according to UTC.

Enable nick filtering
Time Nick Message
00:14 rubenwardy New chapter! http://rubenwardy.com/minetest_modding_book/chapters/chat_complex.html
00:16 est31 cool
00:17 Glorfindel Yay!
00:26 stormchaser3000_ joined #minetest
00:33 whitephoenix http://i.imgur.com/PwMSfPl.png truly the best game
00:47 stormchaser3000_ joined #minetest
01:12 OldCoder Hijiri, I see things like...
01:13 OldCoder object:settexturemod("^[brighten")
01:13 OldCoder Actually that is all I see
01:13 OldCoder mod is short for modifier here
01:13 OldCoder It seems to be a feature that, unsurprisingly, modifies textures
01:13 OldCoder I see dozens of occurrences of the brighten modifier
01:14 OldCoder Ah, and this
01:14 OldCoder self.object:settexturemod("^[colorize:#c9900070")
01:14 OldCoder That one looks interesting
4 more elements. Show/hide.
01:29 Hijiri OldCoder: I saw the brighten usage in the minetest repo
01:29 Hijiri Does it apply across all frames of a sprite?
01:31 OldCoder Hijiri, your guess is as good as mine, but it needs to or pointless
01:31 OldCoder Good thing to try
01:39 Hijiri I'll try it out when I get the chance
6 more elements. Show/hide.
03:07 Hijiri where can I find the default value for the on_use callback for items?
03:08 Hijiri oh, it's just nil
03:08 Hijiri I guess the engine just does the default thing when it's nil then
3 more elements. Show/hide.
03:49 MinetestBot [git] paramat -> minetest/minetest: Dungeons: Generalise use, add capabilities, various modifications 04fb109 https://git.io/vozJI (2016-06-17T04:42:42+01:00)
03:49 MinetestBot [git] sofar -> minetest/minetest: Builtin/game/item: Add `place_param2` nodedef field 39a9e98 https://git.io/vozJL (2016-06-17T04:41:20+01:00)
6 more elements. Show/hide.
05:13 Hijiri just ran into a bug and didn't expect that it has been known for almost a year https://github.com/minetest/minetest/issues/2658
05:14 Hijiri actually, more than a year
05:30 Hijiri Could someone connect to my server to help me test something?
05:30 Hijiri Address is 2606:6000:ccc6:8500:3da3:6a66:f429:d7c3, port is 10800
05:33 Hijiri ipv4: 70.95.189.6
05:39 Hijiri nevermind
7 more elements. Show/hide.
06:33 Hijiri are there any mods/libraries for persistent timers?
06:34 Hijiri other than node timers
06:34 sofar writing minetest.after() is about as simple as that gets
06:35 sofar yes, you need to take care of re-scheduling
06:38 Hijiri I mean, are there mods or libraries that take care of re-scheduling
06:38 sofar not that I know of
06:38 Hijiri alright, thanks
06:39 sofar I mean, even if you made a `t = timer:new(interval, function, ...)` class, it would be twenty times more lines of code than the actual two `minetest.after()` lines
06:40 asl97 Hijiri: if it run in a fix interval, you can just use minetest.get_gametime to figure out when the next time it would run on restart and just use two minetest.after like sofar said.
06:41 sofar well, persistency is only loosely possible
06:41 Hijiri what about all the lines of writing to files?
06:41 Hijiri writing/reading
06:42 sofar it still sounds like a niche problem if you ask me
06:42 sofar but sure, it could be solved nicely
06:42 Hijiri and you would want to set up a queue so that you aren't doing too much checking
06:42 SanskritFritz joined #minetest
06:43 asl97 Hijiri: if you really want a simple way to read and write, you can store your data as json, minetest.write_json and minetest.parse_json
06:43 asl97 oh wait...
06:44 asl97 that isn't for dumping or loading from file
06:44 Hijiri ok
06:44 Hijiri thanks for the info though
06:45 Hijiri I would probably need multiple timers, so I would probably end up writing a libraryish thing anyway
06:45 Hijiri so I don't need (2 + persistence stuff) * n lines
06:49 aheinecke joined #minetest
06:50 asl97 maybe you can just abuse the setting funcion and store the json there,  probably would be better using io.open instead.
3 more elements. Show/hide.
07:14 hmmmm I REGRET NOTHING
07:31 jin_xi joined #minetest
07:34 Calinou [nothingd] Stopped hmmmm's job after 1m30s of idling
07:35 Calinou [regretd] Killed nothingd with signal 9
6 more elements. Show/hide.
08:23 JamesTait Good morning all!  Happy Friday, and happy Eat Your Vegetables Day! 😃
46 more elements. Show/hide.
14:43 w_laenger hello
14:47 w_laenger https://cloud.githubusercontent.com/assets/3192173/15683375/4b34d408-2762-11e6-99e8-09e0772bc9f8.png Are the textures supposed to look black if the base texture has a normalmap but the others doesn't?
14:47 w_laenger don't*
41 more elements. Show/hide.
17:56 Hijiri should unicode string literals work in lua?
18:18 Mr_Narfh anyone know what channel stormchaser3000's on?
2 more elements. Show/hide.
18:24 OldCoder Mr_Narfh wait
18:25 Mr_Narfh ok
18:25 OldCoder Mr_Narfh, I don't see him right now on any of the most common networks and channels. Of course he may be around somewhere else.
18:25 OldCoder Spell his nick exactly
18:26 OldCoder Never mind...
18:26 OldCoder It is stormchaser3000. He is not online at Freenode.
18:26 OldCoder To do this yourself, just /query stormchaser3000 and try to talk to him
18:30 Hijiri is CJK display a known issue in minetest?
18:31 Sokomine joined #minetest
18:35 asl97 Hijiri: this? > https://github.com/minetest/minetest/issues/1682
18:37 Void7 joined #minetest
18:39 Hijiri no
18:39 Hijiri it appears as blanks
18:39 Hijiri no error message
18:39 asl97 like squares?
18:39 Hijiri This: https://github.com/minetest/minetest/issues/786
18:39 Hijiri scroll to the very botom
18:39 Hijiri I also posted a forum topic: https://forum.minetest.net/viewtopic.php?f=6&t=14940&p=221433#p221433
18:52 edgrey joined #minetest
18:58 Mr_Narfh storm
18:58 Mr_Narfh stormchaser3000?
18:59 asl97 Mr_Narfh: is not here atm,  did you read OldCoder message?
19:07 OldCoder Hi
19:07 OldCoder Mr_Narfh, do this
19:07 OldCoder Mr_Narfh, /query stormchaser3000
19:07 OldCoder Remember to use the /
19:07 OldCoder Then type. If there is an error, he is not online.
19:07 OldCoder Does this help?
19:07 KaadmY or /whois
19:07 OldCoder Fair nuff
19:08 OldCoder But /query is direct and unambiguous
19:09 asl97 personally, i prefer /nickserv info
19:11 OldCoder There are many lamps
2 more elements. Show/hide.
19:26 Mr_Narfh dosent work
17 more elements. Show/hide.
21:17 Mr_Narfh CWz?
21:20 Mr_Narfh CWz? bruh?
21:21 Mr_Narfh OldCoder?
21:23 Mr_Narfh VanessaE?
5 more elements. Show/hide.
21:59 OldCoder Mr_Narfh, what?
22:00 OldCoder If it "doesn't work", he isn't online. That was the point.
22:00 Mr_Narfh nvm van took care of it
22:00 Mr_Narfh plus now I have storms email
22:00 Mr_Narfh thanks tho
4 more elements. Show/hide.
22:53 MinetestBot [git] cdqwertz -> minetest/minetest_game: Farming: Add negative fall_damage_add_percent to straw 5775c91 https://git.io/vo2ZP (2016-06-17T23:43:41+01:00)
22:53 MinetestBot [git] sofar -> minetest/minetest_game: Default: Make brick and plank nodes rotatable ba1ae07 https://git.io/vo2ZX (2016-06-17T23:41:42+01:00)
6 more elements. Show/hide.

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